GOBIN=/home/jenkins/agent/workspace/pingcap/tidb/ghpr_unit_test/tidb/tools/bin GO111MODULE=on go install github.com/pingcap/failpoint/failpoint-ctl@2eaa328 go: downloading github.com/pingcap/failpoint v0.0.0-20220801062533-2eaa32854a6c go: downloading github.com/sergi/go-diff v1.1.0 bazel --output_user_root=/home/jenkins/.tidb/tmp run --config=ci --repository_cache=/share/.cache/bazel-repository-cache //:gazelle Extracting Bazel installation... Starting local Bazel server and connecting to it... INFO: Invocation ID: 48aa92fc-a67e-4aef-8938-8a2d5030c4eb INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_unit_test/tidb/.bazelrc: --host_jvm_args=-Xmx4g, --unlimit_coredumps INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'run' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_unit_test/tidb/.bazelrc: Inherited 'build' options: --announce_rc --experimental_guard_against_concurrent_changes --experimental_remote_merkle_tree_cache --java_language_version=17 --java_runtime_version=17 --tool_java_language_version=17 --tool_java_runtime_version=17 --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'run' from /data/..2024_05_06_09_19_58.1322474627/bazel: Inherited 'build' options: --remote_cache=http://ats.apps.svc/brc/tidb --remote_timeout=30s INFO: Reading rc options for 'run' from /home/jenkins/.bazelrc: Inherited 'build' options: --local_ram_resources=315385 --local_cpu_resources=70 --jobs=70 --repository_cache=/share/.cache/bazel-repository-cache INFO: Found applicable config definition build:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_unit_test/tidb/.bazelrc: --color=yes --experimental_remote_cache_compression INFO: Found applicable config definition run:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_unit_test/tidb/.bazelrc: --color=yes Loading: Loading: Loading: Loading: 0 packages loaded Analyzing: target //:gazelle (1 packages loaded, 0 targets configured) Analyzing: target //:gazelle (44 packages loaded, 413 targets configured) Analyzing: target //:gazelle (44 packages loaded, 413 targets configured) Analyzing: target //:gazelle (44 packages loaded, 413 targets configured) Analyzing: target //:gazelle (100 packages loaded, 10464 targets configured) Analyzing: target //:gazelle (100 packages loaded, 10464 targets configured) Analyzing: target //:gazelle (260 packages loaded, 11778 targets configured) INFO: Analyzed target //:gazelle (270 packages loaded, 11965 targets configured). INFO: Found 1 target... [0 / 68] [Prepa] BazelWorkspaceStatusAction stable-status.txt ... ( 1 action running) [24 / 316] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; Downloading external/io_bazel_rules_go/stdlib_/pkg/tool/linux_amd64/compile, 9.0 MiB / 17.2 MiB; 1s remote-cache ... (3 actions, 0 running) [24 / 316] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; 2s remote-cache ... (3 actions, 0 running) [211 / 316] [Prepa] GoCompilePkg build/linter/staticcheck/S1000.a [for tool] ... (64 actions, 0 running) Target //:gazelle up-to-date: bazel-bin/gazelle-runner.bash bazel-bin/gazelle INFO: Elapsed time: 25.036s, Critical Path: 4.08s INFO: 316 processes: 296 remote cache hit, 20 internal. INFO: Build completed successfully, 316 total actions INFO: Running command line: bazel-bin/gazelle bazel --output_user_root=/home/jenkins/.tidb/tmp run --config=ci --repository_cache=/share/.cache/bazel-repository-cache \ --run_under="cd /home/jenkins/agent/workspace/pingcap/tidb/ghpr_unit_test/tidb && " \ //tools/tazel:tazel INFO: Invocation ID: 1b8ebc0b-45bc-44ba-96c5-310274945453 INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_unit_test/tidb/.bazelrc: --host_jvm_args=-Xmx4g, --unlimit_coredumps INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'run' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_unit_test/tidb/.bazelrc: Inherited 'build' options: --announce_rc --experimental_guard_against_concurrent_changes --experimental_remote_merkle_tree_cache --java_language_version=17 --java_runtime_version=17 --tool_java_language_version=17 --tool_java_runtime_version=17 --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'run' from /data/..2024_05_06_09_19_58.1322474627/bazel: Inherited 'build' options: --remote_cache=http://ats.apps.svc/brc/tidb --remote_timeout=30s INFO: Reading rc options for 'run' from /home/jenkins/.bazelrc: Inherited 'build' options: --local_ram_resources=315385 --local_cpu_resources=70 --jobs=70 --repository_cache=/share/.cache/bazel-repository-cache INFO: Found applicable config definition build:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_unit_test/tidb/.bazelrc: --color=yes --experimental_remote_cache_compression INFO: Found applicable config definition run:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_unit_test/tidb/.bazelrc: --color=yes Loading: Loading: Loading: 0 packages loaded INFO: Build option --run_under has changed, discarding analysis cache. Analyzing: target //tools/tazel:tazel (1 packages loaded, 0 targets configured) Analyzing: target //tools/tazel:tazel (132 packages loaded, 12965 targets configured) INFO: Analyzed target //tools/tazel:tazel (320 packages loaded, 14292 targets configured). INFO: Found 1 target... [0 / 8] [Prepa] BazelWorkspaceStatusAction stable-status.txt ... (2 actions, 0 running) [272 / 607] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; 1s remote-cache [576 / 607] GoCompilePkg external/com_github_pingcap_kvproto/pkg/keyspacepb/keyspacepb.a; Downloading external/com_github_pingcap_kvproto/pkg/keyspacepb/keyspacepb.a; 0s remote-cache ... (2 actions, 0 running) Target //tools/tazel:tazel up-to-date: bazel-bin/tools/tazel/tazel_/tazel INFO: Elapsed time: 4.843s, Critical Path: 2.72s INFO: 339 processes: 336 remote cache hit, 3 internal. INFO: Build completed successfully, 339 total actions INFO: Running command line: /bin/bash -c 'cd /home/jenkins/agent/workspace/pingcap/tidb/ghpr_unit_test/tidb && bazel-bin/tools/tazel/tazel_/tazel ' bazel --output_user_root=/home/jenkins/.tidb/tmp --nohome_rc coverage --config=ci --repository_cache=/share/.cache/bazel-repository-cache --instrument_test_targets --instrumentation_filter=//pkg/...,//br/...,//dumpling/... --jobs=35 --build_tests_only --test_keep_going=false \ --@io_bazel_rules_go//go/config:cover_format=go_cover --define gotags=deadlock,intest \ -- //... -//cmd/... -//tests/graceshutdown/... \ -//tests/globalkilltest/... -//tests/readonlytest/... -//br/pkg/task:task_test -//tests/realtikvtest/... INFO: Invocation ID: 7848a69b-6ae4-4b77-882c-96895ebfc2b2 INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_unit_test/tidb/.bazelrc: --host_jvm_args=-Xmx4g, --unlimit_coredumps INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'coverage' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_unit_test/tidb/.bazelrc: Inherited 'build' options: --announce_rc --experimental_guard_against_concurrent_changes --experimental_remote_merkle_tree_cache --java_language_version=17 --java_runtime_version=17 --tool_java_language_version=17 --tool_java_runtime_version=17 --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'coverage' from /data/..2024_05_06_09_19_58.1322474627/bazel: Inherited 'build' options: --remote_cache=http://ats.apps.svc/brc/tidb --remote_timeout=30s INFO: Reading rc options for 'coverage' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_unit_test/tidb/.bazelrc: Inherited 'test' options: --test_output=errors --test_summary=detailed INFO: Found applicable config definition build:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_unit_test/tidb/.bazelrc: --color=yes --experimental_remote_cache_compression INFO: Found applicable config definition test:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_unit_test/tidb/.bazelrc: --color=yes --verbose_failures --test_verbose_timeout_warnings --test_env=GO_TEST_WRAP_TESTV=1 --experimental_ui_max_stdouterr_bytes=268435456 --test_timeout=150,300,900,3600 Loading: Loading: Loading: 0 packages loaded INFO: Build options --@io_bazel_rules_go//go/config:cover_format, --collect_code_coverage, --define, and 4 more have changed, discarding analysis cache. Analyzing: 411 targets (641 packages loaded, 0 targets configured) Analyzing: 411 targets (1176 packages loaded, 14297 targets configured) Analyzing: 411 targets (1365 packages loaded, 19557 targets configured) Analyzing: 411 targets (1603 packages loaded, 22496 targets configured) Analyzing: 411 targets (1727 packages loaded, 24269 targets configured) Analyzing: 411 targets (1917 packages loaded, 25541 targets configured) Analyzing: 411 targets (1917 packages loaded, 25541 targets configured) Analyzing: 411 targets (1981 packages loaded, 26811 targets configured) INFO: Analyzed 411 targets (1981 packages loaded, 26989 targets configured).  checking cached actions INFO: Found 411 test targets... [0 / 16] [Prepa] Writing file br/cmd/br/br_test/baseline_coverage.dat ... (13 actions, 0 running) [1,495 / 9,763] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; Downloading external/io_bazel_rules_go/stdlib_/pkg/linux_amd64/runtime.a, 8.9 MiB / 10.3 MiB; 0s remote-cache ... (36 actions, 2 running) [1,517 / 9,763] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; Downloading external/io_bazel_rules_go/stdlib_/pkg/tool/linux_amd64/compile, 13.4 MiB / 17.2 MiB; 1s remote-cache ... (36 actions, 2 running) [1,547 / 9,763] GoTestGenTest pkg/table/tables/tables_test_/testmain.go; 2s remote-cache, linux-sandbox ... (37 actions, 4 running) [1,587 / 9,763] GoTestGenTest pkg/table/tables/tables_test_/testmain.go; 3s remote-cache, linux-sandbox ... (37 actions, 4 running) [1,962 / 9,763] GoTestGenTest pkg/tablecodec/tablecodec_test_/testmain.go; 2s remote-cache, linux-sandbox ... (36 actions, 2 running) [2,475 / 9,763] GoCompilePkg external/com_github_fatih_structtag/structtag.a; Downloading external/com_github_fatih_structtag/structtag.a; 0s remote-cache ... (35 actions, 0 running) [3,054 / 9,773] GoLink pkg/util/zeropool/zeropool_test_/zeropool_test; Downloading pkg/util/zeropool/zeropool_test_/zeropool_test, 1023.8 KiB / 3.9 MiB; 0s remote-cache ... (34 actions, 0 running) [3,348 / 9,822] JavaToolchainCompileBootClasspath external/bazel_tools/tools/jdk/platformclasspath.jar [for tool]; Downloading external/bazel_tools/tools/jdk/platformclasspath.jar, 75.1 MiB / 96.2 MiB; 0s remote-cache ... (35 actions, 0 running) [3,563 / 9,876] 10 / 411 tests; GoCompilePkg external/com_github_aws_aws_sdk_go/service/ec2/ec2.a; Downloading external/com_github_aws_aws_sdk_go/service/ec2/ec2.a, 52.2 MiB / 69.8 MiB; 1s remote-cache ... (34 actions, 0 running) [3,840 / 9,921] 56 / 411 tests; GoCompilePkg external/org_golang_google_protobuf/internal/impl/impl.a; Downloading external/org_golang_google_protobuf/internal/impl/impl.a, 5.6 MiB / 5.8 MiB; 0s remote-cache ... (35 actions, 0 running) [4,061 / 9,987] 63 / 411 tests; GoCompilePkg pkg/parser/types/parser.recompile51.a; Downloading pkg/parser/types/parser.recompile51.a, 11.1 MiB / 11.4 MiB; 0s remote-cache ... (35 actions, 0 running) [4,275 / 9,998] 68 / 411 tests; GoLink pkg/util/extsort/extsort_test_/extsort_test; Downloading pkg/util/extsort/extsort_test_/extsort_test, 12.0 MiB / 15.1 MiB; 0s remote-cache ... (35 actions, 0 running) [4,469 / 10,007] 72 / 411 tests; GoLink pkg/parser/parser_test_/parser_test; Downloading pkg/parser/parser_test_/parser_test, 14.0 MiB / 17.5 MiB; 0s remote-cache ... (35 actions, 0 running) [4,745 / 10,109] 73 / 411 tests; GoCompilePkg external/io_etcd_go_etcd_server_v3/embed/embed.a; Downloading external/io_etcd_go_etcd_server_v3/embed/embed.a; 0s remote-cache ... (34 actions, 0 running) [5,057 / 10,109] 74 / 411 tests; GoCompilePkg external/com_github_pingcap_kvproto/pkg/tikvpb/tikvpb.a; Downloading external/com_github_pingcap_kvproto/pkg/tikvpb/tikvpb.a, 4.0 MiB / 4.5 MiB; 0s remote-cache ... (35 actions, 0 running) [5,187 / 10,113] 76 / 411 tests; GoLink pkg/util/etcd/etcd_test_/etcd_test; 1s remote-cache ... (25 actions, 0 running) [5,269 / 10,119] 79 / 411 tests; GoCompilePkg external/com_github_aws_aws_sdk_go/service/ec2/ec2.a; Downloading external/com_github_aws_aws_sdk_go/service/ec2/ec2.a, 34.0 MiB / 75.3 MiB; 1s remote-cache ... (11 actions, 0 running) [5,322 / 10,133] 81 / 411 tests; GoCompilePkg external/com_github_aws_aws_sdk_go/service/ec2/ec2.a; Downloading external/com_github_aws_aws_sdk_go/service/ec2/ec2.a, 64.1 MiB / 75.3 MiB; 2s remote-cache ... (35 actions, 0 running) [5,442 / 10,133] 81 / 411 tests; GoLink pkg/util/execdetails/execdetails_test_/execdetails_test; Downloading pkg/util/execdetails/execdetails_test_/execdetails_test, 27.0 MiB / 28.0 MiB; 1s remote-cache ... (34 actions, 0 running) [5,498 / 10,146] 82 / 411 tests; GoLink pkg/util/systimemon/systimemon_test_/systimemon_test; Downloading pkg/util/systimemon/systimemon_test_/systimemon_test, 20.0 MiB / 23.2 MiB; 1s remote-cache ... (35 actions, 0 running) [5,546 / 10,184] 85 / 411 tests; GoLink pkg/lightning/log/log_test_/log_test; Downloading pkg/lightning/log/log_test_/log_test, 27.0 MiB / 27.8 MiB; 2s remote-cache ... (35 actions, 0 running) [5,588 / 10,206] 90 / 411 tests; GoLink pkg/types/types_test_/types_test; Downloading pkg/types/types_test_/types_test, 20.0 MiB / 29.2 MiB; 2s remote-cache ... (36 actions, 2 running) [5,625 / 10,206] 98 / 411 tests; GoLink pkg/types/types_test_/types_test; Downloading pkg/types/types_test_/types_test, 29.0 MiB / 29.2 MiB; 3s remote-cache ... (36 actions, 2 running) [5,690 / 10,293] 103 / 411 tests; GoLink pkg/lightning/duplicate/duplicate_test_/duplicate_test; Downloading pkg/lightning/duplicate/duplicate_test_/duplicate_test, 27.2 MiB / 32.4 MiB; 3s remote-cache ... (36 actions, 2 running) [5,732 / 10,306] 105 / 411 tests; GoLink pkg/util/logutil/logutil_test_/logutil_test; Downloading pkg/util/logutil/logutil_test_/logutil_test, 28.0 MiB / 29.0 MiB; 3s remote-cache ... (36 actions, 4 running) [5,781 / 10,310] 106 / 411 tests; GoLink pkg/util/plancodec/plancodec_test_/plancodec_test; Downloading pkg/util/plancodec/plancodec_test_/plancodec_test, 11.0 MiB / 29.0 MiB; 1s remote-cache ... (39 actions, 8 running) [5,833 / 10,310] 111 / 411 tests; GoLink pkg/util/plancodec/plancodec_test_/plancodec_test; Downloading pkg/util/plancodec/plancodec_test_/plancodec_test, 23.0 MiB / 29.0 MiB; 2s remote-cache ... (43 actions, 16 running) [5,884 / 10,365] 112 / 411 tests; GoLink pkg/util/cpu/cpu_test_/cpu_test; Downloading pkg/util/cpu/cpu_test_/cpu_test, 31.0 MiB / 33.7 MiB; 3s remote-cache ... (44 actions, 19 running) [5,941 / 10,380] 114 / 411 tests; GoCompilePkg pkg/util/util_test.internal.recompileinternal.a; 0s remote-cache, linux-sandbox ... (43 actions, 16 running) [5,963 / 10,380] 117 / 411 tests; GoCompilePkg pkg/util/util_test.internal.recompileinternal.a; 2s remote-cache, linux-sandbox ... (50 actions running) [5,963 / 10,380] 117 / 411 tests; GoCompilePkg pkg/util/util_test.internal.recompileinternal.a; 3s remote-cache, linux-sandbox ... (50 actions running) [6,022 / 10,415] 117 / 411 tests; GoCompilePkg pkg/structure/variable.recompile1085.a; 0s remote-cache, linux-sandbox ... (70 actions running) [6,058 / 10,415] 118 / 411 tests; GoCompilePkg pkg/structure/variable.recompile1085.a; 1s remote-cache, linux-sandbox ... (69 actions, 68 running) [6,099 / 10,415] 118 / 411 tests; GoCompilePkg pkg/sessionctx/sessionstates/variable.recompile1108.a; 1s remote-cache, linux-sandbox ... (69 actions running) [6,129 / 10,415] 118 / 411 tests; GoLink br/pkg/rtree/rtree_test_/rtree_test; 1s remote-cache, linux-sandbox ... (69 actions, 68 running) [6,157 / 10,429] 119 / 411 tests; GoLink br/pkg/rtree/rtree_test_/rtree_test; 3s remote-cache, linux-sandbox ... (69 actions, 68 running) [6,202 / 10,473] 119 / 411 tests; GoCompilePkg pkg/metrics/expression.recompile578.a; 2s remote-cache, linux-sandbox ... (69 actions, 68 running) [6,214 / 10,473] 123 / 411 tests; GoCompilePkg pkg/metrics/expression.recompile578.a; 3s remote-cache, linux-sandbox ... (70 actions running) [6,248 / 10,512] 123 / 411 tests; GoCompilePkg pkg/metrics/expression.recompile578.a; 4s remote-cache, linux-sandbox ... (69 actions, 68 running) [6,255 / 10,512] 123 / 411 tests; GoCompilePkg pkg/metrics/expression.recompile578.a; 5s remote-cache, linux-sandbox ... (69 actions, 68 running) [6,288 / 10,521] 126 / 411 tests; GoCompilePkg pkg/metrics/expression.recompile578.a; 6s remote-cache, linux-sandbox ... (69 actions, 68 running) [6,294 / 10,521] 126 / 411 tests; GoCompilePkg pkg/metrics/expression.recompile578.a; 8s remote-cache, linux-sandbox ... (69 actions, 68 running) [6,296 / 10,521] 126 / 411 tests; GoCompilePkg pkg/metrics/expression.recompile578.a; 9s remote-cache, linux-sandbox ... (70 actions running) [6,297 / 10,521] 127 / 411 tests; GoCompilePkg pkg/metrics/expression.recompile578.a; 10s remote-cache, linux-sandbox ... (70 actions running) [6,328 / 10,535] 128 / 411 tests; GoCompilePkg pkg/metrics/expression.recompile578.a; 11s remote-cache, linux-sandbox ... (69 actions, 68 running) [6,353 / 10,541] 128 / 411 tests; GoCompilePkg pkg/metrics/expression.recompile578.a; 12s remote-cache, linux-sandbox ... (69 actions, 68 running) [6,357 / 10,541] 128 / 411 tests; Testing //pkg/tidb-binlog/pump_client:pump_client_test; 11s remote-cache, linux-sandbox ... (69 actions, 68 running) [6,384 / 10,547] 128 / 411 tests; Testing //pkg/tidb-binlog/pump_client:pump_client_test; 13s remote-cache, linux-sandbox ... (69 actions, 68 running) [6,397 / 10,547] 128 / 411 tests; Testing //pkg/tidb-binlog/pump_client:pump_client_test; 14s remote-cache, linux-sandbox ... (69 actions, 68 running) [6,417 / 10,549] 128 / 411 tests; Testing //pkg/tidb-binlog/pump_client:pump_client_test; 15s remote-cache, linux-sandbox ... (69 actions, 68 running) [6,440 / 10,549] 129 / 411 tests; Testing //pkg/tidb-binlog/pump_client:pump_client_test; 16s remote-cache, linux-sandbox ... (70 actions running) [6,470 / 10,553] 130 / 411 tests; GoCompilePkg pkg/sessionctx/sessionstates/expression.recompile1158.a; 15s remote-cache, linux-sandbox ... (68 actions, 66 running) [6,488 / 10,553] 130 / 411 tests; Testing //br/pkg/rtree:rtree_test (shard 2 of 4); 16s remote-cache, linux-sandbox ... (69 actions, 68 running) [6,507 / 10,553] 130 / 411 tests; Testing //br/pkg/rtree:rtree_test (shard 2 of 4); 17s remote-cache, linux-sandbox ... (69 actions running) [6,527 / 10,576] 131 / 411 tests; Testing //br/pkg/rtree:rtree_test (shard 2 of 4); 18s remote-cache, linux-sandbox ... (70 actions running) [6,528 / 10,576] 131 / 411 tests; Testing //br/pkg/rtree:rtree_test (shard 2 of 4); 19s remote-cache, linux-sandbox ... (70 actions running) [6,534 / 10,578] 132 / 411 tests; Testing //br/pkg/rtree:rtree_test (shard 2 of 4); 20s remote-cache, linux-sandbox ... (70 actions running) [6,556 / 10,580] 134 / 411 tests; GoCompilePkg pkg/sessionctx/variable/expression.recompile1100.a; 14s remote-cache, linux-sandbox ... (67 actions, 66 running) [6,584 / 10,580] 136 / 411 tests; GoCompilePkg pkg/sessionctx/variable/expression.recompile1100.a; 16s remote-cache, linux-sandbox ... (69 actions, 68 running) [6,614 / 10,582] 136 / 411 tests; GoCompilePkg pkg/ddl/placement/expression.recompile554.a; 14s remote-cache, linux-sandbox ... (69 actions, 68 running) [6,634 / 10,582] 137 / 411 tests; GoCompilePkg pkg/ddl/placement/expression.recompile554.a; 15s remote-cache, linux-sandbox ... (70 actions running) [6,635 / 10,582] 137 / 411 tests; GoCompilePkg pkg/ddl/placement/expression.recompile554.a; 17s remote-cache, linux-sandbox ... (69 actions, 68 running) [6,646 / 10,582] 137 / 411 tests; GoCompilePkg pkg/ddl/placement/expression.recompile554.a; 18s remote-cache, linux-sandbox ... (67 actions, 66 running) [6,676 / 10,584] 139 / 411 tests; GoCompilePkg pkg/ddl/placement/expression.recompile554.a; 19s remote-cache, linux-sandbox ... (67 actions, 66 running) [6,715 / 10,584] 141 / 411 tests; GoCompilePkg pkg/ddl/placement/expression.recompile554.a; 20s remote-cache, linux-sandbox ... (69 actions, 68 running) [6,738 / 10,584] 142 / 411 tests; GoCompilePkg pkg/ddl/placement/expression.recompile554.a; 21s remote-cache, linux-sandbox ... (69 actions, 68 running) [6,759 / 10,584] 142 / 411 tests; GoCompilePkg pkg/ddl/placement/expression.recompile554.a; 22s remote-cache, linux-sandbox ... (68 actions, 67 running) [6,767 / 10,584] 142 / 411 tests; GoCompilePkg pkg/ddl/placement/expression.recompile554.a; 23s remote-cache, linux-sandbox ... (70 actions running) [6,768 / 10,584] 142 / 411 tests; GoCompilePkg pkg/ddl/placement/expression.recompile554.a; 24s remote-cache, linux-sandbox ... (70 actions running) [6,769 / 10,584] 142 / 411 tests; GoCompilePkg pkg/ddl/placement/expression.recompile554.a; 25s remote-cache, linux-sandbox ... (69 actions, 68 running) [6,800 / 10,586] 143 / 411 tests; GoCompilePkg pkg/ddl/placement/expression.recompile554.a; 26s remote-cache, linux-sandbox ... (69 actions, 68 running) [6,829 / 10,586] 146 / 411 tests; GoCompilePkg pkg/ddl/placement/expression.recompile554.a; 28s remote-cache, linux-sandbox ... (69 actions, 68 running) [6,849 / 10,586] 146 / 411 tests; GoCompilePkg pkg/ddl/placement/expression.recompile554.a; 29s remote-cache, linux-sandbox ... (69 actions, 68 running) [6,875 / 10,596] 146 / 411 tests; GoCompilePkg pkg/expression/expression.a; 15s remote-cache, linux-sandbox ... (69 actions running) [6,882 / 10,596] 146 / 411 tests; GoCompilePkg pkg/expression/expression.a; 16s remote-cache, linux-sandbox ... (69 actions, 68 running) [6,915 / 10,598] 147 / 411 tests; GoCompilePkg pkg/expression/expression.a; 17s remote-cache, linux-sandbox ... (69 actions, 68 running) [6,940 / 10,649] 147 / 411 tests; GoCompilePkg pkg/expression/expression.a; 18s remote-cache, linux-sandbox ... (69 actions, 68 running) [6,963 / 10,649] 147 / 411 tests; GoCompilePkg pkg/expression/expression.a; 19s remote-cache, linux-sandbox ... (67 actions, 66 running) [6,992 / 10,682] 148 / 411 tests; GoCompilePkg pkg/expression/expression.a; 20s remote-cache, linux-sandbox ... (69 actions, 68 running) [7,027 / 10,691] 148 / 411 tests; GoCompilePkg pkg/expression/expression.a; 21s remote-cache, linux-sandbox ... (69 actions running) [7,050 / 10,696] 149 / 411 tests; GoCompilePkg pkg/expression/expression.a; 22s remote-cache, linux-sandbox ... (69 actions, 68 running) [7,050 / 10,696] 149 / 411 tests; GoCompilePkg pkg/expression/expression.a; 23s remote-cache, linux-sandbox ... (70 actions running) [7,084 / 10,727] 149 / 411 tests; GoCompilePkg pkg/expression/expression.a; 24s remote-cache, linux-sandbox ... (70 actions running) [7,102 / 10,727] 150 / 411 tests; GoCompilePkg pkg/expression/expression.a; 26s remote-cache, linux-sandbox ... (70 actions running) [7,131 / 10,727] 150 / 411 tests; GoCompilePkg pkg/expression/expression.a; 27s remote-cache, linux-sandbox ... (69 actions, 68 running) [7,150 / 10,727] 150 / 411 tests; GoCompilePkg pkg/expression/expression.a; 28s remote-cache, linux-sandbox ... (69 actions, 68 running) [7,170 / 10,727] 150 / 411 tests; GoCompilePkg pkg/expression/expression_test.internal.recompileinternal.a; 11s remote-cache, linux-sandbox ... (69 actions, 68 running) [7,185 / 10,727] 151 / 411 tests; GoCompilePkg pkg/expression/expression_test.internal.recompileinternal.a; 12s remote-cache, linux-sandbox ... (68 actions, 67 running) [7,197 / 10,757] 152 / 411 tests; GoCompilePkg pkg/expression/expression_test.internal.recompileinternal.a; 13s remote-cache, linux-sandbox ... (70 actions running) [7,231 / 10,772] 152 / 411 tests; GoCompilePkg pkg/expression/expression_test.internal.recompileinternal.a; 14s remote-cache, linux-sandbox ... (69 actions, 68 running) [7,258 / 10,800] 152 / 411 tests; GoCompilePkg pkg/expression/expression_test.internal.recompileinternal.a; 16s remote-cache, linux-sandbox ... (70 actions running) [7,285 / 10,800] 153 / 411 tests; GoCompilePkg pkg/expression/expression_test.internal.recompileinternal.a; 17s remote-cache, linux-sandbox ... (67 actions, 64 running) [7,310 / 10,810] 153 / 411 tests; GoCompilePkg pkg/expression/expression_test.internal.recompileinternal.a; 18s remote-cache, linux-sandbox ... (69 actions running) [7,341 / 10,810] 155 / 411 tests; GoCompilePkg pkg/expression/expression_test.internal.recompileinternal.a; 20s remote-cache, linux-sandbox ... (67 actions, 66 running) [7,344 / 10,810] 155 / 411 tests; GoCompilePkg pkg/expression/expression_test.internal.recompileinternal.a; 21s remote-cache, linux-sandbox ... (69 actions, 68 running) [7,377 / 10,810] 155 / 411 tests; GoCompilePkg pkg/expression/expression_test.internal.recompileinternal.a; 22s remote-cache, linux-sandbox ... (70 actions running) [7,382 / 10,810] 155 / 411 tests; GoCompilePkg pkg/expression/expression_test.internal.recompileinternal.a; 23s remote-cache, linux-sandbox ... (69 actions, 68 running) [7,418 / 10,836] 155 / 411 tests; GoCompilePkg pkg/expression/expression_test.internal.recompileinternal.a; 24s remote-cache, linux-sandbox ... (69 actions, 68 running) [7,437 / 10,836] 155 / 411 tests; GoCompilePkg pkg/expression/expression_test.internal.recompileinternal.a; 26s remote-cache, linux-sandbox ... (69 actions, 68 running) [7,455 / 10,836] 156 / 411 tests; GoCompilePkg pkg/expression/expression_test.internal.recompileinternal.a; 27s remote-cache, linux-sandbox ... (69 actions, 68 running) [7,488 / 10,864] 156 / 411 tests; GoCompilePkg pkg/expression/expression_test.internal.recompileinternal.a; 28s remote-cache, linux-sandbox ... (69 actions, 68 running) [7,496 / 10,864] 156 / 411 tests; GoCompilePkg pkg/expression/expression_test.internal.recompileinternal.a; 29s remote-cache, linux-sandbox ... (70 actions running) [7,515 / 10,864] 156 / 411 tests; GoCompilePkg pkg/expression/expression_test.internal.recompileinternal.a; 30s remote-cache, linux-sandbox ... (69 actions, 68 running) [7,519 / 10,864] 156 / 411 tests; GoCompilePkg pkg/expression/expression_test.internal.recompileinternal.a; 31s remote-cache, linux-sandbox ... (69 actions, 68 running) [7,528 / 10,864] 156 / 411 tests; GoCompilePkg pkg/expression/expression_test.internal.recompileinternal.a; 32s remote-cache, linux-sandbox ... (69 actions, 68 running) [7,538 / 10,879] 156 / 411 tests; GoCompilePkg pkg/expression/expression_test.internal.recompileinternal.a; 34s remote-cache, linux-sandbox ... (69 actions, 68 running) [7,551 / 10,879] 156 / 411 tests; GoCompilePkg pkg/expression/expression_test.internal.recompileinternal.a; 35s remote-cache, linux-sandbox ... (70 actions running) [7,552 / 10,879] 156 / 411 tests; GoCompilePkg pkg/expression/expression_test.internal.recompileinternal.a; 36s remote-cache, linux-sandbox ... (70 actions running) [7,563 / 10,881] 156 / 411 tests; GoCompilePkg pkg/expression/expression_test.internal.recompileinternal.a; 38s remote-cache, linux-sandbox ... (69 actions, 68 running) [7,592 / 10,883] 156 / 411 tests; GoCompilePkg pkg/expression/expression_test.internal.recompileinternal.a; 39s remote-cache, linux-sandbox ... (69 actions, 68 running) [7,610 / 10,883] 158 / 411 tests; GoCompilePkg pkg/expression/expression_test.internal.recompileinternal.a; 40s remote-cache, linux-sandbox ... (69 actions, 68 running) [7,623 / 10,883] 159 / 411 tests; GoCompilePkg pkg/expression/expression_test.internal.recompileinternal.a; 41s remote-cache, linux-sandbox ... (69 actions, 68 running) [7,640 / 10,883] 159 / 411 tests; GoCompilePkg pkg/expression/expression_test.internal.recompileinternal.a; 42s remote-cache, linux-sandbox ... (70 actions running) [7,652 / 10,887] 159 / 411 tests; GoCompilePkg pkg/expression/expression_test.internal.recompileinternal.a; 43s remote-cache, linux-sandbox ... (69 actions, 68 running) [7,681 / 10,893] 159 / 411 tests; GoCompilePkg pkg/expression/expression_test.internal.recompileinternal.a; 44s remote-cache, linux-sandbox ... (69 actions, 68 running) [7,697 / 10,893] 159 / 411 tests; GoCompilePkg pkg/expression/expression_test.internal.recompileinternal.a; 45s remote-cache, linux-sandbox ... (69 actions running) [7,715 / 10,893] 161 / 411 tests; GoCompilePkg pkg/expression/expression_test.internal.recompileinternal.a; 46s remote-cache, linux-sandbox ... (69 actions, 68 running) [7,729 / 10,893] 161 / 411 tests; GoCompilePkg pkg/expression/expression_test.internal.recompileinternal.a; 47s remote-cache, linux-sandbox ... (69 actions, 68 running) [7,742 / 10,897] 161 / 411 tests; GoCompilePkg pkg/expression/expression_test.internal.recompileinternal.a; 49s remote-cache, linux-sandbox ... (70 actions running) [7,742 / 10,897] 162 / 411 tests; GoCompilePkg pkg/expression/expression_test.internal.recompileinternal.a; 50s remote-cache, linux-sandbox ... (70 actions running) [7,775 / 10,899] 162 / 411 tests; GoCompilePkg pkg/expression/expression_test.internal.recompileinternal.a; 51s remote-cache, linux-sandbox ... (69 actions, 68 running) [7,791 / 10,899] 162 / 411 tests; GoCompilePkg pkg/expression/expression_test.internal.recompileinternal.a; 52s remote-cache, linux-sandbox ... (69 actions, 68 running) [7,807 / 10,901] 164 / 411 tests; GoCompilePkg pkg/expression/expression_test.internal.recompileinternal.a; 53s remote-cache, linux-sandbox ... (69 actions running) [7,818 / 10,901] 164 / 411 tests; GoCompilePkg pkg/expression/expression_test.internal.recompileinternal.a; 54s remote-cache, linux-sandbox ... (68 actions, 67 running) [7,825 / 10,901] 165 / 411 tests; GoCompilePkg pkg/expression/expression_test.internal.recompileinternal.a; 56s remote-cache, linux-sandbox ... (70 actions running) [7,851 / 10,905] 166 / 411 tests; GoCompilePkg pkg/expression/expression_test.internal.recompileinternal.a; 57s remote-cache, linux-sandbox ... (70 actions running) [7,852 / 10,905] 166 / 411 tests; GoCompilePkg pkg/expression/expression_test.internal.recompileinternal.a; 58s remote-cache, linux-sandbox ... (69 actions, 68 running) [7,884 / 10,911] 167 / 411 tests; Testing //pkg/store/copr:copr_test (shard 6 of 29); 35s remote-cache, linux-sandbox ... (69 actions, 68 running) [7,912 / 10,911] 167 / 411 tests; Testing //pkg/store/copr:copr_test (shard 6 of 29); 36s remote-cache, linux-sandbox ... (69 actions, 68 running) [7,917 / 10,911] 167 / 411 tests; Testing //pkg/store/copr:copr_test (shard 6 of 29); 38s remote-cache, linux-sandbox ... (70 actions running) [7,929 / 10,911] 168 / 411 tests; Testing //pkg/store/copr:copr_test (shard 6 of 29); 40s remote-cache, linux-sandbox ... (67 actions, 66 running) [7,944 / 10,916] 169 / 411 tests; Testing //pkg/store/copr:copr_test (shard 6 of 29); 41s remote-cache, linux-sandbox ... (70 actions running) [7,976 / 10,933] 169 / 411 tests; Testing //pkg/store/copr:copr_test (shard 6 of 29); 42s remote-cache, linux-sandbox ... (70 actions running) [7,992 / 10,933] 170 / 411 tests; Testing //pkg/store/copr:copr_test (shard 6 of 29); 43s remote-cache, linux-sandbox ... (69 actions, 68 running) [8,007 / 10,933] 170 / 411 tests; Testing //pkg/store/copr:copr_test (shard 6 of 29); 44s remote-cache, linux-sandbox ... (69 actions, 68 running) [8,027 / 10,933] 170 / 411 tests; Testing //pkg/store/copr:copr_test (shard 6 of 29); 45s remote-cache, linux-sandbox ... (69 actions, 68 running) [8,045 / 10,968] 170 / 411 tests; Testing //pkg/store/copr:copr_test (shard 6 of 29); 46s remote-cache, linux-sandbox ... (69 actions, 68 running) [8,074 / 10,970] 172 / 411 tests; Testing //br/pkg/streamhelper:streamhelper_test (shard 4 of 27); 28s remote-cache, linux-sandbox ... (69 actions, 68 running) [8,094 / 10,970] 172 / 411 tests; Testing //br/pkg/streamhelper:streamhelper_test (shard 4 of 27); 29s remote-cache, linux-sandbox ... (69 actions, 68 running) [8,110 / 10,970] 172 / 411 tests; Testing //br/pkg/streamhelper:streamhelper_test (shard 4 of 27); 30s remote-cache, linux-sandbox ... (69 actions running) [8,139 / 10,970] 173 / 411 tests; Testing //br/pkg/streamhelper:streamhelper_test (shard 4 of 27); 31s remote-cache, linux-sandbox ... (69 actions, 68 running) [8,145 / 10,970] 173 / 411 tests; Testing //br/pkg/streamhelper:streamhelper_test (shard 4 of 27); 32s remote-cache, linux-sandbox ... (70 actions running) [8,146 / 10,970] 173 / 411 tests; Testing //br/pkg/streamhelper:streamhelper_test (shard 4 of 27); 34s remote-cache, linux-sandbox ... (69 actions, 68 running) [8,166 / 10,970] 174 / 411 tests; Testing //br/pkg/streamhelper:streamhelper_test (shard 4 of 27); 35s remote-cache, linux-sandbox ... (69 actions, 68 running) [8,179 / 10,985] 174 / 411 tests; Testing //br/pkg/streamhelper:streamhelper_test (shard 17 of 27); 15s remote-cache, linux-sandbox ... (70 actions running) [8,209 / 10,985] 176 / 411 tests; Testing //br/pkg/streamhelper:streamhelper_test (shard 17 of 27); 16s remote-cache, linux-sandbox ... (69 actions, 68 running) [8,243 / 10,985] 177 / 411 tests; Testing //br/pkg/streamhelper:streamhelper_test (shard 17 of 27); 18s remote-cache, linux-sandbox ... (69 actions, 68 running) [8,259 / 10,985] 177 / 411 tests; Testing //br/pkg/streamhelper:streamhelper_test (shard 17 of 27); 19s remote-cache, linux-sandbox ... (67 actions, 65 running) [8,288 / 10,985] 178 / 411 tests; Testing //br/pkg/streamhelper:streamhelper_test (shard 17 of 27); 20s remote-cache, linux-sandbox ... (69 actions, 68 running) [8,313 / 10,996] 178 / 411 tests; Testing //br/pkg/streamhelper:streamhelper_test (shard 17 of 27); 21s remote-cache, linux-sandbox ... (69 actions, 68 running) [8,334 / 10,996] 178 / 411 tests; Testing //br/pkg/streamhelper:streamhelper_test (shard 17 of 27); 22s remote-cache, linux-sandbox ... (69 actions, 68 running) [8,357 / 10,996] 178 / 411 tests; Testing //br/pkg/streamhelper:streamhelper_test (shard 17 of 27); 23s remote-cache, linux-sandbox ... (69 actions, 68 running) [8,379 / 10,996] 178 / 411 tests; Testing //br/pkg/streamhelper:streamhelper_test (shard 17 of 27); 24s remote-cache, linux-sandbox ... (69 actions, 68 running) [8,382 / 11,001] 178 / 411 tests; Testing //br/pkg/streamhelper:streamhelper_test (shard 17 of 27); 25s remote-cache, linux-sandbox ... (70 actions running) [8,407 / 11,018] 178 / 411 tests; Testing //br/pkg/streamhelper:streamhelper_test (shard 17 of 27); 26s remote-cache, linux-sandbox ... (70 actions running) [8,407 / 11,018] 179 / 411 tests; Testing //br/pkg/streamhelper:streamhelper_test (shard 17 of 27); 27s remote-cache, linux-sandbox ... (70 actions running) [8,428 / 11,020] 179 / 411 tests; Testing //br/pkg/streamhelper:streamhelper_test (shard 17 of 27); 28s remote-cache, linux-sandbox ... (69 actions, 68 running) [8,451 / 11,020] 180 / 411 tests; Testing //br/pkg/streamhelper:streamhelper_test (shard 17 of 27); 30s remote-cache, linux-sandbox ... (70 actions running) [8,474 / 11,020] 180 / 411 tests; Testing //br/pkg/streamhelper:streamhelper_test (shard 17 of 27); 31s remote-cache, linux-sandbox ... (70 actions running) [8,501 / 11,020] 180 / 411 tests; Testing //br/pkg/streamhelper:streamhelper_test (shard 17 of 27); 32s remote-cache, linux-sandbox ... (68 actions running) [8,515 / 11,020] 180 / 411 tests; Testing //br/pkg/streamhelper:streamhelper_test (shard 17 of 27); 33s remote-cache, linux-sandbox ... (69 actions, 68 running) [8,533 / 11,020] 180 / 411 tests; Testing //br/pkg/streamhelper:streamhelper_test (shard 17 of 27); 34s remote-cache, linux-sandbox ... (69 actions, 68 running) [8,553 / 11,020] 182 / 411 tests; Testing //br/pkg/streamhelper:streamhelper_test (shard 17 of 27); 35s remote-cache, linux-sandbox ... (69 actions, 68 running) [8,578 / 11,020] 182 / 411 tests; Testing //br/pkg/streamhelper:streamhelper_test (shard 17 of 27); 36s remote-cache, linux-sandbox ... (69 actions running) [8,589 / 11,020] 182 / 411 tests; Testing //br/pkg/streamhelper:streamhelper_test (shard 17 of 27); 37s remote-cache, linux-sandbox ... (69 actions, 68 running) [8,616 / 11,031] 182 / 411 tests; Testing //br/pkg/streamhelper:streamhelper_test (shard 17 of 27); 38s remote-cache, linux-sandbox ... (68 actions, 66 running) [8,642 / 11,031] 182 / 411 tests; Testing //br/pkg/streamhelper:streamhelper_test (shard 17 of 27); 39s remote-cache, linux-sandbox ... (69 actions, 68 running) [8,665 / 11,131] 182 / 411 tests; Testing //br/pkg/streamhelper:streamhelper_test (shard 17 of 27); 40s remote-cache, linux-sandbox ... (69 actions, 68 running) [8,676 / 11,131] 182 / 411 tests; Testing //br/pkg/streamhelper:streamhelper_test (shard 17 of 27); 42s remote-cache, linux-sandbox ... (70 actions running) [8,706 / 11,141] 184 / 411 tests; Testing //br/pkg/streamhelper:streamhelper_test (shard 17 of 27); 43s remote-cache, linux-sandbox ... (70 actions running) [8,728 / 11,145] 184 / 411 tests; Testing //br/pkg/streamhelper:streamhelper_test (shard 17 of 27); 44s remote-cache, linux-sandbox ... (69 actions, 68 running) [8,753 / 11,145] 185 / 411 tests; Testing //br/pkg/streamhelper:streamhelper_test (shard 17 of 27); 45s remote-cache, linux-sandbox ... (69 actions, 68 running) [8,771 / 11,145] 185 / 411 tests; Testing //br/pkg/streamhelper:streamhelper_test (shard 17 of 27); 46s remote-cache, linux-sandbox ... (69 actions running) [8,774 / 11,169] 185 / 411 tests; Testing //br/pkg/streamhelper:streamhelper_test (shard 17 of 27); 47s remote-cache, linux-sandbox ... (69 actions, 68 running) [8,780 / 11,169] 186 / 411 tests; Testing //br/pkg/streamhelper:streamhelper_test (shard 17 of 27); 49s remote-cache, linux-sandbox ... (70 actions running) [8,795 / 11,169] 187 / 411 tests; Testing //br/pkg/streamhelper:streamhelper_test (shard 17 of 27); 50s remote-cache, linux-sandbox ... (69 actions, 68 running) [8,817 / 11,196] 187 / 411 tests; Testing //br/pkg/streamhelper:streamhelper_test (shard 17 of 27); 52s remote-cache, linux-sandbox ... (70 actions running) [8,826 / 11,247] 189 / 411 tests; GoCompilePkg pkg/structure/executor.recompile1254.a; 12s remote-cache, linux-sandbox ... (70 actions running) [8,863 / 11,260] 191 / 411 tests; Testing //pkg/statistics/handle:handle_test (shard 4 of 4); 4s remote-cache, linux-sandbox ... (70 actions running) [8,881 / 11,260] 191 / 411 tests; Testing //pkg/statistics/handle/lockstats:lockstats_test (shard 1 of 13); 2s remote-cache, linux-sandbox ... (69 actions, 68 running) [8,910 / 11,260] 191 / 411 tests; GoCompilePkg pkg/sessionctx/binloginfo/ddl.recompile1220.a; 3s remote-cache, linux-sandbox ... (69 actions, 68 running) [8,920 / 11,260] 191 / 411 tests; GoCompilePkg pkg/sessionctx/binloginfo/ddl.recompile1220.a; 4s remote-cache, linux-sandbox ... (69 actions, 68 running) [8,942 / 11,265] 192 / 411 tests; GoCompilePkg pkg/sessionctx/binloginfo/ddl.recompile1220.a; 5s remote-cache, linux-sandbox ... (70 actions running) [8,972 / 11,265] 193 / 411 tests; GoCompilePkg pkg/planner/util/core.recompile1117.a; 5s remote-cache, linux-sandbox ... (70 actions running) [8,974 / 11,265] 193 / 411 tests; GoCompilePkg pkg/planner/util/core.recompile1117.a; 6s remote-cache, linux-sandbox ... (70 actions running) [8,988 / 11,267] 193 / 411 tests; GoCompilePkg pkg/planner/util/core.recompile1117.a; 7s remote-cache, linux-sandbox ... (70 actions running) [9,012 / 11,318] 193 / 411 tests; GoCompilePkg pkg/planner/util/core.recompile1117.a; 8s remote-cache, linux-sandbox ... (69 actions, 68 running) [9,015 / 11,318] 193 / 411 tests; GoCompilePkg pkg/planner/util/core.recompile1117.a; 9s remote-cache, linux-sandbox ... (69 actions, 68 running) [9,020 / 11,318] 193 / 411 tests; GoCompilePkg pkg/planner/util/core.recompile1117.a; 11s remote-cache, linux-sandbox ... (70 actions running) [9,026 / 11,318] 194 / 411 tests; GoCompilePkg pkg/planner/util/core.recompile1117.a; 12s remote-cache, linux-sandbox ... (68 actions, 66 running) [9,051 / 11,369] 194 / 411 tests; Testing //dumpling/export:export_test (shard 12 of 50); 8s remote-cache, linux-sandbox ... (69 actions, 68 running) [9,062 / 11,369] 195 / 411 tests; Testing //dumpling/export:export_test (shard 12 of 50); 9s remote-cache, linux-sandbox ... (69 actions, 68 running) [9,085 / 11,375] 196 / 411 tests; GoCompilePkg pkg/store/mockstore/mockcopr/core.recompile1245.a; 8s remote-cache, linux-sandbox ... (69 actions, 68 running) [9,097 / 11,375] 196 / 411 tests; GoCompilePkg pkg/store/mockstore/mockcopr/core.recompile1245.a; 9s remote-cache, linux-sandbox ... (68 actions, 67 running) [9,111 / 11,375] 197 / 411 tests; GoCompilePkg pkg/store/mockstore/mockcopr/core.recompile1245.a; 10s remote-cache, linux-sandbox ... (69 actions, 68 running) [9,123 / 11,375] 197 / 411 tests; GoCompilePkg pkg/lightning/backend/kv/ddl.recompile1109.a; 11s remote-cache, linux-sandbox ... (69 actions, 68 running) [9,141 / 11,394] 198 / 411 tests; GoCompilePkg pkg/lightning/backend/kv/ddl.recompile1109.a; 12s remote-cache, linux-sandbox ... (69 actions, 68 running) [9,151 / 11,394] 198 / 411 tests; GoLink pkg/structure/structure_test_/structure_test; 10s remote-cache, linux-sandbox ... (67 actions, 65 running) [9,170 / 11,394] 198 / 411 tests; GoLink pkg/structure/structure_test_/structure_test; 11s remote-cache, linux-sandbox ... (69 actions, 68 running) [9,185 / 11,417] 199 / 411 tests; GoCompilePkg pkg/statistics/core.recompile1246.a; 9s remote-cache, linux-sandbox ... (69 actions, 68 running) [9,203 / 11,417] 199 / 411 tests; GoCompilePkg pkg/statistics/core.recompile1246.a; 10s remote-cache, linux-sandbox ... (69 actions, 68 running) [9,218 / 11,417] 200 / 411 tests; GoCompilePkg pkg/statistics/core.recompile1246.a; 11s remote-cache, linux-sandbox ... (69 actions running) [9,241 / 11,417] 200 / 411 tests; GoLink pkg/extension/extension_test_/extension_test; 11s remote-cache, linux-sandbox ... (69 actions, 68 running) [9,247 / 11,417] 200 / 411 tests; GoLink pkg/extension/extension_test_/extension_test; 12s remote-cache, linux-sandbox ... (70 actions running) [9,266 / 11,433] 200 / 411 tests; GoLink pkg/sessionctx/sessionstates/sessionstates_test_/sessionstates_test; 10s remote-cache, linux-sandbox ... (69 actions, 68 running) [9,271 / 11,433] 200 / 411 tests; GoLink pkg/sessionctx/sessionstates/sessionstates_test_/sessionstates_test; 11s remote-cache, linux-sandbox ... (69 actions, 68 running) [9,286 / 11,451] 200 / 411 tests; GoCompilePkg pkg/disttask/framework/storage/ddl.recompile1222.a; 12s remote-cache, linux-sandbox ... (69 actions, 68 running) [9,312 / 11,451] 200 / 411 tests; GoCompilePkg pkg/infoschema/core.recompile1265.a; 8s remote-cache, linux-sandbox ... (69 actions, 68 running) [9,323 / 11,451] 200 / 411 tests; GoCompilePkg pkg/infoschema/core.recompile1265.a; 9s remote-cache, linux-sandbox ... (69 actions, 68 running) [9,341 / 11,451] 201 / 411 tests; GoCompilePkg pkg/infoschema/core.recompile1265.a; 10s remote-cache, linux-sandbox ... (69 actions, 68 running) [9,342 / 11,451] 201 / 411 tests; GoCompilePkg pkg/infoschema/core.recompile1265.a; 11s remote-cache, linux-sandbox ... (69 actions, 68 running) [9,355 / 11,451] 201 / 411 tests; GoCompilePkg pkg/infoschema/core.recompile1265.a; 12s remote-cache, linux-sandbox ... (69 actions, 68 running) [9,369 / 11,451] 201 / 411 tests; GoCompilePkg pkg/ddl/ingest/ddl.recompile1221.a; 13s remote-cache, linux-sandbox ... (70 actions running) [9,378 / 11,451] 202 / 411 tests; Testing //pkg/sessionctx/sessionstates:sessionstates_test (shard 17 of 17); 8s remote-cache, linux-sandbox ... (69 actions, 68 running) [9,401 / 11,451] 202 / 411 tests; Testing //pkg/sessionctx/sessionstates:sessionstates_test (shard 17 of 17); 9s remote-cache, linux-sandbox ... (69 actions, 68 running) [9,414 / 11,451] 202 / 411 tests; Testing //pkg/sessionctx/sessionstates:sessionstates_test (shard 17 of 17); 10s remote-cache, linux-sandbox ... (69 actions, 68 running) [9,431 / 11,451] 202 / 411 tests; Testing //pkg/sessionctx/sessionstates:sessionstates_test (shard 17 of 17); 11s remote-cache, linux-sandbox ... (69 actions, 68 running) [9,444 / 11,451] 202 / 411 tests; Testing //pkg/sessionctx/sessionstates:sessionstates_test (shard 17 of 17); 12s remote-cache, linux-sandbox ... (69 actions, 68 running) [9,452 / 11,451] 202 / 411 tests; Testing //pkg/sessionctx/sessionstates:sessionstates_test (shard 17 of 17); 13s remote-cache, linux-sandbox ... (69 actions running) [9,465 / 11,451] 202 / 411 tests; Testing //pkg/sessionctx/sessionstates:sessionstates_test (shard 17 of 17); 14s remote-cache, linux-sandbox ... (69 actions, 68 running) [9,487 / 11,451] 202 / 411 tests; Testing //pkg/sessionctx/sessionstates:sessionstates_test (shard 17 of 17); 15s remote-cache, linux-sandbox ... (69 actions, 68 running) [9,492 / 11,451] 202 / 411 tests; Testing //pkg/sessionctx/sessionstates:sessionstates_test (shard 17 of 17); 16s remote-cache, linux-sandbox ... (69 actions, 68 running) [9,513 / 11,451] 203 / 411 tests; Testing //pkg/sessionctx/sessionstates:sessionstates_test (shard 17 of 17); 17s remote-cache, linux-sandbox ... (69 actions, 68 running) [9,526 / 11,451] 203 / 411 tests; GoCompilePkg pkg/lightning/backend/kv/core.recompile1114.a; 18s remote-cache, linux-sandbox ... (70 actions running) [9,542 / 11,451] 204 / 411 tests; GoCompilePkg pkg/lightning/backend/kv/core.recompile1114.a; 19s remote-cache, linux-sandbox ... (69 actions, 68 running) [9,553 / 11,451] 204 / 411 tests; GoCompilePkg pkg/lightning/backend/kv/core.recompile1114.a; 20s remote-cache, linux-sandbox ... (69 actions, 68 running) [9,572 / 11,451] 205 / 411 tests; GoCompilePkg pkg/lightning/backend/kv/core.recompile1114.a; 21s remote-cache, linux-sandbox ... (67 actions, 66 running) [9,585 / 11,451] 207 / 411 tests; GoCompilePkg pkg/lightning/backend/kv/core.recompile1114.a; 22s remote-cache, linux-sandbox ... (69 actions, 68 running) [9,593 / 11,451] 207 / 411 tests; GoCompilePkg pkg/lightning/backend/kv/core.recompile1114.a; 23s remote-cache, linux-sandbox ... (69 actions, 68 running) [9,598 / 11,451] 207 / 411 tests; GoCompilePkg pkg/lightning/backend/kv/core.recompile1114.a; 24s remote-cache, linux-sandbox ... (69 actions, 68 running) [9,604 / 11,451] 207 / 411 tests; GoCompilePkg pkg/expression/ddl.recompile1223.a; 9s remote-cache, linux-sandbox ... (69 actions, 68 running) [9,623 / 11,451] 207 / 411 tests; GoCompilePkg pkg/expression/ddl.recompile1223.a; 10s remote-cache, linux-sandbox ... (69 actions, 68 running) [9,635 / 11,451] 207 / 411 tests; GoCompilePkg pkg/expression/ddl.recompile1223.a; 11s remote-cache, linux-sandbox ... (70 actions running) [9,639 / 11,451] 207 / 411 tests; GoCompilePkg pkg/expression/ddl.recompile1223.a; 12s remote-cache, linux-sandbox ... (70 actions running) [9,648 / 11,451] 207 / 411 tests; GoCompilePkg pkg/expression/ddl.recompile1223.a; 13s remote-cache, linux-sandbox ... (69 actions, 68 running) [9,656 / 11,451] 207 / 411 tests; GoCompilePkg pkg/disttask/framework/storage/core.recompile1245.a; 12s remote-cache, linux-sandbox ... (69 actions, 68 running) [9,665 / 11,451] 207 / 411 tests; GoCompilePkg pkg/disttask/framework/storage/core.recompile1245.a; 13s remote-cache, linux-sandbox ... (69 actions, 68 running) [9,681 / 11,451] 208 / 411 tests; GoCompilePkg pkg/disttask/framework/storage/core.recompile1245.a; 15s remote-cache, linux-sandbox ... (69 actions, 68 running) [9,696 / 11,512] 209 / 411 tests; GoCompilePkg pkg/disttask/framework/storage/core.recompile1245.a; 16s remote-cache, linux-sandbox ... (70 actions running) [9,714 / 11,514] 209 / 411 tests; GoCompilePkg pkg/disttask/framework/storage/core.recompile1245.a; 17s remote-cache, linux-sandbox ... (69 actions, 68 running) [9,721 / 11,534] 209 / 411 tests; GoCompilePkg pkg/disttask/framework/storage/core.recompile1245.a; 18s remote-cache, linux-sandbox ... (69 actions, 68 running) [9,736 / 11,534] 209 / 411 tests; GoCompilePkg pkg/disttask/framework/storage/core.recompile1245.a; 19s remote-cache, linux-sandbox ... (69 actions, 68 running) [9,737 / 11,534] 209 / 411 tests; GoCompilePkg pkg/disttask/framework/storage/core.recompile1245.a; 20s remote-cache, linux-sandbox ... (69 actions running) [9,759 / 11,534] 209 / 411 tests; GoCompilePkg pkg/disttask/framework/storage/core.recompile1245.a; 21s remote-cache, linux-sandbox ... (69 actions, 68 running) [9,772 / 11,534] 211 / 411 tests; GoCompilePkg pkg/disttask/framework/storage/core.recompile1245.a; 23s remote-cache, linux-sandbox ... (69 actions, 68 running) [9,781 / 11,534] 211 / 411 tests; GoCompilePkg pkg/disttask/framework/storage/core.recompile1245.a; 24s remote-cache, linux-sandbox ... (70 actions running) [9,782 / 11,534] 211 / 411 tests; GoCompilePkg pkg/disttask/framework/storage/core.recompile1245.a; 25s remote-cache, linux-sandbox ... (69 actions, 68 running) [9,804 / 11,534] 211 / 411 tests; GoCompilePkg pkg/ddl/ingest/core.recompile1246.a; 21s remote-cache, linux-sandbox ... (67 actions, 66 running) [9,817 / 11,584] 211 / 411 tests; GoCompilePkg pkg/ddl/ingest/core.recompile1246.a; 23s remote-cache, linux-sandbox ... (69 actions running) [9,835 / 11,584] 211 / 411 tests; GoCompilePkg pkg/ttl/ttlworker/core.recompile1243.a; 21s remote-cache, linux-sandbox ... (69 actions, 68 running) [9,841 / 11,584] 211 / 411 tests; GoCompilePkg pkg/ttl/ttlworker/core.recompile1243.a; 22s remote-cache, linux-sandbox ... (69 actions, 68 running) [9,843 / 11,584] 211 / 411 tests; GoCompilePkg pkg/ttl/ttlworker/core.recompile1243.a; 23s remote-cache, linux-sandbox ... (69 actions, 68 running) [9,861 / 11,584] 211 / 411 tests; GoCompilePkg pkg/ttl/ttlworker/core.recompile1243.a; 24s remote-cache, linux-sandbox ... (69 actions, 68 running) [9,864 / 11,584] 211 / 411 tests; Testing //pkg/sessionctx/sessionstates:sessionstates_test (shard 14 of 17); 22s remote-cache, linux-sandbox ... (70 actions running) [9,879 / 11,605] 212 / 411 tests; Testing //pkg/sessionctx/sessionstates:sessionstates_test (shard 14 of 17); 23s remote-cache, linux-sandbox ... (69 actions, 68 running) [9,891 / 11,605] 212 / 411 tests; Testing //pkg/sessionctx/sessionstates:sessionstates_test (shard 14 of 17); 24s remote-cache, linux-sandbox ... (69 actions running) [9,897 / 11,605] 212 / 411 tests; Testing //pkg/sessionctx/sessionstates:sessionstates_test (shard 14 of 17); 25s remote-cache, linux-sandbox ... (69 actions running) [9,903 / 11,605] 212 / 411 tests; Testing //pkg/sessionctx/sessionstates:sessionstates_test (shard 14 of 17); 26s remote-cache, linux-sandbox ... (69 actions, 68 running) [9,918 / 11,640] 212 / 411 tests; Testing //pkg/sessionctx/sessionstates:sessionstates_test (shard 14 of 17); 27s remote-cache, linux-sandbox ... (69 actions, 68 running) [9,926 / 11,640] 213 / 411 tests; GoCompilePkg pkg/expression/core.recompile1246.a; 14s remote-cache, linux-sandbox ... (68 actions, 66 running) [9,931 / 11,640] 213 / 411 tests; GoCompilePkg pkg/expression/core.recompile1246.a; 15s remote-cache, linux-sandbox ... (70 actions running) [9,947 / 11,640] 214 / 411 tests; GoCompilePkg pkg/expression/core.recompile1246.a; 17s remote-cache, linux-sandbox ... (70 actions running) [9,963 / 11,640] 214 / 411 tests; GoCompilePkg pkg/expression/core.recompile1246.a; 18s remote-cache, linux-sandbox ... (69 actions, 68 running) [9,972 / 11,640] 214 / 411 tests; GoCompilePkg pkg/expression/core.recompile1246.a; 19s remote-cache, linux-sandbox ... (69 actions, 68 running) [9,986 / 11,640] 215 / 411 tests; GoCompilePkg pkg/expression/core.recompile1246.a; 20s remote-cache, linux-sandbox ... (69 actions running) [9,992 / 11,640] 215 / 411 tests; GoCompilePkg pkg/expression/core.recompile1246.a; 21s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,005 / 11,640] 215 / 411 tests; Testing //pkg/lightning/backend/local:local_test (shard 4 of 50); 14s remote-cache, linux-sandbox ... (70 actions running) [10,006 / 11,640] 215 / 411 tests; Testing //pkg/lightning/backend/local:local_test (shard 4 of 50); 15s remote-cache, linux-sandbox ... (70 actions running) [10,009 / 11,640] 215 / 411 tests; Testing //pkg/lightning/backend/local:local_test (shard 4 of 50); 16s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,032 / 11,642] 216 / 411 tests; Testing //pkg/lightning/backend/local:local_test (shard 4 of 50); 17s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,034 / 11,642] 216 / 411 tests; Testing //pkg/lightning/backend/local:local_test (shard 4 of 50); 19s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,045 / 11,642] 216 / 411 tests; GoCompilePkg pkg/bindinfo/core.recompile1271.a; 18s remote-cache, linux-sandbox ... (68 actions, 66 running) [10,045 / 11,642] 217 / 411 tests; GoCompilePkg pkg/bindinfo/core.recompile1271.a; 20s remote-cache, linux-sandbox ... (70 actions running) [10,060 / 11,642] 218 / 411 tests; GoCompilePkg pkg/bindinfo/core.recompile1271.a; 21s remote-cache, linux-sandbox ... (70 actions running) [10,076 / 11,642] 218 / 411 tests; GoCompilePkg pkg/disttask/framework/storage/executor.recompile1258.a; 18s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,090 / 11,642] 219 / 411 tests; Testing //pkg/table/tables:tables_test (shard 3 of 32); 12s remote-cache, linux-sandbox ... (69 actions running) [10,096 / 11,642] 219 / 411 tests; Testing //pkg/table/tables:tables_test (shard 3 of 32); 13s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,106 / 11,642] 219 / 411 tests; Testing //pkg/table/tables:tables_test (shard 3 of 32); 14s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,115 / 11,642] 219 / 411 tests; GoCompilePkg pkg/ddl/ingest/executor.recompile1257.a; 15s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,122 / 11,644] 219 / 411 tests; GoCompilePkg pkg/ddl/ingest/executor.recompile1257.a; 16s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,128 / 11,644] 219 / 411 tests; GoCompilePkg pkg/ddl/ingest/executor.recompile1257.a; 17s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,143 / 11,644] 220 / 411 tests; GoCompilePkg pkg/ddl/ingest/executor.recompile1257.a; 18s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,152 / 11,644] 220 / 411 tests; GoCompilePkg pkg/ttl/ttlworker/executor.recompile1254.a; 14s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,155 / 11,644] 221 / 411 tests; GoCompilePkg pkg/ttl/ttlworker/executor.recompile1254.a; 16s remote-cache, linux-sandbox ... (70 actions running) [10,167 / 11,671] 221 / 411 tests; GoCompilePkg pkg/ttl/ttlworker/executor.recompile1254.a; 17s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,170 / 11,671] 221 / 411 tests; GoCompilePkg pkg/ttl/ttlworker/executor.recompile1254.a; 18s remote-cache, linux-sandbox ... (70 actions running) [10,176 / 11,671] 221 / 411 tests; GoCompilePkg pkg/ttl/ttlworker/executor.recompile1254.a; 19s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,184 / 11,671] 221 / 411 tests; GoCompilePkg pkg/ttl/ttlworker/executor.recompile1254.a; 21s remote-cache, linux-sandbox ... (70 actions running) [10,197 / 11,671] 221 / 411 tests; GoLink br/pkg/storage/storage_test_/storage_test; 11s remote-cache, linux-sandbox ... (70 actions running) [10,206 / 11,722] 221 / 411 tests; GoCompilePkg pkg/expression/executor.recompile1259.a; 10s remote-cache, linux-sandbox ... (70 actions running) [10,211 / 11,722] 221 / 411 tests; GoCompilePkg pkg/expression/executor.recompile1259.a; 11s remote-cache, linux-sandbox ... (70 actions running) [10,223 / 11,732] 221 / 411 tests; GoCompilePkg pkg/expression/executor.recompile1259.a; 12s remote-cache, linux-sandbox ... (70 actions running) [10,233 / 11,732] 221 / 411 tests; GoCompilePkg pkg/expression/executor.recompile1259.a; 13s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,246 / 11,732] 222 / 411 tests; GoCompilePkg pkg/expression/executor.recompile1259.a; 14s remote-cache, linux-sandbox ... (70 actions running) [10,255 / 11,732] 222 / 411 tests; GoCompilePkg pkg/expression/executor.recompile1259.a; 15s remote-cache, linux-sandbox ... (70 actions running) [10,267 / 11,732] 222 / 411 tests; GoCompilePkg pkg/expression/executor.recompile1259.a; 16s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,274 / 11,732] 222 / 411 tests; GoCompilePkg pkg/expression/executor.recompile1259.a; 17s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,279 / 11,732] 222 / 411 tests; GoCompilePkg pkg/expression/executor.recompile1259.a; 19s remote-cache, linux-sandbox ... (64 actions, 58 running) [10,279 / 11,732] 222 / 411 tests; GoCompilePkg pkg/expression/executor.recompile1259.a; 20s remote-cache, linux-sandbox ... (67 actions, 64 running) [10,286 / 11,732] 222 / 411 tests; GoCompilePkg pkg/expression/executor.recompile1259.a; 21s remote-cache, linux-sandbox ... (66 actions, 62 running) [10,300 / 11,732] 223 / 411 tests; GoCompilePkg pkg/expression/executor.recompile1259.a; 22s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,315 / 11,732] 223 / 411 tests; GoCompilePkg pkg/executor/importer/executor.recompile1410.a; 23s remote-cache, linux-sandbox ... (65 actions, 60 running) [10,330 / 11,732] 223 / 411 tests; GoCompilePkg pkg/disttask/importinto/executor.recompile1256.a; 23s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,339 / 11,732] 223 / 411 tests; GoCompilePkg br/pkg/backup/executor.recompile1286.a; 23s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,352 / 11,755] 223 / 411 tests; GoCompilePkg br/pkg/backup/executor.recompile1286.a; 24s remote-cache, linux-sandbox ... (69 actions running) [10,361 / 11,755] 223 / 411 tests; GoCompilePkg pkg/bindinfo/executor.recompile1285.a; 17s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,369 / 11,755] 223 / 411 tests; GoCompilePkg pkg/bindinfo/executor.recompile1285.a; 18s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,383 / 11,755] 223 / 411 tests; GoCompilePkg pkg/bindinfo/executor.recompile1285.a; 19s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,392 / 11,755] 223 / 411 tests; GoCompilePkg pkg/bindinfo/executor.recompile1285.a; 20s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,401 / 11,755] 223 / 411 tests; GoCompilePkg pkg/bindinfo/executor.recompile1285.a; 21s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,416 / 11,789] 223 / 411 tests; GoCompilePkg pkg/bindinfo/executor.recompile1285.a; 22s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,434 / 11,789] 223 / 411 tests; GoCompilePkg pkg/bindinfo/executor.recompile1285.a; 23s remote-cache, linux-sandbox ... (68 actions, 67 running) [10,445 / 11,789] 223 / 411 tests; Testing //pkg/disttask/framework/storage:storage_test (shard 22 of 22); 8s remote-cache, linux-sandbox ... (69 actions running) [10,461 / 11,791] 223 / 411 tests; GoLink pkg/ttl/ttlworker/ttlworker_test_/ttlworker_test; 6s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,468 / 11,791] 223 / 411 tests; GoLink pkg/ttl/ttlworker/ttlworker_test_/ttlworker_test; 8s remote-cache, linux-sandbox ... (70 actions running) [10,488 / 11,791] 224 / 411 tests; GoLink pkg/ttl/ttlworker/ttlworker_test_/ttlworker_test; 9s remote-cache, linux-sandbox ... (69 actions running) [10,493 / 11,791] 224 / 411 tests; GoLink pkg/ttl/ttlworker/ttlworker_test_/ttlworker_test; 10s remote-cache, linux-sandbox ... (69 actions running) [10,517 / 11,791] 225 / 411 tests; GoLink pkg/ttl/ttlworker/ttlworker_test_/ttlworker_test; 11s remote-cache, linux-sandbox ... (69 actions running) [10,530 / 11,791] 225 / 411 tests; GoLink pkg/ttl/ttlworker/ttlworker_test_/ttlworker_test; 12s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,531 / 11,791] 225 / 411 tests; GoLink pkg/ttl/ttlworker/ttlworker_test_/ttlworker_test; 13s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,554 / 11,791] 225 / 411 tests; GoLink pkg/ttl/ttlworker/ttlworker_test_/ttlworker_test; 14s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,557 / 11,842] 225 / 411 tests; Testing //pkg/disttask/framework/storage:storage_test (shard 1 of 22); 14s remote-cache, linux-sandbox ... (69 actions running) [10,573 / 11,842] 225 / 411 tests; Testing //pkg/disttask/framework/storage:storage_test (shard 1 of 22); 15s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,586 / 11,860] 225 / 411 tests; Testing //pkg/disttask/framework/storage:storage_test (shard 1 of 22); 17s remote-cache, linux-sandbox ... (70 actions running) [10,607 / 11,860] 226 / 411 tests; Testing //pkg/disttask/framework/storage:storage_test (shard 1 of 22); 18s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,608 / 11,860] 226 / 411 tests; Testing //pkg/disttask/framework/storage:storage_test (shard 1 of 22); 19s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,614 / 11,860] 226 / 411 tests; Testing //pkg/disttask/framework/storage:storage_test (shard 1 of 22); 20s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,629 / 11,860] 226 / 411 tests; Testing //pkg/disttask/framework/storage:storage_test (shard 1 of 22); 21s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,634 / 11,860] 226 / 411 tests; Testing //pkg/disttask/framework/storage:storage_test (shard 1 of 22); 22s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,648 / 11,860] 226 / 411 tests; Testing //pkg/disttask/framework/storage:storage_test (shard 1 of 22); 24s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,654 / 11,860] 226 / 411 tests; Testing //pkg/disttask/framework/storage:storage_test (shard 1 of 22); 25s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,666 / 11,911] 226 / 411 tests; Testing //pkg/disttask/framework/storage:storage_test (shard 1 of 22); 26s remote-cache, linux-sandbox ... (68 actions, 66 running) [10,673 / 11,911] 226 / 411 tests; Testing //pkg/disttask/framework/storage:storage_test (shard 1 of 22); 27s remote-cache, linux-sandbox ... (70 actions running) [10,675 / 11,911] 226 / 411 tests; Testing //pkg/disttask/framework/storage:storage_test (shard 1 of 22); 29s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,684 / 11,911] 226 / 411 tests; Testing //pkg/disttask/framework/storage:storage_test (shard 1 of 22); 30s remote-cache, linux-sandbox ... (68 actions running) [10,702 / 11,911] 226 / 411 tests; Testing //pkg/disttask/framework/storage:storage_test (shard 1 of 22); 31s remote-cache, linux-sandbox ... (70 actions running) [10,714 / 11,962] 226 / 411 tests; Testing //pkg/disttask/framework/storage:storage_test (shard 1 of 22); 32s remote-cache, linux-sandbox ... (70 actions running) [10,717 / 11,979] 226 / 411 tests; Testing //pkg/disttask/framework/storage:storage_test (shard 1 of 22); 33s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,737 / 11,979] 226 / 411 tests; Testing //pkg/disttask/framework/storage:storage_test (shard 1 of 22); 34s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,745 / 11,979] 226 / 411 tests; Testing //pkg/disttask/framework/storage:storage_test (shard 1 of 22); 36s remote-cache, linux-sandbox ... (70 actions running) [10,772 / 11,979] 226 / 411 tests; Testing //pkg/disttask/framework/storage:storage_test (shard 1 of 22); 37s remote-cache, linux-sandbox ... (70 actions running) [10,786 / 11,979] 226 / 411 tests; Testing //pkg/disttask/framework/storage:storage_test (shard 1 of 22); 38s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,792 / 11,979] 227 / 411 tests; Testing //pkg/disttask/framework/storage:storage_test (shard 1 of 22); 39s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,816 / 11,979] 227 / 411 tests; Testing //pkg/disttask/framework/storage:storage_test (shard 3 of 22); 35s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,833 / 11,979] 227 / 411 tests; Testing //pkg/disttask/framework/storage:storage_test (shard 3 of 22); 36s remote-cache, linux-sandbox ... (68 actions, 67 running) [10,838 / 11,979] 227 / 411 tests; Testing //pkg/disttask/framework/storage:storage_test (shard 3 of 22); 38s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,858 / 11,979] 227 / 411 tests; Testing //pkg/disttask/framework/storage:storage_test (shard 4 of 22); 22s remote-cache, linux-sandbox ... (70 actions running) [10,864 / 11,979] 227 / 411 tests; Testing //pkg/disttask/framework/storage:storage_test (shard 4 of 22); 23s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,881 / 11,979] 227 / 411 tests; Testing //pkg/disttask/framework/storage:storage_test (shard 4 of 22); 24s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,895 / 11,979] 227 / 411 tests; Testing //pkg/disttask/framework/storage:storage_test (shard 4 of 22); 26s remote-cache, linux-sandbox ... (67 actions, 66 running) [10,900 / 11,985] 227 / 411 tests; Testing //pkg/disttask/framework/storage:storage_test (shard 4 of 22); 27s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,907 / 11,985] 227 / 411 tests; Testing //pkg/disttask/framework/storage:storage_test (shard 4 of 22); 28s remote-cache, linux-sandbox ... (70 actions running) [10,914 / 11,994] 227 / 411 tests; Testing //pkg/disttask/framework/storage:storage_test (shard 4 of 22); 30s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,929 / 12,023] 227 / 411 tests; Testing //pkg/disttask/framework/storage:storage_test (shard 4 of 22); 31s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,938 / 12,049] 227 / 411 tests; Testing //pkg/disttask/framework/storage:storage_test (shard 4 of 22); 32s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,942 / 12,049] 227 / 411 tests; Testing //pkg/disttask/framework/storage:storage_test (shard 4 of 22); 33s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,953 / 12,051] 228 / 411 tests; Testing //pkg/disttask/framework/storage:storage_test (shard 4 of 22); 34s remote-cache, linux-sandbox ... (70 actions running) [10,953 / 12,051] 228 / 411 tests; Testing //pkg/disttask/framework/storage:storage_test (shard 4 of 22); 35s remote-cache, linux-sandbox ... (70 actions running) [10,967 / 12,068] 229 / 411 tests; Testing //pkg/disttask/framework/storage:storage_test (shard 5 of 22); 34s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,981 / 12,107] 229 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 15 of 17); 25s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,991 / 12,107] 229 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 15 of 17); 26s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,998 / 12,158] 229 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 15 of 17); 27s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,004 / 12,158] 229 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 15 of 17); 28s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,008 / 12,158] 229 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 15 of 17); 30s remote-cache, linux-sandbox ... (70 actions running) [11,016 / 12,165] 229 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 15 of 17); 31s remote-cache, linux-sandbox ... (70 actions running) [11,017 / 12,165] 229 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 15 of 17); 32s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,027 / 12,165] 230 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 15 of 17); 33s remote-cache, linux-sandbox ... (67 actions, 66 running) [11,033 / 12,165] 231 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 15 of 17); 34s remote-cache, linux-sandbox ... (70 actions running) [11,041 / 12,167] 231 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 15 of 17); 35s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,046 / 12,173] 231 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 15 of 17); 37s remote-cache, linux-sandbox ... (70 actions running) [11,046 / 12,173] 231 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 15 of 17); 38s remote-cache, linux-sandbox ... (70 actions running) [11,053 / 12,173] 232 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 15 of 17); 39s remote-cache, linux-sandbox ... (68 actions, 66 running) [11,061 / 12,175] 232 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 15 of 17); 40s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,070 / 12,190] 232 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 15 of 17); 41s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,081 / 12,203] 232 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 15 of 17); 42s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,091 / 12,203] 232 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 15 of 17); 44s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,098 / 12,254] 232 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 15 of 17); 45s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,109 / 12,256] 233 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 15 of 17); 46s remote-cache, linux-sandbox ... (70 actions running) [11,118 / 12,256] 233 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 15 of 17); 47s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,125 / 12,256] 233 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 15 of 17); 49s remote-cache, linux-sandbox ... (70 actions running) [11,130 / 12,256] 234 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 15 of 17); 50s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,135 / 12,258] 234 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 15 of 17); 51s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,137 / 12,258] 234 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 15 of 17); 52s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,147 / 12,264] 235 / 411 tests; Testing //br/pkg/backup:backup_test (shard 8 of 8); 36s remote-cache, linux-sandbox ... (70 actions running) [11,155 / 12,264] 235 / 411 tests; Testing //br/pkg/backup:backup_test (shard 8 of 8); 37s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,161 / 12,264] 235 / 411 tests; Testing //br/pkg/backup:backup_test (shard 8 of 8); 38s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,165 / 12,264] 235 / 411 tests; Testing //br/pkg/backup:backup_test (shard 8 of 8); 39s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,167 / 12,264] 235 / 411 tests; Testing //br/pkg/backup:backup_test (shard 8 of 8); 40s remote-cache, linux-sandbox ... (70 actions running) [11,175 / 12,264] 235 / 411 tests; Testing //br/pkg/backup:backup_test (shard 8 of 8); 41s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,181 / 12,264] 235 / 411 tests; Testing //br/pkg/backup:backup_test (shard 8 of 8); 43s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,185 / 12,264] 235 / 411 tests; Testing //br/pkg/backup:backup_test (shard 8 of 8); 44s remote-cache, linux-sandbox ... (69 actions running) [11,196 / 12,266] 235 / 411 tests; Testing //br/pkg/backup:backup_test (shard 8 of 8); 45s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,197 / 12,266] 235 / 411 tests; Testing //br/pkg/backup:backup_test (shard 8 of 8); 46s remote-cache, linux-sandbox ... (70 actions running) [11,197 / 12,266] 236 / 411 tests; Testing //br/pkg/backup:backup_test (shard 8 of 8); 48s remote-cache, linux-sandbox ... (70 actions running) [11,222 / 12,266] 237 / 411 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 46 of 50); 48s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,225 / 12,266] 238 / 411 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 46 of 50); 49s remote-cache, linux-sandbox ... (70 actions running) [11,235 / 12,266] 238 / 411 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 46 of 50); 51s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,240 / 12,266] 238 / 411 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 46 of 50); 52s remote-cache, linux-sandbox ... (70 actions running) [11,248 / 12,266] 238 / 411 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 46 of 50); 53s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,253 / 12,266] 238 / 411 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 46 of 50); 54s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,257 / 12,266] 238 / 411 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 46 of 50); 55s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,260 / 12,266] 238 / 411 tests; Testing //pkg/disttask/framework/storage:storage_test (shard 11 of 22); 31s remote-cache, linux-sandbox ... (68 actions, 66 running) [11,263 / 12,266] 238 / 411 tests; Testing //pkg/disttask/framework/storage:storage_test (shard 11 of 22); 32s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,274 / 12,272] 239 / 411 tests; Testing //pkg/disttask/framework/storage:storage_test (shard 11 of 22); 33s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,282 / 12,311] 239 / 411 tests; Testing //pkg/disttask/framework/storage:storage_test (shard 11 of 22); 34s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,282 / 12,311] 240 / 411 tests; Testing //pkg/disttask/framework/storage:storage_test (shard 11 of 22); 36s remote-cache, linux-sandbox ... (70 actions running) [11,298 / 12,334] 241 / 411 tests; Testing //pkg/disttask/framework/storage:storage_test (shard 12 of 22); 34s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,306 / 12,334] 241 / 411 tests; Testing //pkg/disttask/framework/storage:storage_test (shard 19 of 22); 35s remote-cache, linux-sandbox ... (69 actions running) [11,313 / 12,334] 241 / 411 tests; Testing //pkg/disttask/framework/storage:storage_test (shard 19 of 22); 36s remote-cache, linux-sandbox ... (70 actions running) [11,319 / 12,334] 241 / 411 tests; Testing //pkg/ddl/tests/resourcegroup:resourcegroup_test (shard 1 of 5); 34s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,322 / 12,334] 241 / 411 tests; Testing //pkg/ddl/tests/resourcegroup:resourcegroup_test (shard 1 of 5); 35s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,326 / 12,334] 241 / 411 tests; Testing //pkg/ddl/tests/resourcegroup:resourcegroup_test (shard 1 of 5); 37s remote-cache, linux-sandbox ... (70 actions running) [11,329 / 12,334] 241 / 411 tests; Testing //pkg/ddl/tests/resourcegroup:resourcegroup_test (shard 1 of 5); 38s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,333 / 12,334] 241 / 411 tests; Testing //pkg/ddl/tests/resourcegroup:resourcegroup_test (shard 1 of 5); 39s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,347 / 12,409] 241 / 411 tests; Testing //pkg/ddl/tests/resourcegroup:resourcegroup_test (shard 1 of 5); 40s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,349 / 12,409] 241 / 411 tests; Testing //pkg/ddl/tests/resourcegroup:resourcegroup_test (shard 1 of 5); 42s remote-cache, linux-sandbox ... (70 actions running) [11,349 / 12,409] 241 / 411 tests; Testing //pkg/ddl/tests/resourcegroup:resourcegroup_test (shard 1 of 5); 43s remote-cache, linux-sandbox ... (70 actions running) [11,359 / 12,409] 242 / 411 tests; Testing //pkg/ddl/tests/resourcegroup:resourcegroup_test (shard 1 of 5); 44s remote-cache, linux-sandbox ... (70 actions running) [11,367 / 12,437] 242 / 411 tests; Testing //pkg/disttask/framework/storage:storage_test (shard 14 of 22); 33s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,371 / 12,437] 242 / 411 tests; Testing //br/pkg/backup:backup_test (shard 7 of 8); 31s remote-cache, linux-sandbox ... (70 actions running) [11,373 / 12,437] 242 / 411 tests; Testing //br/pkg/backup:backup_test (shard 7 of 8); 32s remote-cache, linux-sandbox ... (70 actions running) [11,381 / 12,437] 242 / 411 tests; Testing //br/pkg/backup:backup_test (shard 7 of 8); 33s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,390 / 12,437] 243 / 411 tests; Testing //pkg/timer:timer_test (shard 5 of 6); 31s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,393 / 12,437] 243 / 411 tests; Testing //pkg/timer:timer_test (shard 5 of 6); 32s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,401 / 12,437] 243 / 411 tests; Testing //pkg/timer:timer_test (shard 5 of 6); 33s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,406 / 12,437] 243 / 411 tests; Testing //pkg/timer:timer_test (shard 5 of 6); 34s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,411 / 12,437] 243 / 411 tests; Testing //pkg/timer:timer_test (shard 5 of 6); 35s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,413 / 12,437] 243 / 411 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 45 of 50); 32s remote-cache, linux-sandbox ... (70 actions running) [11,417 / 12,437] 243 / 411 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 45 of 50); 33s remote-cache, linux-sandbox ... (70 actions running) [11,422 / 12,437] 243 / 411 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 45 of 50); 35s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,428 / 12,437] 244 / 411 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 45 of 50); 36s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,433 / 12,439] 244 / 411 tests; Testing //pkg/disttask/framework/storage:storage_test (shard 16 of 22); 31s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,437 / 12,439] 244 / 411 tests; Testing //pkg/disttask/framework/storage:storage_test (shard 16 of 22); 32s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,444 / 12,439] 245 / 411 tests; Testing //pkg/disttask/framework/storage:storage_test (shard 16 of 22); 33s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,450 / 12,439] 245 / 411 tests; Testing //pkg/disttask/framework/storage:storage_test (shard 17 of 22); 32s remote-cache, linux-sandbox ... (70 actions running) [11,458 / 12,439] 245 / 411 tests; Testing //pkg/disttask/framework/storage:storage_test (shard 18 of 22); 32s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,460 / 12,439] 247 / 411 tests; Testing //pkg/disttask/framework/storage:storage_test (shard 18 of 22); 33s remote-cache, linux-sandbox ... (70 actions running) [11,466 / 12,439] 247 / 411 tests; Testing //pkg/store/gcworker:gcworker_test (shard 23 of 25); 27s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,468 / 12,439] 247 / 411 tests; Testing //pkg/store/gcworker:gcworker_test (shard 23 of 25); 28s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,472 / 12,439] 247 / 411 tests; Testing //pkg/store/gcworker:gcworker_test (shard 23 of 25); 30s remote-cache, linux-sandbox ... (70 actions running) [11,479 / 12,441] 247 / 411 tests; Testing //pkg/store/gcworker:gcworker_test (shard 23 of 25); 31s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,489 / 12,467] 248 / 411 tests; Testing //pkg/store/gcworker:gcworker_test (shard 23 of 25); 32s remote-cache, linux-sandbox ... (70 actions running) [11,495 / 12,467] 248 / 411 tests; Testing //pkg/executor/test/autoidtest:autoidtest_test (shard 5 of 5); 33s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,504 / 12,467] 248 / 411 tests; Testing //pkg/executor/test/autoidtest:autoidtest_test (shard 5 of 5); 34s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,508 / 12,467] 249 / 411 tests; Testing //pkg/executor/test/autoidtest:autoidtest_test (shard 5 of 5); 35s remote-cache, linux-sandbox ... (70 actions running) [11,511 / 12,486] 249 / 411 tests; Testing //pkg/executor/test/autoidtest:autoidtest_test (shard 5 of 5); 36s remote-cache, linux-sandbox ... (70 actions running) [11,521 / 12,498] 249 / 411 tests; Testing //pkg/ddl/tests/resourcegroup:resourcegroup_test (shard 2 of 5); 34s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,529 / 12,527] 250 / 411 tests; Testing //pkg/ddl/tests/resourcegroup:resourcegroup_test (shard 2 of 5); 36s remote-cache, linux-sandbox ... (70 actions running) [11,529 / 12,527] 250 / 411 tests; Testing //pkg/ddl/tests/resourcegroup:resourcegroup_test (shard 2 of 5); 37s remote-cache, linux-sandbox ... (70 actions running) [11,540 / 12,529] 250 / 411 tests; Testing //pkg/ddl/tests/resourcegroup:resourcegroup_test (shard 2 of 5); 38s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,540 / 12,529] 251 / 411 tests; Testing //pkg/ddl/tests/resourcegroup:resourcegroup_test (shard 2 of 5); 39s remote-cache, linux-sandbox ... (70 actions running) [11,547 / 12,529] 251 / 411 tests; Testing //pkg/ddl/tests/resourcegroup:resourcegroup_test (shard 2 of 5); 41s remote-cache, linux-sandbox ... (70 actions running) [11,555 / 12,529] 252 / 411 tests; Testing //pkg/ddl/tests/resourcegroup:resourcegroup_test (shard 2 of 5); 42s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,563 / 12,529] 252 / 411 tests; Testing //pkg/ddl/tests/resourcegroup:resourcegroup_test (shard 2 of 5); 43s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,567 / 12,529] 253 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 13 of 17); 44s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,570 / 12,529] 253 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 13 of 17); 45s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,573 / 12,529] 253 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 13 of 17); 46s remote-cache, linux-sandbox ... (70 actions running) [11,576 / 12,529] 253 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 13 of 17); 48s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,577 / 12,529] 253 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 13 of 17); 49s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,583 / 12,538] 253 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 13 of 17); 50s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,586 / 12,538] 253 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 13 of 17); 51s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,592 / 12,540] 253 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 13 of 17); 52s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,595 / 12,540] 254 / 411 tests; Testing //pkg/ddl:ddl_test (shard 3 of 50); 48s remote-cache, linux-sandbox ... (69 actions running) [11,596 / 12,540] 254 / 411 tests; Testing //pkg/ddl:ddl_test (shard 3 of 50); 49s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,600 / 12,540] 254 / 411 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 6 of 50); 46s remote-cache, linux-sandbox ... (70 actions running) [11,604 / 12,540] 254 / 411 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 6 of 50); 47s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,608 / 12,540] 254 / 411 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 6 of 50); 49s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,613 / 12,540] 255 / 411 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 6 of 50); 50s remote-cache, linux-sandbox ... (70 actions running) [11,616 / 12,540] 255 / 411 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 6 of 50); 51s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,623 / 12,540] 255 / 411 tests; Testing //br/pkg/backup:backup_test (shard 3 of 8); 35s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,628 / 12,540] 255 / 411 tests; Testing //br/pkg/backup:backup_test (shard 3 of 8); 37s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,631 / 12,540] 255 / 411 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 42 of 50); 33s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,635 / 12,540] 255 / 411 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 42 of 50); 34s remote-cache, linux-sandbox ... (70 actions running) [11,636 / 12,540] 255 / 411 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 42 of 50); 36s remote-cache, linux-sandbox ... (70 actions running) [11,644 / 12,540] 256 / 411 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 42 of 50); 37s remote-cache, linux-sandbox ... (70 actions running) [11,648 / 12,540] 257 / 411 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 42 of 50); 38s remote-cache, linux-sandbox ... (70 actions running) [11,653 / 12,540] 257 / 411 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 42 of 50); 39s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,659 / 12,540] 257 / 411 tests; Testing //pkg/bindinfo/tests:tests_test (shard 18 of 18); 39s remote-cache, linux-sandbox ... (69 actions running) [11,660 / 12,540] 257 / 411 tests; Testing //pkg/bindinfo/tests:tests_test (shard 18 of 18); 40s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,660 / 12,540] 257 / 411 tests; Testing //pkg/bindinfo/tests:tests_test (shard 18 of 18); 42s remote-cache, linux-sandbox ... (70 actions running) [11,662 / 12,540] 257 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 42s remote-cache, linux-sandbox ... (69 actions, 68 running) FAIL: //pkg/ddl:ddl_test (shard 7 of 50) (see /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_7_of_50/test_attempts/attempt_1.log) [11,664 / 12,540] 257 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 43s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,667 / 12,540] 257 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 44s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,669 / 12,550] 257 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 46s remote-cache, linux-sandbox ... (70 actions running) [11,672 / 12,550] 257 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 47s remote-cache, linux-sandbox ... (70 actions running) [11,672 / 12,550] 257 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 48s remote-cache, linux-sandbox ... (70 actions running) [11,674 / 12,550] 257 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 49s remote-cache, linux-sandbox ... (70 actions running) [11,678 / 12,550] 257 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 50s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,679 / 12,550] 257 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 51s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,680 / 12,550] 257 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 53s remote-cache, linux-sandbox ... (70 actions running) [11,683 / 12,550] 257 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 54s remote-cache, linux-sandbox ... (70 actions running) [11,684 / 12,550] 257 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 55s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,687 / 12,550] 257 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 57s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,690 / 12,550] 258 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 58s remote-cache, linux-sandbox ... (70 actions running) [11,693 / 12,550] 258 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 59s remote-cache, linux-sandbox ... (70 actions running) [11,695 / 12,550] 258 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 60s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,695 / 12,550] 258 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 62s remote-cache, linux-sandbox ... (70 actions running) [11,695 / 12,550] 258 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 63s remote-cache, linux-sandbox ... (70 actions running) [11,697 / 12,550] 258 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 64s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,700 / 12,550] 258 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 66s remote-cache, linux-sandbox ... (69 actions running) [11,702 / 12,550] 259 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 67s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,706 / 12,550] 260 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 68s remote-cache, linux-sandbox ... (70 actions running) [11,708 / 12,550] 260 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 69s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,710 / 12,550] 260 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 71s remote-cache, linux-sandbox ... (70 actions running) INFO: From Testing //pkg/ddl:ddl_test (shard 7 of 50): ==================== Test output for //pkg/ddl:ddl_test (shard 7 of 50): === RUN TestCreateWithSameName [2024/05/06 09:29:58.985 +00:00] [INFO] [store_cache.go:510] ["change store resolve state"] [store=1] [addr=store1] [from=unresolved] [to=resolved] [liveness-state=reachable] [2024/05/06 09:29:58.986 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 09:29:58.986 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 09:29:58.988 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 09:29:58.988 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 09:29:58.989 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 09:29:58.991 +00:00] [INFO] [tidb.go:80] ["new domain"] [store=3cc4683f-c716-43bd-a42b-a53569199f27] ["ddl lease"=500ms] ["stats lease"=-1ns] [2024/05/06 09:29:59.004 +00:00] [WARN] [controller.go:198] ["[resource group controller] server does not save config, load config failed"] [2024/05/06 09:29:59.004 +00:00] [INFO] [controller.go:185] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":10,\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\"}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":10,\"DegradedModeWaitDuration\":0}"] [2024/05/06 09:29:59.005 +00:00] [WARN] [domain.go:245] ["failed to get schema version"] [error="There is no Write MVCC info for the schema version"] [errorVerbose="There is no Write MVCC info for the schema version\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:335\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:242\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:606\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init\n\tpkg/domain/domain.go:1260\ngithub.com/pingcap/tidb/pkg/session.(*domainMap).Get.func1\n\tpkg/session/tidb.go:92\ngithub.com/pingcap/tidb/pkg/util.RunWithRetry\n\tpkg/util/misc.go:70\ngithub.com/pingcap/tidb/pkg/session.(*domainMap).Get\n\tpkg/session/tidb.go:79\ngithub.com/pingcap/tidb/pkg/session.createSessionWithOpt\n\tpkg/session/session.go:3620\ngithub.com/pingcap/tidb/pkg/session.createSession\n\tpkg/session/session.go:3612\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3562\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3346\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3312\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:294\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomain\n\tpkg/testkit/mockstore.go:265\ngithub.com/pingcap/tidb/pkg/ddl_test.TestCreateWithSameName\n\tpkg/ddl/attributes_sql_test.go:364\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=0] [2024/05/06 09:29:59.008 +00:00] [INFO] [domain.go:315] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=0] ["start time"=3.795338ms] [2024/05/06 09:29:59.009 +00:00] [INFO] [domain.go:635] ["full load and reset schema validator"] [2024/05/06 09:29:59.009 +00:00] [INFO] [ddl.go:818] ["start DDL"] [category=ddl] [ID=64a79eca-65d9-4bce-b2a9-c11bdfe64f06] [runWorker=true] [2024/05/06 09:29:59.009 +00:00] [INFO] [ddl.go:777] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=true] [2024/05/06 09:29:59.009 +00:00] [WARN] [env.go:51] ["initialize environment failed"] [category=ddl-ingest] ["storage limitation"="only support TiKV storage"] ["current storage"=unistore] ["lightning is initialized"=false] [2024/05/06 09:29:59.009 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2024/05/06 09:29:59.009 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=mdlCheckLoop] [2024/05/06 09:29:59.009 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2024/05/06 09:29:59.009 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2024/05/06 09:29:59.009 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/06 09:29:59.009 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayStartLoop] [2024/05/06 09:29:59.009 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/06 09:29:59.009 +00:00] [INFO] [delete_range.go:172] ["start delRange emulator"] [category=ddl] [2024/05/06 09:29:59.009 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/06 09:29:59.009 +00:00] [INFO] [runaway.go:149] ["try to start runaway manager loop"] [2024/05/06 09:29:59.009 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2024/05/06 09:29:59.010 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/06 09:29:59.010 +00:00] [WARN] [domain.go:1326] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/06 09:29:59.009 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/06 09:29:59.010 +00:00] [INFO] [job_table.go:349] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2024/05/06 09:29:59.011 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=0] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS test"] [user=] [2024/05/06 09:29:59.016 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:29:59.014 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:29:59.016 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:29:59.014 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE DATABASE IF NOT EXISTS test"] [2024/05/06 09:29:59.023 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=3] [category=ddl] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:29:59.014 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:29:59.029 +00:00] [INFO] [domain.go:315] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=1] ["start time"=3.663909ms] [2024/05/06 09:29:59.029 +00:00] [INFO] [domain.go:635] ["full load and reset schema validator"] [2024/05/06 09:29:59.031 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:29:59.031 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=3] [version=1] [2024/05/06 09:29:59.034 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=1] ["take time"=9.087282ms] [job="ID:3, Type:create schema, State:done, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:29:59.014 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:29:59.040 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=3] [job="ID:3, Type:create schema, State:synced, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:29:59.014 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:29:59.044 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=3] [2024/05/06 09:29:59.044 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:29:59.044 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS `mysql`"] [user=] [2024/05/06 09:29:59.045 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.user (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tauthentication_string\tTEXT,\n\t\tplugin\t\t\t\t\tCHAR(64),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tProcess_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_db_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tSuper_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_user_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_slave_priv\t \tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_client_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_role_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_role_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAccount_locked\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShutdown_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReload_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tFILE_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tConfig_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_reuse_history smallint unsigned DEFAULT NULL,\n\t\tPassword_reuse_time smallint unsigned DEFAULT NULL,\n\t\tUser_attributes\t\t\tjson,\n\t\tToken_issuer\t\t\tVARCHAR(255),\n\t\tPassword_expired\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_last_changed\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP(),\n\t\tPassword_lifetime\t\tSMALLINT UNSIGNED DEFAULT NULL,\n\t\tPRIMARY KEY (Host, User));"] [user=] [2024/05/06 09:29:59.051 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-06 09:29:59.047 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:29:59.051 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-06 09:29:59.047 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.user (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tauthentication_string\tTEXT,\n\t\tplugin\t\t\t\t\tCHAR(64),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tProcess_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_db_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tSuper_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_user_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_slave_priv\t \tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_client_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_role_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_role_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAccount_locked\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShutdown_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReload_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tFILE_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tConfig_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_reuse_history smallint unsigned DEFAULT NULL,\n\t\tPassword_reuse_time smallint unsigned DEFAULT NULL,\n\t\tUser_attributes\t\t\tjson,\n\t\tToken_issuer\t\t\tVARCHAR(255),\n\t\tPassword_expired\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_last_changed\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP(),\n\t\tPassword_lifetime\t\tSMALLINT UNSIGNED DEFAULT NULL,\n\t\tPRIMARY KEY (Host, User));"] [2024/05/06 09:29:59.060 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=5] [category=ddl] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2024-05-06 09:29:59.047 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:29:59.072 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=1] [neededSchemaVersion=2] ["start time"=1.083153ms] [gotSchemaVersion=2] [phyTblIDs="[4]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:29:59.074 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:29:59.074 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=5] [version=2] [2024/05/06 09:29:59.085 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=2] ["take time"=14.184534ms] [job="ID:5, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-06 09:29:59.047 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:29:59.091 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=5] [job="ID:5, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2024-05-06 09:29:59.047 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:29:59.100 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=5] [2024/05/06 09:29:59.100 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:29:59.101 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=2] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.password_history (\n Host char(255) NOT NULL DEFAULT '',\n User char(32) NOT NULL DEFAULT '',\n Password_timestamp timestamp(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n Password text,\n PRIMARY KEY (Host,User,Password_timestamp )\n ) COMMENT='Password history for user accounts' "] [user=] [2024/05/06 09:29:59.103 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-06 09:29:59.102 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:29:59.103 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-06 09:29:59.102 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.password_history (\n Host char(255) NOT NULL DEFAULT '',\n User char(32) NOT NULL DEFAULT '',\n Password_timestamp timestamp(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n Password text,\n PRIMARY KEY (Host,User,Password_timestamp )\n ) COMMENT='Password history for user accounts' "] [2024/05/06 09:29:59.111 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=7] [category=ddl] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2024-05-06 09:29:59.102 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:29:59.114 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=2] [neededSchemaVersion=3] ["start time"=315.644µs] [gotSchemaVersion=3] [phyTblIDs="[6]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:29:59.116 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:29:59.116 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=7] [version=3] [2024/05/06 09:29:59.116 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=3] ["take time"=2.09224ms] [job="ID:7, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-06 09:29:59.102 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:29:59.129 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=7] [job="ID:7, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2024-05-06 09:29:59.102 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:29:59.133 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=7] [2024/05/06 09:29:59.133 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:29:59.133 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=3] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.global_priv (Host CHAR(255) NOT NULL DEFAULT '',User CHAR(80) NOT NULL DEFAULT '',Priv LONGTEXT NOT NULL DEFAULT '',PRIMARY KEY (Host, User))"] [user=] [2024/05/06 09:29:59.136 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-06 09:29:59.135 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:29:59.136 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-06 09:29:59.135 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.global_priv (Host CHAR(255) NOT NULL DEFAULT '',User CHAR(80) NOT NULL DEFAULT '',Priv LONGTEXT NOT NULL DEFAULT '',PRIMARY KEY (Host, User))"] [2024/05/06 09:29:59.143 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=9] [category=ddl] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2024-05-06 09:29:59.135 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:29:59.148 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=3] [neededSchemaVersion=4] ["start time"=373.847µs] [gotSchemaVersion=4] [phyTblIDs="[8]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:29:59.150 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:29:59.150 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=9] [version=4] [2024/05/06 09:29:59.153 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=4] ["take time"=5.102887ms] [job="ID:9, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-06 09:29:59.135 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:29:59.160 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=9] [job="ID:9, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2024-05-06 09:29:59.135 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:29:59.164 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=9] [2024/05/06 09:29:59.164 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:29:59.167 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=4] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.db (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tDB\t\t\t\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv \t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (Host, DB, User));"] [user=] [2024/05/06 09:29:59.173 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-06 09:29:59.168 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:29:59.173 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-06 09:29:59.168 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.db (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tDB\t\t\t\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv \t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (Host, DB, User));"] [2024/05/06 09:29:59.182 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=11] [category=ddl] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2024-05-06 09:29:59.168 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:29:59.189 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=4] [neededSchemaVersion=5] ["start time"=665.271µs] [gotSchemaVersion=5] [phyTblIDs="[10]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:29:59.191 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:29:59.191 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=11] [version=5] [2024/05/06 09:29:59.194 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=5] ["take time"=5.152932ms] [job="ID:11, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-06 09:29:59.168 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:29:59.200 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=11] [job="ID:11, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2024-05-06 09:29:59.168 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:29:59.206 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=11] [2024/05/06 09:29:59.206 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:29:59.206 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=5] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tables_priv (\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tGrantor\t\tCHAR(77),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tTable_priv\tSET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'),\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name));"] [user=] [2024/05/06 09:29:59.210 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-06 09:29:59.208 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:29:59.210 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-06 09:29:59.208 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tables_priv (\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tGrantor\t\tCHAR(77),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tTable_priv\tSET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'),\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name));"] [2024/05/06 09:29:59.218 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=13] [category=ddl] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2024-05-06 09:29:59.208 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:29:59.222 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=5] [neededSchemaVersion=6] ["start time"=284.157µs] [gotSchemaVersion=6] [phyTblIDs="[12]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:29:59.223 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:29:59.223 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=13] [version=6] [2024/05/06 09:29:59.223 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=6] ["take time"=2.052785ms] [job="ID:13, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-06 09:29:59.208 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:29:59.228 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=13] [job="ID:13, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2024-05-06 09:29:59.208 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:29:59.232 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=13] [2024/05/06 09:29:59.232 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:29:59.233 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=6] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.columns_priv(\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tColumn_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name, Column_name));"] [user=] [2024/05/06 09:29:59.236 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-06 09:29:59.234 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:29:59.236 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-06 09:29:59.234 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.columns_priv(\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tColumn_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name, Column_name));"] [2024/05/06 09:29:59.243 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=15] [category=ddl] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2024-05-06 09:29:59.234 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:29:59.246 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=7] ["start time"=257.232µs] [gotSchemaVersion=7] [phyTblIDs="[14]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:29:59.247 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:29:59.247 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=15] [version=7] [2024/05/06 09:29:59.248 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=7] ["take time"=2.052535ms] [job="ID:15, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-06 09:29:59.234 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:29:59.253 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=15] [job="ID:15, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2024-05-06 09:29:59.234 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:29:59.256 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=15] [2024/05/06 09:29:59.256 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:29:59.257 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=7] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.GLOBAL_VARIABLES(\n\t\tVARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE VARCHAR(16383) DEFAULT NULL);"] [user=] [2024/05/06 09:29:59.259 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-06 09:29:59.258 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:29:59.259 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-06 09:29:59.258 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.GLOBAL_VARIABLES(\n\t\tVARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE VARCHAR(16383) DEFAULT NULL);"] [2024/05/06 09:29:59.269 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=17] [category=ddl] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2024-05-06 09:29:59.258 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:29:59.272 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=7] [neededSchemaVersion=8] ["start time"=261.047µs] [gotSchemaVersion=8] [phyTblIDs="[16]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:29:59.274 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:29:59.274 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=17] [version=8] [2024/05/06 09:29:59.274 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=8] ["take time"=2.012039ms] [job="ID:17, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-06 09:29:59.258 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:29:59.285 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=17] [job="ID:17, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2024-05-06 09:29:59.258 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:29:59.290 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=17] [2024/05/06 09:29:59.290 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:29:59.290 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=8] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb(\n\t\tVARIABLE_NAME \tVARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE \tVARCHAR(1024) DEFAULT NULL,\n\t\tCOMMENT \t\tVARCHAR(1024));"] [user=] [2024/05/06 09:29:59.294 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-06 09:29:59.293 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:29:59.294 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-06 09:29:59.293 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb(\n\t\tVARIABLE_NAME \tVARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE \tVARCHAR(1024) DEFAULT NULL,\n\t\tCOMMENT \t\tVARCHAR(1024));"] [2024/05/06 09:29:59.303 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=19] [category=ddl] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2024-05-06 09:29:59.293 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:29:59.307 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=8] [neededSchemaVersion=9] ["start time"=287.84µs] [gotSchemaVersion=9] [phyTblIDs="[18]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:29:59.310 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:29:59.310 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=19] [version=9] [2024/05/06 09:29:59.311 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=9] ["take time"=4.071679ms] [job="ID:19, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-06 09:29:59.293 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:29:59.322 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=19] [job="ID:19, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2024-05-06 09:29:59.293 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:29:59.326 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=19] [2024/05/06 09:29:59.326 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:29:59.326 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=9] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.help_topic (\n \t\thelp_topic_id \t\tINT(10) UNSIGNED NOT NULL,\n \t\tname \t\t\t\tCHAR(64) NOT NULL,\n \t\thelp_category_id \tSMALLINT(5) UNSIGNED NOT NULL,\n \t\tdescription \t\tTEXT NOT NULL,\n \t\texample \t\t\tTEXT NOT NULL,\n \t\turl \t\t\t\tTEXT NOT NULL,\n \t\tPRIMARY KEY (help_topic_id) clustered,\n \t\tUNIQUE KEY name (name)\n\t\t) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] [user=] [2024/05/06 09:29:59.334 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-06 09:29:59.332 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:29:59.334 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-06 09:29:59.332 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.help_topic (\n \t\thelp_topic_id \t\tINT(10) UNSIGNED NOT NULL,\n \t\tname \t\t\t\tCHAR(64) NOT NULL,\n \t\thelp_category_id \tSMALLINT(5) UNSIGNED NOT NULL,\n \t\tdescription \t\tTEXT NOT NULL,\n \t\texample \t\t\tTEXT NOT NULL,\n \t\turl \t\t\t\tTEXT NOT NULL,\n \t\tPRIMARY KEY (help_topic_id) clustered,\n \t\tUNIQUE KEY name (name)\n\t\t) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] [2024/05/06 09:29:59.344 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=21] [category=ddl] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2024-05-06 09:29:59.332 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:29:59.348 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=9] [neededSchemaVersion=10] ["start time"=326.999µs] [gotSchemaVersion=10] [phyTblIDs="[20]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:29:59.350 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:29:59.350 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=21] [version=10] [2024/05/06 09:29:59.350 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=10] ["take time"=2.040704ms] [job="ID:21, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-06 09:29:59.332 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:29:59.355 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=21] [job="ID:21, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2024-05-06 09:29:59.332 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:29:59.360 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=21] [2024/05/06 09:29:59.360 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:29:59.361 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=10] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_meta (\n\t\tversion \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\ttable_id \t\tBIGINT(64) NOT NULL,\n\t\tmodify_count\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcount \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tsnapshot BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tINDEX idx_ver(version),\n\t\tUNIQUE INDEX tbl(table_id)\n\t);"] [user=] [2024/05/06 09:29:59.365 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-06 09:29:59.363 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:29:59.365 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-06 09:29:59.363 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_meta (\n\t\tversion \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\ttable_id \t\tBIGINT(64) NOT NULL,\n\t\tmodify_count\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcount \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tsnapshot BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tINDEX idx_ver(version),\n\t\tUNIQUE INDEX tbl(table_id)\n\t);"] [2024/05/06 09:29:59.377 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=23] [category=ddl] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2024-05-06 09:29:59.363 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:29:59.381 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=10] [neededSchemaVersion=11] ["start time"=350.401µs] [gotSchemaVersion=11] [phyTblIDs="[22]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:29:59.382 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:29:59.382 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=23] [version=11] [2024/05/06 09:29:59.383 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=11] ["take time"=2.809194ms] [job="ID:23, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-06 09:29:59.363 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:29:59.388 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=23] [job="ID:23, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2024-05-06 09:29:59.363 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:29:59.392 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=23] [2024/05/06 09:29:59.392 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:29:59.393 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=11] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_histograms (\n\t\ttable_id \t\t\tBIGINT(64) NOT NULL,\n\t\tis_index \t\t\tTINYINT(2) NOT NULL,\n\t\thist_id \t\t\tBIGINT(64) NOT NULL,\n\t\tdistinct_count \t\tBIGINT(64) NOT NULL,\n\t\tnull_count \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\ttot_col_size \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tmodify_count \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tversion \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tcm_sketch \t\t\tBLOB(6291456),\n\t\tstats_ver \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tflag \t\t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcorrelation \t\tDOUBLE NOT NULL DEFAULT 0,\n\t\tlast_analyze_pos \tLONGBLOB DEFAULT NULL,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] [2024/05/06 09:29:59.393 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(6291456) to MEDIUMBLOB"] [category=ddl] [2024/05/06 09:29:59.396 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-06 09:29:59.394 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:29:59.397 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-06 09:29:59.394 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_histograms (\n\t\ttable_id \t\t\tBIGINT(64) NOT NULL,\n\t\tis_index \t\t\tTINYINT(2) NOT NULL,\n\t\thist_id \t\t\tBIGINT(64) NOT NULL,\n\t\tdistinct_count \t\tBIGINT(64) NOT NULL,\n\t\tnull_count \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\ttot_col_size \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tmodify_count \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tversion \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tcm_sketch \t\t\tBLOB(6291456),\n\t\tstats_ver \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tflag \t\t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcorrelation \t\tDOUBLE NOT NULL DEFAULT 0,\n\t\tlast_analyze_pos \tLONGBLOB DEFAULT NULL,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id)\n\t);"] [2024/05/06 09:29:59.404 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=25] [category=ddl] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2024-05-06 09:29:59.394 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:29:59.409 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=11] [neededSchemaVersion=12] ["start time"=454.442µs] [gotSchemaVersion=12] [phyTblIDs="[24]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:29:59.411 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:29:59.411 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=25] [version=12] [2024/05/06 09:29:59.413 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=12] ["take time"=4.200388ms] [job="ID:25, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-06 09:29:59.394 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:29:59.425 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=25] [job="ID:25, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2024-05-06 09:29:59.394 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:29:59.431 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=25] [2024/05/06 09:29:59.431 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:29:59.432 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=12] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_buckets (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tbucket_id \tBIGINT(64) NOT NULL,\n\t\tcount \t\tBIGINT(64) NOT NULL,\n\t\trepeats \tBIGINT(64) NOT NULL,\n\t\tupper_bound LONGBLOB NOT NULL,\n\t\tlower_bound LONGBLOB ,\n\t\tndv BIGINT NOT NULL DEFAULT 0,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id)\n\t);"] [user=] [2024/05/06 09:29:59.435 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-06 09:29:59.433 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:29:59.435 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-06 09:29:59.433 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_buckets (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tbucket_id \tBIGINT(64) NOT NULL,\n\t\tcount \t\tBIGINT(64) NOT NULL,\n\t\trepeats \tBIGINT(64) NOT NULL,\n\t\tupper_bound LONGBLOB NOT NULL,\n\t\tlower_bound LONGBLOB ,\n\t\tndv BIGINT NOT NULL DEFAULT 0,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id)\n\t);"] [2024/05/06 09:29:59.442 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=27] [category=ddl] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2024-05-06 09:29:59.433 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:29:59.446 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=12] [neededSchemaVersion=13] ["start time"=430.235µs] [gotSchemaVersion=13] [phyTblIDs="[26]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:29:59.448 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:29:59.448 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=27] [version=13] [2024/05/06 09:29:59.450 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=13] ["take time"=4.412136ms] [job="ID:27, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-06 09:29:59.433 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:29:59.456 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=27] [job="ID:27, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2024-05-06 09:29:59.433 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:29:59.459 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=27] [2024/05/06 09:29:59.459 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:29:59.460 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=13] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_index (job_id, element_id)\n\t);"] [user=] [2024/05/06 09:29:59.463 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-06 09:29:59.461 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:29:59.463 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-06 09:29:59.461 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_index (job_id, element_id)\n\t);"] [2024/05/06 09:29:59.471 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=29] [category=ddl] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2024-05-06 09:29:59.461 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:29:59.474 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=13] [neededSchemaVersion=14] ["start time"=210.218µs] [gotSchemaVersion=14] [phyTblIDs="[28]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:29:59.475 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:29:59.475 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=29] [version=14] [2024/05/06 09:29:59.475 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=14] ["take time"=2.115508ms] [job="ID:29, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-06 09:29:59.461 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:29:59.483 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=29] [job="ID:29, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2024-05-06 09:29:59.461 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:29:59.488 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=29] [2024/05/06 09:29:59.488 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:29:59.489 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=14] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_done_index (job_id, element_id)\n\t);"] [user=] [2024/05/06 09:29:59.496 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-06 09:29:59.49 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:29:59.496 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-06 09:29:59.49 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_done_index (job_id, element_id)\n\t);"] [2024/05/06 09:29:59.505 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=31] [category=ddl] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2024-05-06 09:29:59.49 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:29:59.508 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=14] [neededSchemaVersion=15] ["start time"=330.27µs] [gotSchemaVersion=15] [phyTblIDs="[30]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:29:59.509 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:29:59.509 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=31] [version=15] [2024/05/06 09:29:59.510 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=15] ["take time"=2.623023ms] [job="ID:31, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-06 09:29:59.49 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:29:59.520 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=31] [job="ID:31, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2024-05-06 09:29:59.49 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:29:59.523 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=31] [2024/05/06 09:29:59.523 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:29:59.523 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=15] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_feedback (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tfeedback \tBLOB NOT NULL,\n\t\tINDEX hist(table_id, is_index, hist_id)\n\t);"] [user=] [2024/05/06 09:29:59.526 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-06 09:29:59.525 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:29:59.526 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-06 09:29:59.525 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_feedback (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tfeedback \tBLOB NOT NULL,\n\t\tINDEX hist(table_id, is_index, hist_id)\n\t);"] [2024/05/06 09:29:59.537 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=33] [category=ddl] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2024-05-06 09:29:59.525 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:29:59.545 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=15] [neededSchemaVersion=16] ["start time"=1.940008ms] [gotSchemaVersion=16] [phyTblIDs="[32]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:29:59.546 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:29:59.546 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=33] [version=16] [2024/05/06 09:29:59.547 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=16] ["take time"=4.3081ms] [job="ID:33, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-06 09:29:59.525 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:29:59.553 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=33] [job="ID:33, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2024-05-06 09:29:59.525 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:29:59.556 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=33] [2024/05/06 09:29:59.556 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:29:59.557 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=16] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.role_edges (\n\t\tFROM_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tFROM_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tWITH_ADMIN_OPTION \tENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER)\n\t);"] [user=] [2024/05/06 09:29:59.559 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-06 09:29:59.558 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:29:59.559 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-06 09:29:59.558 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.role_edges (\n\t\tFROM_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tFROM_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tWITH_ADMIN_OPTION \tENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER)\n\t);"] [2024/05/06 09:29:59.569 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=35] [category=ddl] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2024-05-06 09:29:59.558 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:29:59.573 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=16] [neededSchemaVersion=17] ["start time"=588.379µs] [gotSchemaVersion=17] [phyTblIDs="[34]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:29:59.575 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:29:59.575 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=35] [version=17] [2024/05/06 09:29:59.577 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=17] ["take time"=4.456109ms] [job="ID:35, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-06 09:29:59.558 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:29:59.585 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=35] [job="ID:35, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2024-05-06 09:29:59.558 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:29:59.589 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=35] [2024/05/06 09:29:59.589 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:29:59.590 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=17] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.default_roles (\n\t\tHOST \t\t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tUSER \t\t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tDEFAULT_ROLE_HOST \tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%',\n\t\tDEFAULT_ROLE_USER \tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tPRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER)\n\t)"] [user=] [2024/05/06 09:29:59.593 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-06 09:29:59.591 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:29:59.593 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-06 09:29:59.591 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.default_roles (\n\t\tHOST \t\t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tUSER \t\t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tDEFAULT_ROLE_HOST \tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%',\n\t\tDEFAULT_ROLE_USER \tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tPRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER)\n\t)"] [2024/05/06 09:29:59.600 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=37] [category=ddl] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2024-05-06 09:29:59.591 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:29:59.606 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=18] ["start time"=303.346µs] [gotSchemaVersion=18] [phyTblIDs="[36]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:29:59.608 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:29:59.608 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=37] [version=18] [2024/05/06 09:29:59.610 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=18] ["take time"=4.254221ms] [job="ID:37, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-06 09:29:59.591 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:29:59.621 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=37] [job="ID:37, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2024-05-06 09:29:59.591 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:29:59.624 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=37] [2024/05/06 09:29:59.624 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:29:59.625 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=18] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql TEXT NOT NULL,\n\t\tbind_sql TEXT NOT NULL,\n\t\tdefault_db TEXT NOT NULL,\n\t\tstatus TEXT NOT NULL,\n\t\tcreate_time TIMESTAMP(3) NOT NULL,\n\t\tupdate_time TIMESTAMP(3) NOT NULL,\n\t\tcharset TEXT NOT NULL,\n\t\tcollation TEXT NOT NULL,\n\t\tsource VARCHAR(10) NOT NULL DEFAULT 'unknown',\n\t\tsql_digest varchar(64),\n\t\tplan_digest varchar(64),\n\t\tINDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\",\n\t\tINDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2024/05/06 09:29:59.631 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-06 09:29:59.626 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:29:59.631 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-06 09:29:59.626 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql TEXT NOT NULL,\n\t\tbind_sql TEXT NOT NULL,\n\t\tdefault_db TEXT NOT NULL,\n\t\tstatus TEXT NOT NULL,\n\t\tcreate_time TIMESTAMP(3) NOT NULL,\n\t\tupdate_time TIMESTAMP(3) NOT NULL,\n\t\tcharset TEXT NOT NULL,\n\t\tcollation TEXT NOT NULL,\n\t\tsource VARCHAR(10) NOT NULL DEFAULT 'unknown',\n\t\tsql_digest varchar(64),\n\t\tplan_digest varchar(64),\n\t\tINDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\",\n\t\tINDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2024/05/06 09:29:59.638 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=39] [category=ddl] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2024-05-06 09:29:59.626 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:29:59.642 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=18] [neededSchemaVersion=19] ["start time"=320.273µs] [gotSchemaVersion=19] [phyTblIDs="[38]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:29:59.643 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:29:59.643 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=39] [version=19] [2024/05/06 09:29:59.644 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=19] ["take time"=2.971757ms] [job="ID:39, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-06 09:29:59.626 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:29:59.650 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=39] [job="ID:39, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2024-05-06 09:29:59.626 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:29:59.653 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=39] [2024/05/06 09:29:59.654 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:29:59.655 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=19] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_top_n (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tcount \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] [2024/05/06 09:29:59.658 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-06 09:29:59.656 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:29:59.658 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-06 09:29:59.656 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_top_n (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tcount \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [2024/05/06 09:29:59.672 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=41] [category=ddl] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2024-05-06 09:29:59.656 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:29:59.675 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=19] [neededSchemaVersion=20] ["start time"=231.961µs] [gotSchemaVersion=20] [phyTblIDs="[40]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:29:59.677 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:29:59.677 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=41] [version=20] [2024/05/06 09:29:59.677 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=20] ["take time"=2.008046ms] [job="ID:41, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-06 09:29:59.656 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:29:59.688 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=41] [job="ID:41, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2024-05-06 09:29:59.656 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:29:59.692 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=41] [2024/05/06 09:29:59.692 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:29:59.692 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=20] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.expr_pushdown_blacklist (\n\t\tname \t\tCHAR(100) NOT NULL,\n\t\tstore_type \tCHAR(100) NOT NULL DEFAULT 'tikv,tiflash,tidb',\n\t\treason \t\tVARCHAR(200)\n\t);"] [user=] [2024/05/06 09:29:59.695 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-06 09:29:59.694 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:29:59.695 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-06 09:29:59.694 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.expr_pushdown_blacklist (\n\t\tname \t\tCHAR(100) NOT NULL,\n\t\tstore_type \tCHAR(100) NOT NULL DEFAULT 'tikv,tiflash,tidb',\n\t\treason \t\tVARCHAR(200)\n\t);"] [2024/05/06 09:29:59.711 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=43] [category=ddl] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2024-05-06 09:29:59.694 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:29:59.714 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=20] [neededSchemaVersion=21] ["start time"=251.131µs] [gotSchemaVersion=21] [phyTblIDs="[42]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:29:59.716 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:29:59.716 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=43] [version=21] [2024/05/06 09:29:59.716 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=21] ["take time"=2.025718ms] [job="ID:43, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-06 09:29:59.694 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:29:59.725 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=43] [job="ID:43, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2024-05-06 09:29:59.694 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:29:59.729 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=43] [2024/05/06 09:29:59.729 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:29:59.729 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=21] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] [user=] [2024/05/06 09:29:59.732 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-06 09:29:59.731 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:29:59.732 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-06 09:29:59.731 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] [2024/05/06 09:29:59.740 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=45] [category=ddl] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2024-05-06 09:29:59.731 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:29:59.743 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=21] [neededSchemaVersion=22] ["start time"=165.345µs] [gotSchemaVersion=22] [phyTblIDs="[44]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:29:59.744 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:29:59.744 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=45] [version=22] [2024/05/06 09:29:59.745 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=22] ["take time"=2.957205ms] [job="ID:45, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-06 09:29:59.731 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:29:59.751 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=45] [job="ID:45, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2024-05-06 09:29:59.731 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:29:59.755 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=45] [2024/05/06 09:29:59.755 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:29:59.755 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=22] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_extended (\n\t\tname varchar(32) NOT NULL,\n\t\ttype tinyint(4) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcolumn_ids varchar(32) NOT NULL,\n\t\tstats blob DEFAULT NULL,\n\t\tversion bigint(64) unsigned NOT NULL,\n\t\tstatus tinyint(4) NOT NULL,\n\t\tPRIMARY KEY(name, table_id),\n\t\tKEY idx_1 (table_id, status, version),\n\t\tKEY idx_2 (status, version)\n\t);"] [user=] [2024/05/06 09:29:59.759 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-06 09:29:59.757 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:29:59.759 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-06 09:29:59.757 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_extended (\n\t\tname varchar(32) NOT NULL,\n\t\ttype tinyint(4) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcolumn_ids varchar(32) NOT NULL,\n\t\tstats blob DEFAULT NULL,\n\t\tversion bigint(64) unsigned NOT NULL,\n\t\tstatus tinyint(4) NOT NULL,\n\t\tPRIMARY KEY(name, table_id),\n\t\tKEY idx_1 (table_id, status, version),\n\t\tKEY idx_2 (status, version)\n\t);"] [2024/05/06 09:29:59.767 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=47] [category=ddl] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2024-05-06 09:29:59.757 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:29:59.771 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=22] [neededSchemaVersion=23] ["start time"=461.37µs] [gotSchemaVersion=23] [phyTblIDs="[46]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:29:59.773 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:29:59.773 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=47] [version=23] [2024/05/06 09:29:59.773 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=23] ["take time"=2.032728ms] [job="ID:47, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-06 09:29:59.757 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:29:59.785 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=47] [job="ID:47, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2024-05-06 09:29:59.757 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:29:59.790 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=47] [2024/05/06 09:29:59.790 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:29:59.791 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=23] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] [2024/05/06 09:29:59.793 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-06 09:29:59.792 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:29:59.793 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-06 09:29:59.792 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [2024/05/06 09:29:59.801 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=49] [category=ddl] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2024-05-06 09:29:59.792 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:29:59.803 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=23] [neededSchemaVersion=24] ["start time"=181.042µs] [gotSchemaVersion=24] [phyTblIDs="[48]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:29:59.804 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:29:59.804 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=49] [version=24] [2024/05/06 09:29:59.805 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=24] ["take time"=2.303013ms] [job="ID:49, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-06 09:29:59.792 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:29:59.812 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=49] [job="ID:49, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2024-05-06 09:29:59.792 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:29:59.816 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=49] [2024/05/06 09:29:59.816 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:29:59.817 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=24] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.global_grants (\n\t\tUSER char(32) NOT NULL DEFAULT '',\n\t\tHOST char(255) NOT NULL DEFAULT '',\n\t\tPRIV char(32) NOT NULL DEFAULT '',\n\t\tWITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (USER,HOST,PRIV)\n\t);"] [user=] [2024/05/06 09:29:59.820 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-06 09:29:59.818 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:29:59.820 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-06 09:29:59.818 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.global_grants (\n\t\tUSER char(32) NOT NULL DEFAULT '',\n\t\tHOST char(255) NOT NULL DEFAULT '',\n\t\tPRIV char(32) NOT NULL DEFAULT '',\n\t\tWITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (USER,HOST,PRIV)\n\t);"] [2024/05/06 09:29:59.830 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=51] [category=ddl] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2024-05-06 09:29:59.818 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:29:59.834 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=24] [neededSchemaVersion=25] ["start time"=284.893µs] [gotSchemaVersion=25] [phyTblIDs="[50]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:29:59.835 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:29:59.835 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=51] [version=25] [2024/05/06 09:29:59.836 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=25] ["take time"=3.066345ms] [job="ID:51, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-06 09:29:59.818 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:29:59.843 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=51] [job="ID:51, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2024-05-06 09:29:59.818 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:29:59.849 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=51] [2024/05/06 09:29:59.849 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:29:59.850 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=25] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist (\n\t\tid bigint(64) auto_increment,\n\t\tfilter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\",\n\t\tfilter_value varchar(32) NOT NULL,\n\t\tkey idx(filter_type),\n\t\tprimary key(id)\n\t);"] [user=] [2024/05/06 09:29:59.853 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-06 09:29:59.851 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:29:59.853 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-06 09:29:59.851 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist (\n\t\tid bigint(64) auto_increment,\n\t\tfilter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\",\n\t\tfilter_value varchar(32) NOT NULL,\n\t\tkey idx(filter_type),\n\t\tprimary key(id)\n\t);"] [2024/05/06 09:29:59.859 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=53] [category=ddl] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2024-05-06 09:29:59.851 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:29:59.862 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=25] [neededSchemaVersion=26] ["start time"=256.568µs] [gotSchemaVersion=26] [phyTblIDs="[52]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:29:59.863 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:29:59.863 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=53] [version=26] [2024/05/06 09:29:59.864 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=26] ["take time"=2.969803ms] [job="ID:53, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-06 09:29:59.851 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:29:59.871 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=53] [job="ID:53, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2024-05-06 09:29:59.851 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:29:59.875 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=53] [2024/05/06 09:29:59.875 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:29:59.875 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=26] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.column_stats_usage (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tcolumn_id BIGINT(64) NOT NULL,\n\t\tlast_used_at TIMESTAMP,\n\t\tlast_analyzed_at TIMESTAMP,\n\t\tPRIMARY KEY (table_id, column_id) CLUSTERED\n\t);"] [user=] [2024/05/06 09:29:59.879 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-06 09:29:59.877 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:29:59.879 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-06 09:29:59.877 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.column_stats_usage (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tcolumn_id BIGINT(64) NOT NULL,\n\t\tlast_used_at TIMESTAMP,\n\t\tlast_analyzed_at TIMESTAMP,\n\t\tPRIMARY KEY (table_id, column_id) CLUSTERED\n\t);"] [2024/05/06 09:29:59.885 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=55] [category=ddl] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2024-05-06 09:29:59.877 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:29:59.888 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=26] [neededSchemaVersion=27] ["start time"=265.945µs] [gotSchemaVersion=27] [phyTblIDs="[54]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:29:59.890 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:29:59.890 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=55] [version=27] [2024/05/06 09:29:59.890 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=27] ["take time"=2.09912ms] [job="ID:55, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-06 09:29:59.877 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:29:59.895 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=55] [job="ID:55, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2024-05-06 09:29:59.877 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:29:59.899 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=55] [2024/05/06 09:29:59.899 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:29:59.900 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=27] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.table_cache_meta (\n\t\ttid bigint(11) NOT NULL DEFAULT 0,\n\t\tlock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE',\n\t\tlease bigint(20) NOT NULL DEFAULT 0,\n\t\toldReadLease bigint(20) NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (tid)\n\t);"] [user=] [2024/05/06 09:29:59.910 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-06 09:29:59.909 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:29:59.910 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-06 09:29:59.909 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.table_cache_meta (\n\t\ttid bigint(11) NOT NULL DEFAULT 0,\n\t\tlock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE',\n\t\tlease bigint(20) NOT NULL DEFAULT 0,\n\t\toldReadLease bigint(20) NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (tid)\n\t);"] [2024/05/06 09:29:59.918 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=57] [category=ddl] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2024-05-06 09:29:59.909 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:29:59.921 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=27] [neededSchemaVersion=28] ["start time"=263.498µs] [gotSchemaVersion=28] [phyTblIDs="[56]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:29:59.922 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:29:59.922 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=57] [version=28] [2024/05/06 09:29:59.923 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=28] ["take time"=2.141464ms] [job="ID:57, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-06 09:29:59.909 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:29:59.931 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=57] [job="ID:57, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2024-05-06 09:29:59.909 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:29:59.934 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=57] [2024/05/06 09:29:59.934 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:29:59.934 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=28] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_options (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tsample_num BIGINT(64) NOT NULL DEFAULT 0,\n\t\tsample_rate DOUBLE NOT NULL DEFAULT -1,\n\t\tbuckets BIGINT(64) NOT NULL DEFAULT 0,\n\t\ttopn BIGINT(64) NOT NULL DEFAULT -1,\n\t\tcolumn_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT',\n\t\tcolumn_ids TEXT(19372),\n\t\tPRIMARY KEY (table_id) CLUSTERED\n\t);"] [user=] [2024/05/06 09:29:59.934 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(19372) to MEDIUMBLOB"] [category=ddl] [2024/05/06 09:29:59.937 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-06 09:29:59.936 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:29:59.938 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-06 09:29:59.936 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.analyze_options (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tsample_num BIGINT(64) NOT NULL DEFAULT 0,\n\t\tsample_rate DOUBLE NOT NULL DEFAULT -1,\n\t\tbuckets BIGINT(64) NOT NULL DEFAULT 0,\n\t\ttopn BIGINT(64) NOT NULL DEFAULT -1,\n\t\tcolumn_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT',\n\t\tcolumn_ids TEXT(19372),\n\t\tPRIMARY KEY (table_id) CLUSTERED\n\t);"] [2024/05/06 09:29:59.945 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=59] [category=ddl] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2024-05-06 09:29:59.936 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:29:59.947 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=28] [neededSchemaVersion=29] ["start time"=206.21µs] [gotSchemaVersion=29] [phyTblIDs="[58]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:29:59.948 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:29:59.948 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=59] [version=29] [2024/05/06 09:29:59.949 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=29] ["take time"=2.047306ms] [job="ID:59, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-06 09:29:59.936 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:29:59.955 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=59] [job="ID:59, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2024-05-06 09:29:59.936 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:29:59.961 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=59] [2024/05/06 09:29:59.961 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:29:59.962 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=29] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tstats_data longblob NOT NULL,\n\t\tseq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice',\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version_seq (table_id, version, seq_no),\n\t\tKEY table_create_time (table_id, create_time, seq_no),\n \tKEY idx_create_time (create_time)\n\t);"] [user=] [2024/05/06 09:29:59.975 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-06 09:29:59.964 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:29:59.975 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-06 09:29:59.964 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tstats_data longblob NOT NULL,\n\t\tseq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice',\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version_seq (table_id, version, seq_no),\n\t\tKEY table_create_time (table_id, create_time, seq_no),\n \tKEY idx_create_time (create_time)\n\t);"] [2024/05/06 09:29:59.988 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=61] [category=ddl] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2024-05-06 09:29:59.964 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:00.006 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=29] [neededSchemaVersion=30] ["start time"=553.296µs] [gotSchemaVersion=30] [phyTblIDs="[60]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:00.008 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:00.008 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=61] [version=30] [2024/05/06 09:30:00.022 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=30] ["take time"=14.884899ms] [job="ID:61, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-06 09:29:59.964 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:00.023 +00:00] [WARN] [runaway.go:166] ["failed to start runaway manager loop, please check whether the bootstrap or update is finished"] [error="[schema:1146]Table 'mysql.tidb_runaway_watch' doesn't exist"] [errorVerbose="[schema:1146]Table 'mysql.tidb_runaway_watch' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:141\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:67\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2089\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternalStmt\n\tpkg/session/session.go:1993\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL.func1\n\tpkg/session/session.go:1958\ngithub.com/pingcap/tidb/pkg/session.(*session).withRestrictedSQLExecutor\n\tpkg/session/session.go:1944\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL\n\tpkg/session/session.go:1948\ngithub.com/pingcap/tidb/pkg/domain.(*SystemTableReader).Read\n\tpkg/domain/runaway.go:655\ngithub.com/pingcap/tidb/pkg/domain.getRunawayWatchRecord\n\tpkg/domain/runaway.go:543\ngithub.com/pingcap/tidb/pkg/domain.(*runawaySyncer).getWatchRecord\n\tpkg/domain/runaway.go:526\ngithub.com/pingcap/tidb/pkg/domain.(*runawaySyncer).getNewWatchRecords\n\tpkg/domain/runaway.go:509\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).updateNewAndDoneWatch\n\tpkg/domain/runaway.go:177\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).runawayStartLoop\n\tpkg/domain/runaway.go:156\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:99\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [2024/05/06 09:30:00.029 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=61] [job="ID:61, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2024-05-06 09:29:59.964 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:00.034 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=61] [2024/05/06 09:30:00.034 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:00.034 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=30] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_meta_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL,\n\t\tcount bigint(64) NOT NULL,\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n \tsource varchar(40) NOT NULL,\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version (table_id, version),\n\t\tKEY table_create_time (table_id, create_time),\n \tKEY idx_create_time (create_time)\n\t);"] [user=] [2024/05/06 09:30:00.038 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:00.036 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:00.038 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:00.036 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_meta_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL,\n\t\tcount bigint(64) NOT NULL,\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n \tsource varchar(40) NOT NULL,\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version (table_id, version),\n\t\tKEY table_create_time (table_id, create_time),\n \tKEY idx_create_time (create_time)\n\t);"] [2024/05/06 09:30:00.045 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=63] [category=ddl] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:00.036 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:00.049 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=30] [neededSchemaVersion=31] ["start time"=332.036µs] [gotSchemaVersion=31] [phyTblIDs="[62]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:00.050 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:00.051 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=63] [version=31] [2024/05/06 09:30:00.052 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=31] ["take time"=3.040847ms] [job="ID:63, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:00.036 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:00.056 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=63] [job="ID:63, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:00.036 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:00.060 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=63] [2024/05/06 09:30:00.060 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:00.061 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=31] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_jobs (\n\t\tid BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\ttable_schema CHAR(64) NOT NULL DEFAULT '',\n\t\ttable_name CHAR(64) NOT NULL DEFAULT '',\n\t\tpartition_name CHAR(64) NOT NULL DEFAULT '',\n\t\tjob_info TEXT NOT NULL,\n\t\tprocessed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tstart_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tstate ENUM('pending', 'running', 'finished', 'failed') NOT NULL,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job',\n\t\tprocess_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job',\n\t\tPRIMARY KEY (id),\n\t\tKEY (update_time)\n\t);"] [user=] [2024/05/06 09:30:00.064 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:00.062 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:00.064 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:00.062 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.analyze_jobs (\n\t\tid BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\ttable_schema CHAR(64) NOT NULL DEFAULT '',\n\t\ttable_name CHAR(64) NOT NULL DEFAULT '',\n\t\tpartition_name CHAR(64) NOT NULL DEFAULT '',\n\t\tjob_info TEXT NOT NULL,\n\t\tprocessed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tstart_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tstate ENUM('pending', 'running', 'finished', 'failed') NOT NULL,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job',\n\t\tprocess_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job',\n\t\tPRIMARY KEY (id),\n\t\tKEY (update_time)\n\t);"] [2024/05/06 09:30:00.073 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=65] [category=ddl] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:00.062 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:00.081 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=31] [neededSchemaVersion=32] ["start time"=516.082µs] [gotSchemaVersion=32] [phyTblIDs="[64]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:00.083 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:00.083 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=65] [version=32] [2024/05/06 09:30:00.086 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=32] ["take time"=5.424443ms] [job="ID:65, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:00.062 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:00.092 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=65] [job="ID:65, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:00.062 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:00.100 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=65] [2024/05/06 09:30:00.100 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:00.101 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=32] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] [user=] [2024/05/06 09:30:00.104 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:00.102 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:00.104 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:00.102 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] [2024/05/06 09:30:00.109 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=67] [category=ddl] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:00.102 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:00.112 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=211.709µs] [gotSchemaVersion=33] [phyTblIDs="[66]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:00.113 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:00.113 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=67] [version=33] [2024/05/06 09:30:00.113 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=33] ["take time"=2.011562ms] [job="ID:67, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:00.102 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:00.118 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=67] [job="ID:67, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:00.102 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:00.121 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=67] [2024/05/06 09:30:00.121 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:00.125 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2024-05-06 09:30:00.123 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:00.125 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2024-05-06 09:30:00.123 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE OR REPLACE VIEW mysql.tidb_mdl_view as (\n\t\tSELECT tidb_mdl_info.job_id,\n\t\t\tJSON_UNQUOTE(JSON_EXTRACT(cast(cast(job_meta as char) as json), \"$.schema_name\")) as db_name,\n\t\t\tJSON_UNQUOTE(JSON_EXTRACT(cast(cast(job_meta as char) as json), \"$.table_name\")) as table_name,\n\t\t\tJSON_UNQUOTE(JSON_EXTRACT(cast(cast(job_meta as char) as json), \"$.query\")) as query,\n\t\t\tsession_id,\n\t\t\tcluster_tidb_trx.start_time,\n\t\t\ttidb_decode_sql_digests(all_sql_digests, 4096) AS SQL_DIGESTS\n\t\tFROM mysql.tidb_ddl_job,\n\t\t\tmysql.tidb_mdl_info,\n\t\t\tinformation_schema.cluster_tidb_trx\n\t\tWHERE tidb_ddl_job.job_id=tidb_mdl_info.job_id\n\t\t\tAND CONCAT(',', tidb_mdl_info.table_ids, ',') REGEXP CONCAT(',', REPLACE(cluster_tidb_trx.related_table_ids, ',', '|'), ',') != 0\n\t);"] [2024/05/06 09:30:00.132 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=69] [category=ddl] [job="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:00.123 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:00.136 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=33] [neededSchemaVersion=34] ["start time"=310.23µs] [gotSchemaVersion=34] [phyTblIDs="[68]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2024/05/06 09:30:00.137 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:00.137 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=69] [version=34] [2024/05/06 09:30:00.138 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=34] ["take time"=2.425427ms] [job="ID:69, Type:create view, State:done, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2024-05-06 09:30:00.123 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:00.143 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=69] [job="ID:69, Type:create view, State:synced, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:00.123 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:00.146 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=69] [2024/05/06 09:30:00.146 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:00.146 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=34] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_status (\n\t\tsql_digest VARCHAR(128),\n\t\tplan_digest VARCHAR(128),\n\t\torigin_sql TEXT,\n\t\ttoken VARCHAR(128),\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the plan replayer job');"] [user=] [2024/05/06 09:30:00.149 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:00.148 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:00.149 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:00.148 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_status (\n\t\tsql_digest VARCHAR(128),\n\t\tplan_digest VARCHAR(128),\n\t\torigin_sql TEXT,\n\t\ttoken VARCHAR(128),\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the plan replayer job');"] [2024/05/06 09:30:00.167 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=71] [category=ddl] [job="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:00.148 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:00.172 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=34] [neededSchemaVersion=35] ["start time"=470.861µs] [gotSchemaVersion=35] [phyTblIDs="[70]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:00.175 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:00.175 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=71] [version=35] [2024/05/06 09:30:00.177 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=35] ["take time"=5.011242ms] [job="ID:71, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:00.148 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:00.185 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=71] [job="ID:71, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:00.148 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:00.189 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=71] [2024/05/06 09:30:00.189 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:00.190 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=35] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_task (\n\t\tsql_digest VARCHAR(128) NOT NULL,\n\t\tplan_digest VARCHAR(128) NOT NULL,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tPRIMARY KEY (sql_digest,plan_digest));"] [user=] [2024/05/06 09:30:00.196 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:00.193 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:00.196 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:00.193 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_task (\n\t\tsql_digest VARCHAR(128) NOT NULL,\n\t\tplan_digest VARCHAR(128) NOT NULL,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tPRIMARY KEY (sql_digest,plan_digest));"] [2024/05/06 09:30:00.210 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=73] [category=ddl] [job="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:00.193 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:00.213 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=35] [neededSchemaVersion=36] ["start time"=204.6µs] [gotSchemaVersion=36] [phyTblIDs="[72]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:00.214 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:00.214 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=73] [version=36] [2024/05/06 09:30:00.215 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=36] ["take time"=2.084971ms] [job="ID:73, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:00.193 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:00.220 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=73] [job="ID:73, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:00.193 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:00.226 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=73] [2024/05/06 09:30:00.226 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:00.226 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=36] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_table_locked(\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL DEFAULT 0,\n\t\tcount bigint(64) NOT NULL DEFAULT 0,\n\t\tversion bigint(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (table_id));"] [user=] [2024/05/06 09:30:00.230 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:00.228 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:00.230 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:00.228 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_table_locked(\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL DEFAULT 0,\n\t\tcount bigint(64) NOT NULL DEFAULT 0,\n\t\tversion bigint(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (table_id));"] [2024/05/06 09:30:00.238 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=75] [category=ddl] [job="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:00.228 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:00.242 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=36] [neededSchemaVersion=37] ["start time"=227.144µs] [gotSchemaVersion=37] [phyTblIDs="[74]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:00.244 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:00.244 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=75] [version=37] [2024/05/06 09:30:00.244 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=37] ["take time"=2.060781ms] [job="ID:75, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:00.228 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:00.251 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=75] [job="ID:75, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:00.228 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:00.256 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=75] [2024/05/06 09:30:00.256 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:00.256 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=37] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_table_status (\n\t\ttable_id bigint(64) PRIMARY KEY,\n parent_table_id bigint(64),\n table_statistics text DEFAULT NULL,\n\t\tlast_job_id varchar(64) DEFAULT NULL,\n\t\tlast_job_start_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_finish_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_ttl_expire timestamp NULL DEFAULT NULL,\n last_job_summary text DEFAULT NULL,\n\t\tcurrent_job_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_addr varchar(256) DEFAULT NULL,\n\t\tcurrent_job_owner_hb_time timestamp,\n\t\tcurrent_job_start_time timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_ttl_expire timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_state text DEFAULT NULL,\n\t\tcurrent_job_status varchar(64) DEFAULT NULL,\n \t\tcurrent_job_status_update_time timestamp NULL DEFAULT NULL);"] [user=] [2024/05/06 09:30:00.260 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:00.258 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:00.260 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:00.258 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_table_status (\n\t\ttable_id bigint(64) PRIMARY KEY,\n parent_table_id bigint(64),\n table_statistics text DEFAULT NULL,\n\t\tlast_job_id varchar(64) DEFAULT NULL,\n\t\tlast_job_start_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_finish_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_ttl_expire timestamp NULL DEFAULT NULL,\n last_job_summary text DEFAULT NULL,\n\t\tcurrent_job_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_addr varchar(256) DEFAULT NULL,\n\t\tcurrent_job_owner_hb_time timestamp,\n\t\tcurrent_job_start_time timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_ttl_expire timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_state text DEFAULT NULL,\n\t\tcurrent_job_status varchar(64) DEFAULT NULL,\n \t\tcurrent_job_status_update_time timestamp NULL DEFAULT NULL);"] [2024/05/06 09:30:00.271 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=77] [category=ddl] [job="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:00.258 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:00.278 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=37] [neededSchemaVersion=38] ["start time"=465.627µs] [gotSchemaVersion=38] [phyTblIDs="[76]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:00.279 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:00.279 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=77] [version=38] [2024/05/06 09:30:00.285 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=38] ["take time"=7.960011ms] [job="ID:77, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:00.258 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:00.301 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=77] [job="ID:77, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:00.258 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:00.306 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=77] [2024/05/06 09:30:00.306 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:00.306 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=38] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_task (\n\t\tjob_id varchar(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tscan_id int NOT NULL,\n\t\tscan_range_start BLOB,\n\t\tscan_range_end BLOB,\n\t\texpire_time timestamp NOT NULL,\n\t\towner_id varchar(64) DEFAULT NULL,\n\t\towner_addr varchar(64) DEFAULT NULL,\n\t\towner_hb_time timestamp DEFAULT NULL,\n\t\tstatus varchar(64) DEFAULT 'waiting',\n\t\tstatus_update_time timestamp NULL DEFAULT NULL,\n\t\tstate text,\n\t\tcreated_time timestamp NOT NULL,\n\t\tprimary key(job_id, scan_id),\n\t\tkey(created_time));"] [user=] [2024/05/06 09:30:00.310 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:00.308 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:00.310 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:00.308 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_task (\n\t\tjob_id varchar(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tscan_id int NOT NULL,\n\t\tscan_range_start BLOB,\n\t\tscan_range_end BLOB,\n\t\texpire_time timestamp NOT NULL,\n\t\towner_id varchar(64) DEFAULT NULL,\n\t\towner_addr varchar(64) DEFAULT NULL,\n\t\towner_hb_time timestamp DEFAULT NULL,\n\t\tstatus varchar(64) DEFAULT 'waiting',\n\t\tstatus_update_time timestamp NULL DEFAULT NULL,\n\t\tstate text,\n\t\tcreated_time timestamp NOT NULL,\n\t\tprimary key(job_id, scan_id),\n\t\tkey(created_time));"] [2024/05/06 09:30:00.316 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=79] [category=ddl] [job="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:00.308 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:00.321 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=38] [neededSchemaVersion=39] ["start time"=438.986µs] [gotSchemaVersion=39] [phyTblIDs="[78]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:00.322 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:00.322 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=79] [version=39] [2024/05/06 09:30:00.323 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=39] ["take time"=2.632525ms] [job="ID:79, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:00.308 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:00.328 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=79] [job="ID:79, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:00.308 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:00.337 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=79] [2024/05/06 09:30:00.337 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:00.338 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=39] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_job_history (\n\t\tjob_id varchar(64) PRIMARY KEY,\n\t\ttable_id bigint(64) NOT NULL,\n parent_table_id bigint(64) NOT NULL,\n \ttable_schema varchar(64) NOT NULL,\n\t\ttable_name varchar(64) NOT NULL,\n \tpartition_name varchar(64) DEFAULT NULL,\n\t\tcreate_time timestamp NOT NULL,\n\t\tfinish_time timestamp NOT NULL,\n\t\tttl_expire timestamp NOT NULL,\n summary_text text,\n\t\texpired_rows bigint(64) DEFAULT NULL,\n \tdeleted_rows bigint(64) DEFAULT NULL,\n \terror_delete_rows bigint(64) DEFAULT NULL,\n \tstatus varchar(64) NOT NULL,\n \tkey(table_schema, table_name, create_time),\n \tkey(parent_table_id, create_time),\n \tkey(create_time)\n\t);"] [user=] [2024/05/06 09:30:00.343 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:00.341 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:00.343 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:00.341 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_job_history (\n\t\tjob_id varchar(64) PRIMARY KEY,\n\t\ttable_id bigint(64) NOT NULL,\n parent_table_id bigint(64) NOT NULL,\n \ttable_schema varchar(64) NOT NULL,\n\t\ttable_name varchar(64) NOT NULL,\n \tpartition_name varchar(64) DEFAULT NULL,\n\t\tcreate_time timestamp NOT NULL,\n\t\tfinish_time timestamp NOT NULL,\n\t\tttl_expire timestamp NOT NULL,\n summary_text text,\n\t\texpired_rows bigint(64) DEFAULT NULL,\n \tdeleted_rows bigint(64) DEFAULT NULL,\n \terror_delete_rows bigint(64) DEFAULT NULL,\n \tstatus varchar(64) NOT NULL,\n \tkey(table_schema, table_name, create_time),\n \tkey(parent_table_id, create_time),\n \tkey(create_time)\n\t);"] [2024/05/06 09:30:00.349 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=81] [category=ddl] [job="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:80, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:00.341 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:00.353 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=39] [neededSchemaVersion=40] ["start time"=382.15µs] [gotSchemaVersion=40] [phyTblIDs="[80]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:00.354 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:00.354 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=81] [version=40] [2024/05/06 09:30:00.354 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=40] ["take time"=2.117883ms] [job="ID:81, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:00.341 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:00.365 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=81] [job="ID:81, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:80, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:00.341 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:00.372 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=81] [2024/05/06 09:30:00.372 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:00.373 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=40] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(261),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tpriority INT DEFAULT 1,\n\t\tcreate_time TIMESTAMP,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\ttarget_scope VARCHAR(256) DEFAULT \"\",\n\t\terror BLOB,\n\t\tkey(state),\n \tUNIQUE KEY task_key(task_key)\n\t);"] [user=] [2024/05/06 09:30:00.377 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:00.374 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:00.377 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:00.374 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(261),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tpriority INT DEFAULT 1,\n\t\tcreate_time TIMESTAMP,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\ttarget_scope VARCHAR(256) DEFAULT \"\",\n\t\terror BLOB,\n\t\tkey(state),\n \tUNIQUE KEY task_key(task_key)\n\t);"] [2024/05/06 09:30:00.385 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=83] [category=ddl] [job="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:82, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:00.374 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:00.390 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=40] [neededSchemaVersion=41] ["start time"=510.624µs] [gotSchemaVersion=41] [phyTblIDs="[82]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:00.391 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:00.391 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=83] [version=41] [2024/05/06 09:30:00.392 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=41] ["take time"=2.360226ms] [job="ID:83, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:00.374 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:00.396 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=83] [job="ID:83, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:82, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:00.374 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:00.401 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=83] [2024/05/06 09:30:00.401 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:00.402 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=41] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task_history (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(261),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tpriority INT DEFAULT 1,\n\t\tcreate_time TIMESTAMP,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\ttarget_scope VARCHAR(256) DEFAULT \"\",\n\t\terror BLOB,\n\t\tkey(state),\n \tUNIQUE KEY task_key(task_key)\n\t);"] [user=] [2024/05/06 09:30:00.405 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:85, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:84, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:00.403 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:00.405 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:85, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:84, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:00.403 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task_history (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(261),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tpriority INT DEFAULT 1,\n\t\tcreate_time TIMESTAMP,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\ttarget_scope VARCHAR(256) DEFAULT \"\",\n\t\terror BLOB,\n\t\tkey(state),\n \tUNIQUE KEY task_key(task_key)\n\t);"] [2024/05/06 09:30:00.412 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=85] [category=ddl] [job="ID:85, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:84, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:00.403 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:00.416 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=41] [neededSchemaVersion=42] ["start time"=464.251µs] [gotSchemaVersion=42] [phyTblIDs="[84]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:00.417 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:00.417 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=85] [version=42] [2024/05/06 09:30:00.418 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=42] ["take time"=2.779011ms] [job="ID:85, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:84, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:00.403 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:00.422 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=85] [job="ID:85, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:84, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:00.403 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:00.426 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=85] [2024/05/06 09:30:00.426 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:00.426 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=42] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_import_jobs (\n\t\tid bigint(64) NOT NULL AUTO_INCREMENT,\n\t\tcreate_time TIMESTAMP(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n\t\tstart_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tupdate_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tend_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\ttable_schema VARCHAR(64) NOT NULL,\n\t\ttable_name VARCHAR(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcreated_by VARCHAR(300) NOT NULL,\n\t\tparameters text NOT NULL,\n\t\tsource_file_size bigint(64) NOT NULL,\n\t\tstatus VARCHAR(64) NOT NULL,\n\t\tstep VARCHAR(64) NOT NULL,\n\t\tsummary text DEFAULT NULL,\n\t\terror_message TEXT DEFAULT NULL,\n\t\tPRIMARY KEY (id),\n\t\tKEY (created_by),\n\t\tKEY (status));"] [user=] [2024/05/06 09:30:00.429 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:87, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:86, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:00.428 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:00.429 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:87, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:86, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:00.428 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_import_jobs (\n\t\tid bigint(64) NOT NULL AUTO_INCREMENT,\n\t\tcreate_time TIMESTAMP(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n\t\tstart_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tupdate_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tend_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\ttable_schema VARCHAR(64) NOT NULL,\n\t\ttable_name VARCHAR(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcreated_by VARCHAR(300) NOT NULL,\n\t\tparameters text NOT NULL,\n\t\tsource_file_size bigint(64) NOT NULL,\n\t\tstatus VARCHAR(64) NOT NULL,\n\t\tstep VARCHAR(64) NOT NULL,\n\t\tsummary text DEFAULT NULL,\n\t\terror_message TEXT DEFAULT NULL,\n\t\tPRIMARY KEY (id),\n\t\tKEY (created_by),\n\t\tKEY (status));"] [2024/05/06 09:30:00.435 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=87] [category=ddl] [job="ID:87, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:86, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:00.428 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:00.440 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=42] [neededSchemaVersion=43] ["start time"=481.445µs] [gotSchemaVersion=43] [phyTblIDs="[86]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:00.441 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:00.441 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=87] [version=43] [2024/05/06 09:30:00.442 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=43] ["take time"=2.313137ms] [job="ID:87, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:86, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:00.428 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:00.448 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=87] [job="ID:87, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:86, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:00.428 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:00.452 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=87] [2024/05/06 09:30:00.452 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:00.452 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=43] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tINDEX sql_index(resource_group_name,watch_text(700)) COMMENT \"accelerate the speed when select quarantined query\",\n\t\tINDEX time_index(end_time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2024/05/06 09:30:00.455 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:89, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:88, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:00.453 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:00.455 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:89, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:88, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:00.453 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tINDEX sql_index(resource_group_name,watch_text(700)) COMMENT \"accelerate the speed when select quarantined query\",\n\t\tINDEX time_index(end_time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2024/05/06 09:30:00.462 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=89] [category=ddl] [job="ID:89, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:88, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:00.453 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:00.466 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=43] [neededSchemaVersion=44] ["start time"=367.483µs] [gotSchemaVersion=44] [phyTblIDs="[88]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:00.467 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:00.467 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=89] [version=44] [2024/05/06 09:30:00.468 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=44] ["take time"=2.867568ms] [job="ID:89, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:88, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:00.453 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:00.474 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=89] [job="ID:89, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:88, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:00.453 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:00.478 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=89] [2024/05/06 09:30:00.478 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:00.478 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=44] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_queries (\n\t\tresource_group_name varchar(32) not null,\n\t\ttime TIMESTAMP NOT NULL,\n\t\tmatch_type varchar(12) NOT NULL,\n\t\taction varchar(12) NOT NULL,\n\t\toriginal_sql TEXT NOT NULL,\n\t\tplan_digest TEXT NOT NULL,\n\t\ttidb_server varchar(512),\n\t\tINDEX plan_index(plan_digest(64)) COMMENT \"accelerate the speed when select runaway query\",\n\t\tINDEX time_index(time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2024/05/06 09:30:00.481 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:91, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:90, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:00.479 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:00.481 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:91, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:90, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:00.479 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_queries (\n\t\tresource_group_name varchar(32) not null,\n\t\ttime TIMESTAMP NOT NULL,\n\t\tmatch_type varchar(12) NOT NULL,\n\t\taction varchar(12) NOT NULL,\n\t\toriginal_sql TEXT NOT NULL,\n\t\tplan_digest TEXT NOT NULL,\n\t\ttidb_server varchar(512),\n\t\tINDEX plan_index(plan_digest(64)) COMMENT \"accelerate the speed when select runaway query\",\n\t\tINDEX time_index(time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2024/05/06 09:30:00.489 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=91] [category=ddl] [job="ID:91, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:90, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:00.479 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:00.492 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=44] [neededSchemaVersion=45] ["start time"=296.35µs] [gotSchemaVersion=45] [phyTblIDs="[90]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:00.493 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:00.493 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=91] [version=45] [2024/05/06 09:30:00.494 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=45] ["take time"=3.084932ms] [job="ID:91, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:90, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:00.479 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:00.499 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=91] [job="ID:91, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:90, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:00.479 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:00.502 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=91] [2024/05/06 09:30:00.502 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:00.503 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=45] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS `mysql`.`tidb_timers` (\n\t\tID BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tNAMESPACE VARCHAR(256) NOT NULL,\n\t\tTIMER_KEY VARCHAR(256) NOT NULL,\n\t\tTIMER_DATA BLOB,\n\t\tTIMEZONE VARCHAR(64) NOT NULL,\n\t\tSCHED_POLICY_TYPE VARCHAR(32) NOT NULL,\n\t\tSCHED_POLICY_EXPR VARCHAR(256) NOT NULL,\n\t\tHOOK_CLASS VARCHAR(64) NOT NULL,\n\t\tWATERMARK TIMESTAMP DEFAULT NULL,\n\t\tENABLE TINYINT(2) NOT NULL,\n\t\tTIMER_EXT JSON NOT NULL,\n\t\tEVENT_STATUS VARCHAR(32) NOT NULL,\n\t\tEVENT_ID VARCHAR(64) NOT NULL,\n\t\tEVENT_DATA BLOB,\n\t\tEVENT_START TIMESTAMP DEFAULT NULL,\n\t\tSUMMARY_DATA BLOB,\n\t\tCREATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,\n\t\tUPDATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tVERSION BIGINT(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (ID),\n\t\tUNIQUE KEY timer_key(NAMESPACE, TIMER_KEY),\n\t\tKEY hook_class(HOOK_CLASS)\n\t)"] [user=] [2024/05/06 09:30:00.507 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:93, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:92, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:00.505 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:00.507 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:93, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:92, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:00.505 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS `mysql`.`tidb_timers` (\n\t\tID BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tNAMESPACE VARCHAR(256) NOT NULL,\n\t\tTIMER_KEY VARCHAR(256) NOT NULL,\n\t\tTIMER_DATA BLOB,\n\t\tTIMEZONE VARCHAR(64) NOT NULL,\n\t\tSCHED_POLICY_TYPE VARCHAR(32) NOT NULL,\n\t\tSCHED_POLICY_EXPR VARCHAR(256) NOT NULL,\n\t\tHOOK_CLASS VARCHAR(64) NOT NULL,\n\t\tWATERMARK TIMESTAMP DEFAULT NULL,\n\t\tENABLE TINYINT(2) NOT NULL,\n\t\tTIMER_EXT JSON NOT NULL,\n\t\tEVENT_STATUS VARCHAR(32) NOT NULL,\n\t\tEVENT_ID VARCHAR(64) NOT NULL,\n\t\tEVENT_DATA BLOB,\n\t\tEVENT_START TIMESTAMP DEFAULT NULL,\n\t\tSUMMARY_DATA BLOB,\n\t\tCREATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,\n\t\tUPDATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tVERSION BIGINT(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (ID),\n\t\tUNIQUE KEY timer_key(NAMESPACE, TIMER_KEY),\n\t\tKEY hook_class(HOOK_CLASS)\n\t)"] [2024/05/06 09:30:00.515 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=93] [category=ddl] [job="ID:93, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:92, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:00.505 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:00.519 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=45] [neededSchemaVersion=46] ["start time"=572.569µs] [gotSchemaVersion=46] [phyTblIDs="[92]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:00.521 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:00.521 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=93] [version=46] [2024/05/06 09:30:00.522 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=46] ["take time"=3.551577ms] [job="ID:93, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:00.505 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:00.528 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=93] [job="ID:93, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:00.505 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:00.531 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=93] [2024/05/06 09:30:00.531 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:00.532 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=46] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch_done (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\trecord_id BIGINT(20) not null,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tdone_time TIMESTAMP(6) NOT NULL\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2024/05/06 09:30:00.535 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:95, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:94, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:00.533 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:00.535 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:95, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:94, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:00.533 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch_done (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\trecord_id BIGINT(20) not null,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tdone_time TIMESTAMP(6) NOT NULL\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2024/05/06 09:30:00.541 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=95] [category=ddl] [job="ID:95, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:94, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:00.533 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:00.544 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=46] [neededSchemaVersion=47] ["start time"=371.005µs] [gotSchemaVersion=47] [phyTblIDs="[94]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:00.545 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:00.546 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=95] [version=47] [2024/05/06 09:30:00.546 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=47] ["take time"=2.065773ms] [job="ID:95, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:94, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:00.533 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:00.550 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=95] [job="ID:95, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:94, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:00.533 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:00.554 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=95] [2024/05/06 09:30:00.554 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:00.554 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=47] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.dist_framework_meta (\n host VARCHAR(261) NOT NULL PRIMARY KEY,\n role VARCHAR(64),\n cpu_count int default 0,\n keyspace_id bigint(8) NOT NULL DEFAULT -1\n );"] [user=] [2024/05/06 09:30:00.557 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:97, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:96, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:00.555 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:00.557 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:97, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:96, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:00.555 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.dist_framework_meta (\n host VARCHAR(261) NOT NULL PRIMARY KEY,\n role VARCHAR(64),\n cpu_count int default 0,\n keyspace_id bigint(8) NOT NULL DEFAULT -1\n );"] [2024/05/06 09:30:00.563 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=97] [category=ddl] [job="ID:97, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:96, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:00.555 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:00.566 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=47] [neededSchemaVersion=48] ["start time"=336.776µs] [gotSchemaVersion=48] [phyTblIDs="[96]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:00.568 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:00.568 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=97] [version=48] [2024/05/06 09:30:00.568 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=48] ["take time"=2.01099ms] [job="ID:97, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:96, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:00.555 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:00.573 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=97] [job="ID:97, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:96, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:00.555 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:00.577 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=97] [2024/05/06 09:30:00.577 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:00.577 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=48] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.request_unit_by_group (\n\t\tstart_time TIMESTAMP(6) NOT NULL,\n\t\tend_time TIMESTAMP(6) NOT NULL,\n\t\tresource_group VARCHAR(32) NOT null,\n\t\ttotal_ru bigint(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (start_time, end_time, resource_group),\n\t\tKEY (resource_group)\n\t);"] [user=] [2024/05/06 09:30:00.580 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:99, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:98, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:00.579 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:00.580 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:99, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:98, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:00.579 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.request_unit_by_group (\n\t\tstart_time TIMESTAMP(6) NOT NULL,\n\t\tend_time TIMESTAMP(6) NOT NULL,\n\t\tresource_group VARCHAR(32) NOT null,\n\t\ttotal_ru bigint(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (start_time, end_time, resource_group),\n\t\tKEY (resource_group)\n\t);"] [2024/05/06 09:30:00.609 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=99] [category=ddl] [job="ID:99, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:98, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:00.579 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:00.612 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=48] [neededSchemaVersion=49] ["start time"=337.8µs] [gotSchemaVersion=49] [phyTblIDs="[98]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:00.613 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:00.613 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=99] [version=49] [2024/05/06 09:30:00.614 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=49] ["take time"=2.384421ms] [job="ID:99, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:98, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:00.579 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:00.623 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=99] [job="ID:99, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:98, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:00.579 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:00.626 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=99] [2024/05/06 09:30:00.626 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:00.627 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=49] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS sys;"] [user=] [2024/05/06 09:30:00.629 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:101, Type:create schema, State:queueing, SchemaState:none, SchemaID:100, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:30:00.628 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:00.629 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:101, Type:create schema, State:queueing, SchemaState:none, SchemaID:100, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:30:00.628 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE DATABASE IF NOT EXISTS sys;"] [2024/05/06 09:30:00.638 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=101] [category=ddl] [job="ID:101, Type:create schema, State:queueing, SchemaState:none, SchemaID:100, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:00.628 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:00.640 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=49] [neededSchemaVersion=50] ["start time"=59.943µs] [gotSchemaVersion=50] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2024/05/06 09:30:00.642 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:00.642 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=101] [version=50] [2024/05/06 09:30:00.643 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=50] ["take time"=2.43684ms] [job="ID:101, Type:create schema, State:done, SchemaState:public, SchemaID:100, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:30:00.628 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:00.648 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=101] [job="ID:101, Type:create schema, State:synced, SchemaState:public, SchemaID:100, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:00.628 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:00.650 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=101] [2024/05/06 09:30:00.650 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:00.655 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:103, Type:create view, State:queueing, SchemaState:none, SchemaID:100, TableID:102, RowCount:0, ArgLen:3, start time: 2024-05-06 09:30:00.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:00.655 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:103, Type:create view, State:queueing, SchemaState:none, SchemaID:100, TableID:102, RowCount:0, ArgLen:3, start time: 2024-05-06 09:30:00.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE OR REPLACE VIEW sys.schema_unused_indexes AS\n\t\tSELECT\n\t\t\ttable_schema as object_schema,\n\t\t\ttable_name as object_name,\n\t\t\tindex_name\n\t\tFROM information_schema.cluster_tidb_index_usage\n\t\tWHERE\n\t\t\ttable_schema not in ('sys', 'mysql', 'INFORMATION_SCHEMA', 'PERFORMANCE_SCHEMA') and\n\t\t\tindex_name != 'PRIMARY'\n\t\tGROUP BY table_schema, table_name, index_name\n\t\tHAVING\n\t\t\tsum(last_access_time) is null;"] [2024/05/06 09:30:00.661 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=103] [category=ddl] [job="ID:103, Type:create view, State:queueing, SchemaState:none, SchemaID:100, TableID:102, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:00.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:00.665 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=50] [neededSchemaVersion=51] ["start time"=223.877µs] [gotSchemaVersion=51] [phyTblIDs="[102]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2024/05/06 09:30:00.666 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:00.666 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=103] [version=51] [2024/05/06 09:30:00.667 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=51] ["take time"=2.933216ms] [job="ID:103, Type:create view, State:done, SchemaState:public, SchemaID:100, TableID:102, RowCount:0, ArgLen:3, start time: 2024-05-06 09:30:00.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:00.675 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=103] [job="ID:103, Type:create view, State:synced, SchemaState:public, SchemaID:100, TableID:102, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:00.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:00.679 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=103] [2024/05/06 09:30:00.680 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:00.713 +00:00] [INFO] [bootstrap.go:745] ["bootstrap successful"] ["take time"=1.702949759s] [2024/05/06 09:30:00.719 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=64a79eca-65d9-4bce-b2a9-c11bdfe64f06] [ownerKey=/tidb/ddl/fg/owner] [2024/05/06 09:30:00.719 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/06 09:30:00.719 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 5, tp add index"] [category=ddl] ["take time"=1.973µs] [2024/05/06 09:30:00.720 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 2, tp add index"] [category=ddl] ["take time"=1.561µs] [2024/05/06 09:30:00.720 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 3, tp add index"] [category=ddl] ["take time"=1.285µs] [2024/05/06 09:30:00.720 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 4, tp add index"] [category=ddl] ["take time"=2.015µs] [2024/05/06 09:30:00.720 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/06 09:30:00.720 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 1, tp general"] [category=ddl] ["take time"=1.024µs] [2024/05/06 09:30:00.720 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/06 09:30:00.720 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2024/05/06 09:30:00.720 +00:00] [INFO] [session_pool.go:99] ["closing session pool"] [category=ddl] [2024/05/06 09:30:00.724 +00:00] [INFO] [ddl.go:951] ["DDL closed"] [category=ddl] [ID=64a79eca-65d9-4bce-b2a9-c11bdfe64f06] ["take time"=10.720616ms] [2024/05/06 09:30:00.724 +00:00] [INFO] [ddl.go:769] ["stop DDL"] [category=ddl] [ID=64a79eca-65d9-4bce-b2a9-c11bdfe64f06] [2024/05/06 09:30:00.724 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2024/05/06 09:30:00.724 +00:00] [INFO] [domain.go:907] ["loadSchemaInLoop exited."] [2024/05/06 09:30:00.724 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2024/05/06 09:30:00.724 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayStartLoop] [2024/05/06 09:30:00.724 +00:00] [INFO] [domain.go:761] ["topologySyncerKeeper exited."] [2024/05/06 09:30:00.724 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2024/05/06 09:30:00.724 +00:00] [INFO] [domain.go:737] ["globalConfigSyncerKeeper exited."] [2024/05/06 09:30:00.724 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/06 09:30:00.724 +00:00] [INFO] [domain.go:711] ["infoSyncerKeeper exited."] [2024/05/06 09:30:00.724 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2024/05/06 09:30:00.724 +00:00] [INFO] [domain.go:683] ["topNSlowQueryLoop exited."] [2024/05/06 09:30:00.724 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2024/05/06 09:30:00.724 +00:00] [INFO] [domain.go:1361] ["closestReplicaReadCheckLoop exited."] [2024/05/06 09:30:00.724 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/06 09:30:00.724 +00:00] [INFO] [domain.go:1074] ["domain closed"] ["take time"=11.028099ms] [2024/05/06 09:30:00.724 +00:00] [INFO] [tidb.go:80] ["new domain"] [store=3cc4683f-c716-43bd-a42b-a53569199f27] ["ddl lease"=500ms] ["stats lease"=-1ns] [2024/05/06 09:30:00.733 +00:00] [WARN] [controller.go:198] ["[resource group controller] server does not save config, load config failed"] [2024/05/06 09:30:00.733 +00:00] [INFO] [controller.go:185] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":10,\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\"}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":10,\"DegradedModeWaitDuration\":0}"] [2024/05/06 09:30:00.747 +00:00] [INFO] [domain.go:315] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=51] ["start time"=13.51805ms] [2024/05/06 09:30:00.747 +00:00] [INFO] [domain.go:635] ["full load and reset schema validator"] [2024/05/06 09:30:00.747 +00:00] [INFO] [ddl.go:818] ["start DDL"] [category=ddl] [ID=8c601d8b-9b48-4952-9772-96b80940aae5] [runWorker=true] [2024/05/06 09:30:00.747 +00:00] [INFO] [ddl.go:777] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=true] [2024/05/06 09:30:00.747 +00:00] [WARN] [env.go:51] ["initialize environment failed"] [category=ddl-ingest] ["storage limitation"="only support TiKV storage"] ["current storage"=unistore] ["lightning is initialized"=false] [2024/05/06 09:30:00.747 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2024/05/06 09:30:00.747 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=mdlCheckLoop] [2024/05/06 09:30:00.747 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2024/05/06 09:30:00.747 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2024/05/06 09:30:00.747 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/06 09:30:00.747 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayStartLoop] [2024/05/06 09:30:00.747 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/06 09:30:00.747 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2024/05/06 09:30:00.747 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/06 09:30:00.747 +00:00] [WARN] [domain.go:1326] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/06 09:30:00.748 +00:00] [INFO] [runaway.go:149] ["try to start runaway manager loop"] [2024/05/06 09:30:00.748 +00:00] [INFO] [delete_range.go:172] ["start delRange emulator"] [category=ddl] [2024/05/06 09:30:00.748 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/06 09:30:00.748 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/06 09:30:00.748 +00:00] [INFO] [job_table.go:349] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2024/05/06 09:30:00.750 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2024/05/06 09:30:00.750 +00:00] [WARN] [sysvar_cache.go:49] ["sysvar cache is empty, triggering rebuild"] [2024/05/06 09:30:00.753 +00:00] [INFO] [sysvar.go:2748] ["set resource control"] [enable=true] [2024/05/06 09:30:00.754 +00:00] [INFO] [controller.go:447] ["[resource group controller] create resource group cost controller"] [name=default] [2024/05/06 09:30:00.765 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2024/05/06 09:30:00.768 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2024/05/06 09:30:00.770 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2024/05/06 09:30:00.771 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=indexUsageWorker] [2024/05/06 09:30:00.771 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=quitStatsOwner] [2024/05/06 09:30:00.771 +00:00] [INFO] [domain.go:2070] ["dumpFileGcChecker started"] [2024/05/06 09:30:00.772 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2024/05/06 09:30:00.772 +00:00] [INFO] [task_manager.go:217] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=0] [newCount=4] [2024/05/06 09:30:00.772 +00:00] [INFO] [task_manager.go:217] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=0] [newCount=4] [2024/05/06 09:30:00.772 +00:00] [INFO] [manager.go:113] ["build task executor manager"] [server-id=:4000] [total-cpu=16] [total-mem=342.3GiB] [2024/05/06 09:30:00.778 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2024/05/06 09:30:00.778 +00:00] [INFO] [manager.go:146] ["task executor manager start"] [server-id=:4000] [2024/05/06 09:30:00.778 +00:00] [INFO] [domain.go:1525] ["dist task executor manager started"] [2024/05/06 09:30:00.783 +00:00] [INFO] [set.go:170] ["set global var"] [conn=1] [name=tidb_schema_cache_size] [val=1024] [2024/05/06 09:30:00.784 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=1] [schemaVersion=51] [cur_db=test] [sql="create table recreate_t (c int)\nPARTITION BY RANGE (c) (\n\tPARTITION p0 VALUES LESS THAN (6),\n\tPARTITION p1 VALUES LESS THAN (11)\n);"] [user=] [2024/05/06 09:30:00.787 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:107, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:00.786 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:00.787 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:107, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:00.786 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table recreate_t (c int)\nPARTITION BY RANGE (c) (\n\tPARTITION p0 VALUES LESS THAN (6),\n\tPARTITION p1 VALUES LESS THAN (11)\n);"] [2024/05/06 09:30:00.796 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=107] [conn=1] [category=ddl] [job="ID:107, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:00.786 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:00.798 +00:00] [ERROR] [domain.go:291] ["failed to load schema diff"] [error="builder's (v2=true) infoschema mismatch, return error to trigger full reload"] [errorVerbose="builder's (v2=true) infoschema mismatch, return error to trigger full reload\ngithub.com/pingcap/tidb/pkg/infoschema.(*Builder).InitWithOldInfoSchema\n\tpkg/infoschema/builder.go:798\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).tryLoadSchemaDiffs\n\tpkg/domain/domain.go:459\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:276\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:606\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:919\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1287\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:99\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [stack="github.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:291\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:606\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:919\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1287\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:99"] [2024/05/06 09:30:00.827 +00:00] [INFO] [domain.go:315] ["full load InfoSchema success"] [currentSchemaVersion=51] [neededSchemaVersion=52] ["start time"=28.568619ms] [2024/05/06 09:30:00.831 +00:00] [INFO] [domain.go:635] ["full load and reset schema validator"] [2024/05/06 09:30:00.833 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=107] [version=52] [2024/05/06 09:30:00.834 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=52] ["take time"=36.341971ms] [job="ID:107, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:00.786 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:00.840 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=107] [conn=1] [job="ID:107, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:00.786 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:00.843 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=107] [2024/05/06 09:30:00.843 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:00.848 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=1] [schemaVersion=52] [cur_db=test] [sql="alter table recreate_t attributes=\"key=value\";"] [user=] [2024/05/06 09:30:00.850 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:108, Type:alter table attributes, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:1, start time: 2024-05-06 09:30:00.849 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:00.850 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:108, Type:alter table attributes, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:1, start time: 2024-05-06 09:30:00.849 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table recreate_t attributes=\"key=value\";"] [2024/05/06 09:30:00.858 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=108] [conn=1] [category=ddl] [job="ID:108, Type:alter table attributes, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:00.849 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:00.865 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=52] [neededSchemaVersion=53] ["start time"=5.437262ms] [gotSchemaVersion=53] [phyTblIDs="[104,105,106]"] [actionTypes="[49,49,49]"] [diffTypes="[\"alter table attributes\"]"] [2024/05/06 09:30:00.867 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=108] [version=53] [2024/05/06 09:30:00.868 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=53] ["take time"=8.065334ms] [job="ID:108, Type:alter table attributes, State:done, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:1, start time: 2024-05-06 09:30:00.849 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:00.873 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=108] [conn=1] [job="ID:108, Type:alter table attributes, State:synced, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:00.849 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:00.875 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=108] [2024/05/06 09:30:00.875 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:00.876 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=1] [schemaVersion=53] [cur_db=test] [sql="alter table recreate_t partition p0 attributes=\"key1=value1\";"] [user=] [2024/05/06 09:30:00.878 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:109, Type:alter table partition attributes, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:00.877 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:00.878 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:109, Type:alter table partition attributes, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:00.877 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table recreate_t partition p0 attributes=\"key1=value1\";"] [2024/05/06 09:30:00.894 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=109] [conn=1] [category=ddl] [job="ID:109, Type:alter table partition attributes, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:00.877 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:00.906 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=53] [neededSchemaVersion=54] ["start time"=6.928844ms] [gotSchemaVersion=54] [phyTblIDs="[104,105,106]"] [actionTypes="[50,50,50]"] [diffTypes="[\"alter table partition attributes\"]"] [2024/05/06 09:30:00.907 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=109] [version=54] [2024/05/06 09:30:00.909 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=54] ["take time"=10.471734ms] [job="ID:109, Type:alter table partition attributes, State:done, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:00.877 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:00.914 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=109] [conn=1] [job="ID:109, Type:alter table partition attributes, State:synced, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:00.877 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:00.917 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=109] [2024/05/06 09:30:00.917 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:00.918 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=1] [schemaVersion=54] [cur_db=test] [sql="drop table recreate_t;"] [user=] [2024/05/06 09:30:00.921 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:110, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:00.919 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:00.921 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:110, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:00.919 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="drop table recreate_t;"] [2024/05/06 09:30:00.933 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=110] [conn=1] [category=ddl] [job="ID:110, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:00.919 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:00.935 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=54] [neededSchemaVersion=55] ["start time"=176.333µs] [gotSchemaVersion=55] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/06 09:30:00.936 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=110] [version=55] [2024/05/06 09:30:00.937 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=55] ["take time"=2.500905ms] [job="ID:110, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:00.919 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:00.941 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=110] [conn=1] [category=ddl] [job="ID:110, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:00.919 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:00.943 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=55] [neededSchemaVersion=56] ["start time"=35.569µs] [gotSchemaVersion=56] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/06 09:30:00.945 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=110] [version=56] [2024/05/06 09:30:00.946 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=56] ["take time"=2.781559ms] [job="ID:110, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:00.919 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:00.952 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=110] [conn=1] [category=ddl] [job="ID:110, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:00.919 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:00.954 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=56] [neededSchemaVersion=57] ["start time"=49.731µs] [gotSchemaVersion=57] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/06 09:30:00.955 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=110] [version=57] [2024/05/06 09:30:00.956 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=57] ["take time"=2.188597ms] [job="ID:110, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:3, start time: 2024-05-06 09:30:00.919 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:00.963 +00:00] [INFO] [delete_range.go:447] ["insert into delete-range table"] [category=ddl] [jobID=110] [tableIDs="[105,106]"] [comment="drop table: partition table IDs"] [2024/05/06 09:30:00.964 +00:00] [INFO] [delete_range.go:447] ["insert into delete-range table"] [category=ddl] [jobID=110] [tableIDs="[104]"] [comment="drop table: table ID"] [2024/05/06 09:30:00.964 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=110] [jobType="drop table"] [2024/05/06 09:30:00.965 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=110] [conn=1] [job="ID:110, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:3, start time: 2024-05-06 09:30:00.919 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:00.971 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=110] [2024/05/06 09:30:00.971 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:00.973 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=1] [schemaVersion=57] [cur_db=test] [sql="create table recreate_t (c int)\n\tPARTITION BY RANGE (c) (\n\t\tPARTITION p0 VALUES LESS THAN (6),\n\t\tPARTITION p1 VALUES LESS THAN (11)\n\t);"] [user=] [2024/05/06 09:30:00.977 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:114, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:00.974 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:00.977 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:114, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:00.974 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table recreate_t (c int)\n\tPARTITION BY RANGE (c) (\n\t\tPARTITION p0 VALUES LESS THAN (6),\n\t\tPARTITION p1 VALUES LESS THAN (11)\n\t);"] [2024/05/06 09:30:00.983 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=114] [conn=1] [category=ddl] [job="ID:114, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:00.974 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:00.995 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=57] [neededSchemaVersion=58] ["start time"=7.791924ms] [gotSchemaVersion=58] [phyTblIDs="[111,112,113]"] [actionTypes="[3,3,3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:00.996 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=114] [version=58] [2024/05/06 09:30:00.998 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=58] ["take time"=10.979941ms] [job="ID:114, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:00.974 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:01.005 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=114] [conn=1] [job="ID:114, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:00.974 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:01.008 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=114] [2024/05/06 09:30:01.009 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:01.009 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=1] [schemaVersion=58] [cur_db=test] [sql="alter table recreate_t attributes=\"key=value\";"] [user=] [2024/05/06 09:30:01.011 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:115, Type:alter table attributes, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 09:30:01.01 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:01.011 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:115, Type:alter table attributes, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 09:30:01.01 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table recreate_t attributes=\"key=value\";"] [2024/05/06 09:30:01.020 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=115] [conn=1] [category=ddl] [job="ID:115, Type:alter table attributes, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:01.01 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:01.031 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=58] [neededSchemaVersion=59] ["start time"=8.002927ms] [gotSchemaVersion=59] [phyTblIDs="[111,112,113]"] [actionTypes="[49,49,49]"] [diffTypes="[\"alter table attributes\"]"] [2024/05/06 09:30:01.032 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=115] [version=59] [2024/05/06 09:30:01.047 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=59] ["take time"=24.183551ms] [job="ID:115, Type:alter table attributes, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 09:30:01.01 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:01.054 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=115] [conn=1] [job="ID:115, Type:alter table attributes, State:synced, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:01.01 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:01.057 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=115] [2024/05/06 09:30:01.057 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:01.058 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=1] [schemaVersion=59] [cur_db=test] [sql="alter table recreate_t partition p1 attributes=\"key1=value1\";"] [user=] [2024/05/06 09:30:01.060 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:116, Type:alter table partition attributes, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:01.059 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:01.060 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:116, Type:alter table partition attributes, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:01.059 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table recreate_t partition p1 attributes=\"key1=value1\";"] [2024/05/06 09:30:01.069 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=116] [conn=1] [category=ddl] [job="ID:116, Type:alter table partition attributes, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:01.059 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:01.080 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=59] [neededSchemaVersion=60] ["start time"=7.890422ms] [gotSchemaVersion=60] [phyTblIDs="[111,112,113]"] [actionTypes="[50,50,50]"] [diffTypes="[\"alter table partition attributes\"]"] [2024/05/06 09:30:01.082 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=116] [version=60] [2024/05/06 09:30:01.085 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=60] ["take time"=13.016002ms] [job="ID:116, Type:alter table partition attributes, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:01.059 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:01.092 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=116] [conn=1] [job="ID:116, Type:alter table partition attributes, State:synced, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:01.059 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:01.099 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=116] [2024/05/06 09:30:01.099 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:01.100 +00:00] [ERROR] [gc_worker.go:1764] ["deleteRanges is called"] [stack="github.com/pingcap/tidb/pkg/store/gcworker.(*MockGCWorker).DeleteRanges\n\tpkg/store/gcworker/gc_worker.go:1764\ngithub.com/pingcap/tidb/pkg/ddl_test.TestCreateWithSameName\n\tpkg/ddl/attributes_sql_test.go:414\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595"] [2024/05/06 09:30:01.102 +00:00] [INFO] [gc_worker.go:822] ["start delete ranges"] [category="gc worker"] [uuid=63d34f464400000] [ranges=3] [2024/05/06 09:30:01.105 +00:00] [INFO] [gc_worker.go:1550] ["try delete TiFlash pd rule"] [tableID=105] [endKey="t\ufffd\u0000\u0000\u0000\u0000\u0000\u0000j"] [safePoint=9223372036854775807] [2024/05/06 09:30:01.105 +00:00] [INFO] [info.go:1164] [DeleteTiFlashPlacementRule] [ruleID=table-105-r] [2024/05/06 09:30:01.105 +00:00] [INFO] [gc_worker.go:1550] ["try delete TiFlash pd rule"] [tableID=106] [endKey="t\ufffd\u0000\u0000\u0000\u0000\u0000\u0000j"] [safePoint=9223372036854775807] [2024/05/06 09:30:01.105 +00:00] [INFO] [info.go:1164] [DeleteTiFlashPlacementRule] [ruleID=table-106-r] [2024/05/06 09:30:01.105 +00:00] [INFO] [gc_worker.go:1550] ["try delete TiFlash pd rule"] [tableID=104] [endKey="t\ufffd\u0000\u0000\u0000\u0000\u0000\u0000j"] [safePoint=9223372036854775807] [2024/05/06 09:30:01.105 +00:00] [INFO] [info.go:1164] [DeleteTiFlashPlacementRule] [ruleID=table-104-r] [2024/05/06 09:30:01.114 +00:00] [INFO] [gc_worker.go:875] ["finish delete ranges"] [category="gc worker"] [uuid=63d34f464400000] ["num of ranges"=3] ["cost time"=11.946691ms] [2024/05/06 09:30:01.115 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=1] [schemaVersion=60] [cur_db=test] [sql="drop table recreate_t;"] [user=] [2024/05/06 09:30:01.117 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:117, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:01.116 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:01.117 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:117, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:01.116 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="drop table recreate_t;"] [2024/05/06 09:30:01.124 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=117] [conn=1] [category=ddl] [job="ID:117, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:01.116 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:01.126 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=60] [neededSchemaVersion=61] ["start time"=124.259µs] [gotSchemaVersion=61] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/06 09:30:01.127 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=117] [version=61] [2024/05/06 09:30:01.128 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=61] ["take time"=2.085658ms] [job="ID:117, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:01.116 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:01.134 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=117] [conn=1] [category=ddl] [job="ID:117, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:01.116 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:01.136 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=61] [neededSchemaVersion=62] ["start time"=44.488µs] [gotSchemaVersion=62] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/06 09:30:01.137 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=117] [version=62] [2024/05/06 09:30:01.140 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=62] ["take time"=4.511069ms] [job="ID:117, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:01.116 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:01.144 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=117] [conn=1] [category=ddl] [job="ID:117, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:01.116 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:01.146 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=62] [neededSchemaVersion=63] ["start time"=48.404µs] [gotSchemaVersion=63] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/06 09:30:01.148 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=117] [version=63] [2024/05/06 09:30:01.149 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=63] ["take time"=2.394046ms] [job="ID:117, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 09:30:01.116 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:01.159 +00:00] [INFO] [delete_range.go:447] ["insert into delete-range table"] [category=ddl] [jobID=117] [tableIDs="[112,113]"] [comment="drop table: partition table IDs"] [2024/05/06 09:30:01.160 +00:00] [INFO] [delete_range.go:447] ["insert into delete-range table"] [category=ddl] [jobID=117] [tableIDs="[111]"] [comment="drop table: table ID"] [2024/05/06 09:30:01.161 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=117] [jobType="drop table"] [2024/05/06 09:30:01.162 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=117] [conn=1] [job="ID:117, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 09:30:01.116 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:01.168 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=117] [2024/05/06 09:30:01.168 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:01.168 +00:00] [ERROR] [gc_worker.go:1764] ["deleteRanges is called"] [stack="github.com/pingcap/tidb/pkg/store/gcworker.(*MockGCWorker).DeleteRanges\n\tpkg/store/gcworker/gc_worker.go:1764\ngithub.com/pingcap/tidb/pkg/ddl_test.TestCreateWithSameName\n\tpkg/ddl/attributes_sql_test.go:421\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595"] [2024/05/06 09:30:01.170 +00:00] [INFO] [gc_worker.go:822] ["start delete ranges"] [category="gc worker"] [uuid=63d34f464400000] [ranges=3] [2024/05/06 09:30:01.173 +00:00] [INFO] [gc_worker.go:1550] ["try delete TiFlash pd rule"] [tableID=112] [endKey="t\ufffd\u0000\u0000\u0000\u0000\u0000\u0000q"] [safePoint=9223372036854775807] [2024/05/06 09:30:01.173 +00:00] [INFO] [info.go:1164] [DeleteTiFlashPlacementRule] [ruleID=table-112-r] [2024/05/06 09:30:01.173 +00:00] [INFO] [gc_worker.go:1550] ["try delete TiFlash pd rule"] [tableID=113] [endKey="t\ufffd\u0000\u0000\u0000\u0000\u0000\u0000q"] [safePoint=9223372036854775807] [2024/05/06 09:30:01.173 +00:00] [INFO] [info.go:1164] [DeleteTiFlashPlacementRule] [ruleID=table-113-r] [2024/05/06 09:30:01.173 +00:00] [INFO] [gc_worker.go:1550] ["try delete TiFlash pd rule"] [tableID=111] [endKey="t\ufffd\u0000\u0000\u0000\u0000\u0000\u0000q"] [safePoint=9223372036854775807] [2024/05/06 09:30:01.173 +00:00] [INFO] [info.go:1164] [DeleteTiFlashPlacementRule] [ruleID=table-111-r] [2024/05/06 09:30:01.180 +00:00] [INFO] [gc_worker.go:875] ["finish delete ranges"] [category="gc worker"] [uuid=63d34f464400000] ["num of ranges"=3] ["cost time"=10.119076ms] [2024/05/06 09:30:01.181 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=8c601d8b-9b48-4952-9772-96b80940aae5] [ownerKey=/tidb/ddl/fg/owner] [2024/05/06 09:30:01.181 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/06 09:30:01.181 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 7, tp add index"] [category=ddl] ["take time"=2.091µs] [2024/05/06 09:30:01.181 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 8, tp add index"] [category=ddl] ["take time"=1.401µs] [2024/05/06 09:30:01.181 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 9, tp add index"] [category=ddl] ["take time"=1.247µs] [2024/05/06 09:30:01.181 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 10, tp add index"] [category=ddl] ["take time"=1.77µs] [2024/05/06 09:30:01.181 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/06 09:30:01.181 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 6, tp general"] [category=ddl] ["take time"=1.153µs] [2024/05/06 09:30:01.181 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/06 09:30:01.181 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2024/05/06 09:30:01.181 +00:00] [INFO] [session_pool.go:99] ["closing session pool"] [category=ddl] [2024/05/06 09:30:01.181 +00:00] [INFO] [ddl.go:951] ["DDL closed"] [category=ddl] [ID=8c601d8b-9b48-4952-9772-96b80940aae5] ["take time"=890.442µs] [2024/05/06 09:30:01.181 +00:00] [INFO] [ddl.go:769] ["stop DDL"] [category=ddl] [ID=8c601d8b-9b48-4952-9772-96b80940aae5] [2024/05/06 09:30:01.181 +00:00] [INFO] [domain.go:1026] ["stopping ttlJobManager"] [2024/05/06 09:30:01.182 +00:00] [INFO] [task_manager.go:194] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=4] [newCount=0] [2024/05/06 09:30:01.182 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/06 09:30:01.182 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/06 09:30:01.182 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/06 09:30:01.182 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/06 09:30:01.182 +00:00] [INFO] [task_manager.go:194] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=4] [newCount=0] [2024/05/06 09:30:01.182 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/06 09:30:01.182 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/06 09:30:01.182 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/06 09:30:01.182 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/06 09:30:01.182 +00:00] [INFO] [job_manager.go:174] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [2024/05/06 09:30:01.182 +00:00] [INFO] [domain.go:1037] ["ttlJobManager exited."] [2024/05/06 09:30:01.183 +00:00] [INFO] [manager.go:280] ["recoverMetaLoop done"] [server-id=:4000] [2024/05/06 09:30:01.183 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2024/05/06 09:30:01.183 +00:00] [INFO] [domain.go:907] ["loadSchemaInLoop exited."] [2024/05/06 09:30:01.183 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2024/05/06 09:30:01.183 +00:00] [INFO] [domain.go:1527] ["stopping dist task executor manager"] [2024/05/06 09:30:01.183 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2024/05/06 09:30:01.183 +00:00] [INFO] [stats_syncload.go:202] ["SubLoadWorker exited."] [2024/05/06 09:30:01.183 +00:00] [INFO] [stats_syncload.go:202] ["SubLoadWorker exited."] [2024/05/06 09:30:01.183 +00:00] [INFO] [stats_syncload.go:202] ["SubLoadWorker exited."] [2024/05/06 09:30:01.183 +00:00] [INFO] [stats_syncload.go:202] ["SubLoadWorker exited."] [2024/05/06 09:30:01.183 +00:00] [INFO] [stats_syncload.go:202] ["SubLoadWorker exited."] [2024/05/06 09:30:01.183 +00:00] [INFO] [domain.go:2352] ["indexUsageWorker exited."] [2024/05/06 09:30:01.183 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=indexUsageWorker] [2024/05/06 09:30:01.183 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=8c601d8b-9b48-4952-9772-96b80940aae5] [ownerKey=/tidb/stats/owner] [2024/05/06 09:30:01.183 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=quitStatsOwner] [2024/05/06 09:30:01.183 +00:00] [INFO] [domain.go:2074] ["dumpFileGcChecker exited."] [2024/05/06 09:30:01.183 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2024/05/06 09:30:01.183 +00:00] [INFO] [domain.go:1750] ["LoadSysVarCacheLoop exited."] [2024/05/06 09:30:01.183 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2024/05/06 09:30:01.183 +00:00] [INFO] [domain.go:1700] ["loadPrivilegeInLoop exited."] [2024/05/06 09:30:01.183 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2024/05/06 09:30:01.183 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=8c601d8b-9b48-4952-9772-96b80940aae5] [ownerKey=/tidb/bindinfo/owner] [2024/05/06 09:30:01.183 +00:00] [INFO] [domain.go:1889] ["globalBindHandleWorkerLoop exited."] [2024/05/06 09:30:01.183 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2024/05/06 09:30:01.183 +00:00] [INFO] [domain.go:761] ["topologySyncerKeeper exited."] [2024/05/06 09:30:01.183 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2024/05/06 09:30:01.183 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayStartLoop] [2024/05/06 09:30:01.183 +00:00] [INFO] [domain.go:737] ["globalConfigSyncerKeeper exited."] [2024/05/06 09:30:01.183 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/06 09:30:01.183 +00:00] [INFO] [domain.go:711] ["infoSyncerKeeper exited."] [2024/05/06 09:30:01.183 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2024/05/06 09:30:01.183 +00:00] [INFO] [domain.go:683] ["topNSlowQueryLoop exited."] [2024/05/06 09:30:01.183 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2024/05/06 09:30:01.183 +00:00] [INFO] [domain.go:1361] ["closestReplicaReadCheckLoop exited."] [2024/05/06 09:30:01.183 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/06 09:30:01.183 +00:00] [INFO] [manager.go:179] ["handle tasks loop done"] [server-id=:4000] [2024/05/06 09:30:01.183 +00:00] [INFO] [domain.go:1529] ["dist task executor manager stopped"] [2024/05/06 09:30:01.183 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2024/05/06 09:30:01.186 +00:00] [INFO] [domain.go:1074] ["domain closed"] ["take time"=5.052532ms] [2024/05/06 09:30:01.214 +00:00] [INFO] [db.go:567] ["Closing database"] [2024/05/06 09:30:01.214 +00:00] [INFO] [db.go:592] ["Memtable flushed"] [2024/05/06 09:30:01.214 +00:00] [INFO] [db.go:596] ["Compaction finished"] [2024/05/06 09:30:01.214 +00:00] [INFO] [db.go:615] ["BlobManager finished"] [2024/05/06 09:30:01.214 +00:00] [INFO] [db.go:619] ["ResourceManager finished"] [2024/05/06 09:30:01.214 +00:00] [INFO] [db.go:625] ["Waiting for closer"] --- PASS: TestCreateWithSameName (2.36s) === RUN TestAlterEnforcedConstraintStateChange [2024/05/06 09:30:01.330 +00:00] [INFO] [store_cache.go:510] ["change store resolve state"] [store=1] [addr=store1] [from=unresolved] [to=resolved] [liveness-state=reachable] [2024/05/06 09:30:01.330 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 09:30:01.330 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 09:30:01.331 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 09:30:01.331 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 09:30:01.331 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 09:30:01.333 +00:00] [INFO] [tidb.go:80] ["new domain"] [store=bba92ac1-8d38-42aa-a6b9-36a2e1cc18fa] ["ddl lease"=500ms] ["stats lease"=-1ns] [2024/05/06 09:30:01.341 +00:00] [WARN] [controller.go:198] ["[resource group controller] server does not save config, load config failed"] [2024/05/06 09:30:01.341 +00:00] [INFO] [controller.go:185] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":10,\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\"}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":10,\"DegradedModeWaitDuration\":0}"] [2024/05/06 09:30:01.341 +00:00] [WARN] [domain.go:245] ["failed to get schema version"] [error="There is no Write MVCC info for the schema version"] [errorVerbose="There is no Write MVCC info for the schema version\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:335\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:242\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:606\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init\n\tpkg/domain/domain.go:1260\ngithub.com/pingcap/tidb/pkg/session.(*domainMap).Get.func1\n\tpkg/session/tidb.go:92\ngithub.com/pingcap/tidb/pkg/util.RunWithRetry\n\tpkg/util/misc.go:70\ngithub.com/pingcap/tidb/pkg/session.(*domainMap).Get\n\tpkg/session/tidb.go:79\ngithub.com/pingcap/tidb/pkg/session.createSessionWithOpt\n\tpkg/session/session.go:3620\ngithub.com/pingcap/tidb/pkg/session.createSession\n\tpkg/session/session.go:3612\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3562\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3346\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3312\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:294\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomain\n\tpkg/testkit/mockstore.go:265\ngithub.com/pingcap/tidb/pkg/ddl_test.TestAlterEnforcedConstraintStateChange\n\tpkg/ddl/constraint_test.go:248\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=0] [2024/05/06 09:30:01.361 +00:00] [INFO] [domain.go:315] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=0] ["start time"=20.328336ms] [2024/05/06 09:30:01.362 +00:00] [INFO] [domain.go:635] ["full load and reset schema validator"] [2024/05/06 09:30:01.362 +00:00] [INFO] [ddl.go:818] ["start DDL"] [category=ddl] [ID=2e4777c8-c511-417a-a11c-ac205cbf11a9] [runWorker=true] [2024/05/06 09:30:01.362 +00:00] [INFO] [ddl.go:777] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=true] [2024/05/06 09:30:01.362 +00:00] [WARN] [env.go:51] ["initialize environment failed"] [category=ddl-ingest] ["storage limitation"="only support TiKV storage"] ["current storage"=unistore] ["lightning is initialized"=false] [2024/05/06 09:30:01.362 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2024/05/06 09:30:01.362 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=mdlCheckLoop] [2024/05/06 09:30:01.362 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2024/05/06 09:30:01.362 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2024/05/06 09:30:01.362 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/06 09:30:01.362 +00:00] [INFO] [delete_range.go:172] ["start delRange emulator"] [category=ddl] [2024/05/06 09:30:01.362 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayStartLoop] [2024/05/06 09:30:01.362 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/06 09:30:01.362 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2024/05/06 09:30:01.362 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/06 09:30:01.362 +00:00] [WARN] [domain.go:1326] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/06 09:30:01.362 +00:00] [INFO] [runaway.go:149] ["try to start runaway manager loop"] [2024/05/06 09:30:01.362 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/06 09:30:01.362 +00:00] [INFO] [job_table.go:349] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2024/05/06 09:30:01.362 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/06 09:30:01.363 +00:00] [INFO] [controller.go:447] ["[resource group controller] create resource group cost controller"] [name=default] [2024/05/06 09:30:01.363 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=0] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS test"] [user=] [2024/05/06 09:30:01.366 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:30:01.365 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:01.366 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:30:01.365 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE DATABASE IF NOT EXISTS test"] [2024/05/06 09:30:01.374 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=3] [category=ddl] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:01.365 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:01.402 +00:00] [INFO] [domain.go:315] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=1] ["start time"=24.52137ms] [2024/05/06 09:30:01.403 +00:00] [INFO] [domain.go:635] ["full load and reset schema validator"] [2024/05/06 09:30:01.404 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:01.404 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=3] [version=1] [2024/05/06 09:30:01.405 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=1] ["take time"=28.435485ms] [job="ID:3, Type:create schema, State:done, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:30:01.365 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:01.411 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=3] [job="ID:3, Type:create schema, State:synced, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:01.365 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:01.414 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=3] [2024/05/06 09:30:01.414 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:01.414 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS `mysql`"] [user=] [2024/05/06 09:30:01.415 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.user (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tauthentication_string\tTEXT,\n\t\tplugin\t\t\t\t\tCHAR(64),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tProcess_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_db_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tSuper_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_user_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_slave_priv\t \tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_client_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_role_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_role_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAccount_locked\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShutdown_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReload_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tFILE_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tConfig_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_reuse_history smallint unsigned DEFAULT NULL,\n\t\tPassword_reuse_time smallint unsigned DEFAULT NULL,\n\t\tUser_attributes\t\t\tjson,\n\t\tToken_issuer\t\t\tVARCHAR(255),\n\t\tPassword_expired\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_last_changed\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP(),\n\t\tPassword_lifetime\t\tSMALLINT UNSIGNED DEFAULT NULL,\n\t\tPRIMARY KEY (Host, User));"] [user=] [2024/05/06 09:30:01.419 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:01.417 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:01.419 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:01.417 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.user (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tauthentication_string\tTEXT,\n\t\tplugin\t\t\t\t\tCHAR(64),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tProcess_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_db_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tSuper_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_user_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_slave_priv\t \tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_client_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_role_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_role_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAccount_locked\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShutdown_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReload_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tFILE_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tConfig_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_reuse_history smallint unsigned DEFAULT NULL,\n\t\tPassword_reuse_time smallint unsigned DEFAULT NULL,\n\t\tUser_attributes\t\t\tjson,\n\t\tToken_issuer\t\t\tVARCHAR(255),\n\t\tPassword_expired\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_last_changed\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP(),\n\t\tPassword_lifetime\t\tSMALLINT UNSIGNED DEFAULT NULL,\n\t\tPRIMARY KEY (Host, User));"] [2024/05/06 09:30:01.426 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=5] [category=ddl] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:01.417 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:01.435 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=1] [neededSchemaVersion=2] ["start time"=1.257889ms] [gotSchemaVersion=2] [phyTblIDs="[4]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:01.436 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:01.436 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=5] [version=2] [2024/05/06 09:30:01.438 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=2] ["take time"=4.533061ms] [job="ID:5, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:01.417 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:01.444 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=5] [job="ID:5, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:01.417 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:01.450 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=5] [2024/05/06 09:30:01.450 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:01.451 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=2] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.password_history (\n Host char(255) NOT NULL DEFAULT '',\n User char(32) NOT NULL DEFAULT '',\n Password_timestamp timestamp(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n Password text,\n PRIMARY KEY (Host,User,Password_timestamp )\n ) COMMENT='Password history for user accounts' "] [user=] [2024/05/06 09:30:01.453 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:01.452 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:01.453 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:01.452 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.password_history (\n Host char(255) NOT NULL DEFAULT '',\n User char(32) NOT NULL DEFAULT '',\n Password_timestamp timestamp(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n Password text,\n PRIMARY KEY (Host,User,Password_timestamp )\n ) COMMENT='Password history for user accounts' "] [2024/05/06 09:30:01.460 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=7] [category=ddl] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:01.452 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:01.464 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=2] [neededSchemaVersion=3] ["start time"=310.488µs] [gotSchemaVersion=3] [phyTblIDs="[6]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:01.465 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:01.465 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=7] [version=3] [2024/05/06 09:30:01.465 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=3] ["take time"=2.035368ms] [job="ID:7, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:01.452 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:01.473 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=7] [job="ID:7, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:01.452 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:01.477 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=7] [2024/05/06 09:30:01.477 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:01.477 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=3] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.global_priv (Host CHAR(255) NOT NULL DEFAULT '',User CHAR(80) NOT NULL DEFAULT '',Priv LONGTEXT NOT NULL DEFAULT '',PRIMARY KEY (Host, User))"] [user=] [2024/05/06 09:30:01.485 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:01.483 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:01.485 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:01.483 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.global_priv (Host CHAR(255) NOT NULL DEFAULT '',User CHAR(80) NOT NULL DEFAULT '',Priv LONGTEXT NOT NULL DEFAULT '',PRIMARY KEY (Host, User))"] [2024/05/06 09:30:01.492 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=9] [category=ddl] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:01.483 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:01.495 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=3] [neededSchemaVersion=4] ["start time"=306.562µs] [gotSchemaVersion=4] [phyTblIDs="[8]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:01.496 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:01.496 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=9] [version=4] [2024/05/06 09:30:01.497 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=4] ["take time"=2.606878ms] [job="ID:9, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:01.483 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:01.502 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=9] [job="ID:9, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:01.483 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:01.505 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=9] [2024/05/06 09:30:01.505 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:01.506 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=4] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.db (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tDB\t\t\t\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv \t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (Host, DB, User));"] [user=] [2024/05/06 09:30:01.509 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:01.507 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:01.509 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:01.507 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.db (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tDB\t\t\t\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv \t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (Host, DB, User));"] [2024/05/06 09:30:01.514 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=11] [category=ddl] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:01.507 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:01.520 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=4] [neededSchemaVersion=5] ["start time"=505.061µs] [gotSchemaVersion=5] [phyTblIDs="[10]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:01.521 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:01.521 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=11] [version=5] [2024/05/06 09:30:01.522 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=5] ["take time"=3.000609ms] [job="ID:11, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:01.507 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:01.528 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=11] [job="ID:11, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:01.507 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:01.533 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=11] [2024/05/06 09:30:01.533 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:01.533 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=5] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tables_priv (\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tGrantor\t\tCHAR(77),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tTable_priv\tSET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'),\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name));"] [user=] [2024/05/06 09:30:01.536 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:01.535 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:01.536 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:01.535 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tables_priv (\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tGrantor\t\tCHAR(77),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tTable_priv\tSET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'),\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name));"] [2024/05/06 09:30:01.546 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=13] [category=ddl] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:01.535 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:01.550 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=5] [neededSchemaVersion=6] ["start time"=460.018µs] [gotSchemaVersion=6] [phyTblIDs="[12]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:01.551 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:01.551 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=13] [version=6] [2024/05/06 09:30:01.554 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=6] ["take time"=4.585985ms] [job="ID:13, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:01.535 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:01.560 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=13] [job="ID:13, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:01.535 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:01.566 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=13] [2024/05/06 09:30:01.566 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:01.567 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=6] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.columns_priv(\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tColumn_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name, Column_name));"] [user=] [2024/05/06 09:30:01.571 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:01.569 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:01.571 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:01.569 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.columns_priv(\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tColumn_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name, Column_name));"] [2024/05/06 09:30:01.585 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=15] [category=ddl] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:01.569 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:01.592 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=7] ["start time"=387.673µs] [gotSchemaVersion=7] [phyTblIDs="[14]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:01.593 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:01.594 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=15] [version=7] [2024/05/06 09:30:01.596 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=7] ["take time"=4.793276ms] [job="ID:15, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:01.569 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:01.600 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=15] [job="ID:15, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:01.569 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:01.605 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=15] [2024/05/06 09:30:01.605 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:01.605 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=7] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.GLOBAL_VARIABLES(\n\t\tVARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE VARCHAR(16383) DEFAULT NULL);"] [user=] [2024/05/06 09:30:01.608 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:01.607 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:01.608 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:01.607 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.GLOBAL_VARIABLES(\n\t\tVARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE VARCHAR(16383) DEFAULT NULL);"] [2024/05/06 09:30:01.616 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=17] [category=ddl] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:01.607 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:01.620 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=7] [neededSchemaVersion=8] ["start time"=258.068µs] [gotSchemaVersion=8] [phyTblIDs="[16]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:01.622 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:01.622 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=17] [version=8] [2024/05/06 09:30:01.624 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=8] ["take time"=4.840176ms] [job="ID:17, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:01.607 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:01.630 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=17] [job="ID:17, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:01.607 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:01.635 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=17] [2024/05/06 09:30:01.635 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:01.636 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=8] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb(\n\t\tVARIABLE_NAME \tVARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE \tVARCHAR(1024) DEFAULT NULL,\n\t\tCOMMENT \t\tVARCHAR(1024));"] [user=] [2024/05/06 09:30:01.639 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:01.637 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:01.639 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:01.637 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb(\n\t\tVARIABLE_NAME \tVARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE \tVARCHAR(1024) DEFAULT NULL,\n\t\tCOMMENT \t\tVARCHAR(1024));"] [2024/05/06 09:30:01.645 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=19] [category=ddl] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:01.637 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:01.648 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=8] [neededSchemaVersion=9] ["start time"=280.135µs] [gotSchemaVersion=9] [phyTblIDs="[18]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:01.649 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:01.649 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=19] [version=9] [2024/05/06 09:30:01.650 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=9] ["take time"=2.239074ms] [job="ID:19, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:01.637 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:01.656 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=19] [job="ID:19, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:01.637 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:01.661 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=19] [2024/05/06 09:30:01.662 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:01.662 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=9] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.help_topic (\n \t\thelp_topic_id \t\tINT(10) UNSIGNED NOT NULL,\n \t\tname \t\t\t\tCHAR(64) NOT NULL,\n \t\thelp_category_id \tSMALLINT(5) UNSIGNED NOT NULL,\n \t\tdescription \t\tTEXT NOT NULL,\n \t\texample \t\t\tTEXT NOT NULL,\n \t\turl \t\t\t\tTEXT NOT NULL,\n \t\tPRIMARY KEY (help_topic_id) clustered,\n \t\tUNIQUE KEY name (name)\n\t\t) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] [user=] [2024/05/06 09:30:01.665 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:01.663 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:01.665 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:01.663 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.help_topic (\n \t\thelp_topic_id \t\tINT(10) UNSIGNED NOT NULL,\n \t\tname \t\t\t\tCHAR(64) NOT NULL,\n \t\thelp_category_id \tSMALLINT(5) UNSIGNED NOT NULL,\n \t\tdescription \t\tTEXT NOT NULL,\n \t\texample \t\t\tTEXT NOT NULL,\n \t\turl \t\t\t\tTEXT NOT NULL,\n \t\tPRIMARY KEY (help_topic_id) clustered,\n \t\tUNIQUE KEY name (name)\n\t\t) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] [2024/05/06 09:30:01.670 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=21] [category=ddl] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:01.663 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:01.674 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=9] [neededSchemaVersion=10] ["start time"=411.614µs] [gotSchemaVersion=10] [phyTblIDs="[20]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:01.675 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:01.675 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=21] [version=10] [2024/05/06 09:30:01.676 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=10] ["take time"=2.52452ms] [job="ID:21, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:01.663 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:01.682 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=21] [job="ID:21, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:01.663 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:01.685 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=21] [2024/05/06 09:30:01.685 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:01.686 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=10] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_meta (\n\t\tversion \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\ttable_id \t\tBIGINT(64) NOT NULL,\n\t\tmodify_count\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcount \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tsnapshot BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tINDEX idx_ver(version),\n\t\tUNIQUE INDEX tbl(table_id)\n\t);"] [user=] [2024/05/06 09:30:01.689 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:01.687 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:01.689 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:01.687 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_meta (\n\t\tversion \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\ttable_id \t\tBIGINT(64) NOT NULL,\n\t\tmodify_count\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcount \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tsnapshot BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tINDEX idx_ver(version),\n\t\tUNIQUE INDEX tbl(table_id)\n\t);"] [2024/05/06 09:30:01.694 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=23] [category=ddl] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:01.687 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:01.698 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=10] [neededSchemaVersion=11] ["start time"=336.281µs] [gotSchemaVersion=11] [phyTblIDs="[22]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:01.699 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:01.699 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=23] [version=11] [2024/05/06 09:30:01.700 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=11] ["take time"=2.381223ms] [job="ID:23, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:01.687 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:01.707 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=23] [job="ID:23, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:01.687 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:01.710 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=23] [2024/05/06 09:30:01.710 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:01.711 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=11] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_histograms (\n\t\ttable_id \t\t\tBIGINT(64) NOT NULL,\n\t\tis_index \t\t\tTINYINT(2) NOT NULL,\n\t\thist_id \t\t\tBIGINT(64) NOT NULL,\n\t\tdistinct_count \t\tBIGINT(64) NOT NULL,\n\t\tnull_count \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\ttot_col_size \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tmodify_count \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tversion \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tcm_sketch \t\t\tBLOB(6291456),\n\t\tstats_ver \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tflag \t\t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcorrelation \t\tDOUBLE NOT NULL DEFAULT 0,\n\t\tlast_analyze_pos \tLONGBLOB DEFAULT NULL,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] [2024/05/06 09:30:01.711 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(6291456) to MEDIUMBLOB"] [category=ddl] [2024/05/06 09:30:01.714 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:01.712 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:01.714 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:01.712 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_histograms (\n\t\ttable_id \t\t\tBIGINT(64) NOT NULL,\n\t\tis_index \t\t\tTINYINT(2) NOT NULL,\n\t\thist_id \t\t\tBIGINT(64) NOT NULL,\n\t\tdistinct_count \t\tBIGINT(64) NOT NULL,\n\t\tnull_count \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\ttot_col_size \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tmodify_count \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tversion \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tcm_sketch \t\t\tBLOB(6291456),\n\t\tstats_ver \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tflag \t\t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcorrelation \t\tDOUBLE NOT NULL DEFAULT 0,\n\t\tlast_analyze_pos \tLONGBLOB DEFAULT NULL,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id)\n\t);"] [2024/05/06 09:30:01.720 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=25] [category=ddl] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:01.712 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:01.724 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=11] [neededSchemaVersion=12] ["start time"=531.719µs] [gotSchemaVersion=12] [phyTblIDs="[24]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:01.726 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:01.726 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=25] [version=12] [2024/05/06 09:30:01.726 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=12] ["take time"=2.008699ms] [job="ID:25, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:01.712 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:01.733 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=25] [job="ID:25, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:01.712 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:01.737 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=25] [2024/05/06 09:30:01.737 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:01.738 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=12] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_buckets (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tbucket_id \tBIGINT(64) NOT NULL,\n\t\tcount \t\tBIGINT(64) NOT NULL,\n\t\trepeats \tBIGINT(64) NOT NULL,\n\t\tupper_bound LONGBLOB NOT NULL,\n\t\tlower_bound LONGBLOB ,\n\t\tndv BIGINT NOT NULL DEFAULT 0,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id)\n\t);"] [user=] [2024/05/06 09:30:01.741 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:01.739 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:01.741 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:01.739 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_buckets (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tbucket_id \tBIGINT(64) NOT NULL,\n\t\tcount \t\tBIGINT(64) NOT NULL,\n\t\trepeats \tBIGINT(64) NOT NULL,\n\t\tupper_bound LONGBLOB NOT NULL,\n\t\tlower_bound LONGBLOB ,\n\t\tndv BIGINT NOT NULL DEFAULT 0,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id)\n\t);"] [2024/05/06 09:30:01.748 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=27] [category=ddl] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:01.739 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:01.752 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=12] [neededSchemaVersion=13] ["start time"=424.663µs] [gotSchemaVersion=13] [phyTblIDs="[26]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:01.754 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:01.754 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=27] [version=13] [2024/05/06 09:30:01.754 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=13] ["take time"=2.09069ms] [job="ID:27, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:01.739 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:01.761 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=27] [job="ID:27, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:01.739 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:01.768 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=27] [2024/05/06 09:30:01.768 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:01.768 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=13] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_index (job_id, element_id)\n\t);"] [user=] [2024/05/06 09:30:01.772 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:01.77 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:01.772 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:01.77 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_index (job_id, element_id)\n\t);"] [2024/05/06 09:30:01.787 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=29] [category=ddl] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:01.77 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:01.792 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=13] [neededSchemaVersion=14] ["start time"=352.189µs] [gotSchemaVersion=14] [phyTblIDs="[28]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:01.794 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:01.794 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=29] [version=14] [2024/05/06 09:30:01.796 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=14] ["take time"=4.306601ms] [job="ID:29, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:01.77 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:01.802 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=29] [job="ID:29, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:01.77 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:01.805 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=29] [2024/05/06 09:30:01.805 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:01.806 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=14] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_done_index (job_id, element_id)\n\t);"] [user=] [2024/05/06 09:30:01.809 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:01.807 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:01.809 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:01.807 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_done_index (job_id, element_id)\n\t);"] [2024/05/06 09:30:01.815 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=31] [category=ddl] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:01.807 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:01.818 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=14] [neededSchemaVersion=15] ["start time"=319.371µs] [gotSchemaVersion=15] [phyTblIDs="[30]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:01.819 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:01.819 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=31] [version=15] [2024/05/06 09:30:01.820 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=15] ["take time"=2.008905ms] [job="ID:31, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:01.807 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:01.826 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=31] [job="ID:31, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:01.807 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:01.829 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=31] [2024/05/06 09:30:01.829 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:01.830 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=15] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_feedback (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tfeedback \tBLOB NOT NULL,\n\t\tINDEX hist(table_id, is_index, hist_id)\n\t);"] [user=] [2024/05/06 09:30:01.832 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:01.831 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:01.832 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:01.831 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_feedback (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tfeedback \tBLOB NOT NULL,\n\t\tINDEX hist(table_id, is_index, hist_id)\n\t);"] [2024/05/06 09:30:01.839 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=33] [category=ddl] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:01.831 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:01.842 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=15] [neededSchemaVersion=16] ["start time"=332.265µs] [gotSchemaVersion=16] [phyTblIDs="[32]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:01.844 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:01.844 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=33] [version=16] [2024/05/06 09:30:01.845 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=16] ["take time"=3.094935ms] [job="ID:33, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:01.831 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:01.850 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=33] [job="ID:33, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:01.831 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:01.854 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=33] [2024/05/06 09:30:01.854 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:01.854 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=16] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.role_edges (\n\t\tFROM_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tFROM_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tWITH_ADMIN_OPTION \tENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER)\n\t);"] [user=] [2024/05/06 09:30:01.865 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:01.858 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:01.866 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:01.858 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.role_edges (\n\t\tFROM_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tFROM_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tWITH_ADMIN_OPTION \tENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER)\n\t);"] [2024/05/06 09:30:01.871 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=35] [category=ddl] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:01.858 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:01.877 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=16] [neededSchemaVersion=17] ["start time"=392.433µs] [gotSchemaVersion=17] [phyTblIDs="[34]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:01.878 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:01.878 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=35] [version=17] [2024/05/06 09:30:01.879 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=17] ["take time"=2.934456ms] [job="ID:35, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:01.858 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:01.885 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=35] [job="ID:35, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:01.858 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:01.889 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=35] [2024/05/06 09:30:01.889 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:01.889 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=17] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.default_roles (\n\t\tHOST \t\t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tUSER \t\t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tDEFAULT_ROLE_HOST \tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%',\n\t\tDEFAULT_ROLE_USER \tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tPRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER)\n\t)"] [user=] [2024/05/06 09:30:01.892 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:01.891 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:01.893 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:01.891 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.default_roles (\n\t\tHOST \t\t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tUSER \t\t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tDEFAULT_ROLE_HOST \tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%',\n\t\tDEFAULT_ROLE_USER \tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tPRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER)\n\t)"] [2024/05/06 09:30:01.900 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=37] [category=ddl] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:01.891 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:01.903 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=18] ["start time"=283.854µs] [gotSchemaVersion=18] [phyTblIDs="[36]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:01.905 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:01.905 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=37] [version=18] [2024/05/06 09:30:01.906 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=18] ["take time"=2.543614ms] [job="ID:37, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:01.891 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:01.911 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=37] [job="ID:37, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:01.891 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:01.914 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=37] [2024/05/06 09:30:01.914 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:01.915 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=18] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql TEXT NOT NULL,\n\t\tbind_sql TEXT NOT NULL,\n\t\tdefault_db TEXT NOT NULL,\n\t\tstatus TEXT NOT NULL,\n\t\tcreate_time TIMESTAMP(3) NOT NULL,\n\t\tupdate_time TIMESTAMP(3) NOT NULL,\n\t\tcharset TEXT NOT NULL,\n\t\tcollation TEXT NOT NULL,\n\t\tsource VARCHAR(10) NOT NULL DEFAULT 'unknown',\n\t\tsql_digest varchar(64),\n\t\tplan_digest varchar(64),\n\t\tINDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\",\n\t\tINDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2024/05/06 09:30:01.918 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:01.916 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:01.918 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:01.916 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql TEXT NOT NULL,\n\t\tbind_sql TEXT NOT NULL,\n\t\tdefault_db TEXT NOT NULL,\n\t\tstatus TEXT NOT NULL,\n\t\tcreate_time TIMESTAMP(3) NOT NULL,\n\t\tupdate_time TIMESTAMP(3) NOT NULL,\n\t\tcharset TEXT NOT NULL,\n\t\tcollation TEXT NOT NULL,\n\t\tsource VARCHAR(10) NOT NULL DEFAULT 'unknown',\n\t\tsql_digest varchar(64),\n\t\tplan_digest varchar(64),\n\t\tINDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\",\n\t\tINDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2024/05/06 09:30:01.922 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=39] [category=ddl] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:01.916 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:01.927 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=18] [neededSchemaVersion=19] ["start time"=506.205µs] [gotSchemaVersion=19] [phyTblIDs="[38]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:01.929 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:01.929 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=39] [version=19] [2024/05/06 09:30:01.932 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=19] ["take time"=5.237862ms] [job="ID:39, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:01.916 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:01.937 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=39] [job="ID:39, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:01.916 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:01.940 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=39] [2024/05/06 09:30:01.941 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:01.942 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=19] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_top_n (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tcount \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] [2024/05/06 09:30:01.945 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:01.943 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:01.945 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:01.943 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_top_n (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tcount \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [2024/05/06 09:30:01.952 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=41] [category=ddl] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:01.943 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:01.955 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=19] [neededSchemaVersion=20] ["start time"=224.729µs] [gotSchemaVersion=20] [phyTblIDs="[40]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:01.956 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:01.956 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=41] [version=20] [2024/05/06 09:30:01.956 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=20] ["take time"=2.025439ms] [job="ID:41, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:01.943 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:01.982 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=41] [job="ID:41, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:01.943 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:01.995 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=41] [2024/05/06 09:30:01.995 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:01.995 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=20] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.expr_pushdown_blacklist (\n\t\tname \t\tCHAR(100) NOT NULL,\n\t\tstore_type \tCHAR(100) NOT NULL DEFAULT 'tikv,tiflash,tidb',\n\t\treason \t\tVARCHAR(200)\n\t);"] [user=] [2024/05/06 09:30:01.998 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:01.996 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:01.998 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:01.996 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.expr_pushdown_blacklist (\n\t\tname \t\tCHAR(100) NOT NULL,\n\t\tstore_type \tCHAR(100) NOT NULL DEFAULT 'tikv,tiflash,tidb',\n\t\treason \t\tVARCHAR(200)\n\t);"] [2024/05/06 09:30:02.004 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=43] [category=ddl] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:01.996 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:02.008 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=20] [neededSchemaVersion=21] ["start time"=283.583µs] [gotSchemaVersion=21] [phyTblIDs="[42]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:02.009 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:02.009 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=43] [version=21] [2024/05/06 09:30:02.010 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=21] ["take time"=2.236011ms] [job="ID:43, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:01.996 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:02.015 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=43] [job="ID:43, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:01.996 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:02.018 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=43] [2024/05/06 09:30:02.018 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:02.018 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=21] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] [user=] [2024/05/06 09:30:02.021 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:02.02 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:02.021 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:02.02 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] [2024/05/06 09:30:02.030 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=45] [category=ddl] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:02.02 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:02.033 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=21] [neededSchemaVersion=22] ["start time"=189.599µs] [gotSchemaVersion=22] [phyTblIDs="[44]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:02.034 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:02.034 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=45] [version=22] [2024/05/06 09:30:02.035 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=22] ["take time"=2.336532ms] [job="ID:45, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:02.02 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:02.039 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=45] [job="ID:45, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:02.02 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:02.042 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=45] [2024/05/06 09:30:02.042 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:02.042 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=22] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_extended (\n\t\tname varchar(32) NOT NULL,\n\t\ttype tinyint(4) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcolumn_ids varchar(32) NOT NULL,\n\t\tstats blob DEFAULT NULL,\n\t\tversion bigint(64) unsigned NOT NULL,\n\t\tstatus tinyint(4) NOT NULL,\n\t\tPRIMARY KEY(name, table_id),\n\t\tKEY idx_1 (table_id, status, version),\n\t\tKEY idx_2 (status, version)\n\t);"] [user=] [2024/05/06 09:30:02.046 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:02.044 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:02.046 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:02.044 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_extended (\n\t\tname varchar(32) NOT NULL,\n\t\ttype tinyint(4) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcolumn_ids varchar(32) NOT NULL,\n\t\tstats blob DEFAULT NULL,\n\t\tversion bigint(64) unsigned NOT NULL,\n\t\tstatus tinyint(4) NOT NULL,\n\t\tPRIMARY KEY(name, table_id),\n\t\tKEY idx_1 (table_id, status, version),\n\t\tKEY idx_2 (status, version)\n\t);"] [2024/05/06 09:30:02.051 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=47] [category=ddl] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:02.044 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:02.055 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=22] [neededSchemaVersion=23] ["start time"=321.769µs] [gotSchemaVersion=23] [phyTblIDs="[46]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:02.056 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:02.056 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=47] [version=23] [2024/05/06 09:30:02.057 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=23] ["take time"=2.692632ms] [job="ID:47, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:02.044 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:02.066 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=47] [job="ID:47, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:02.044 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:02.071 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=47] [2024/05/06 09:30:02.071 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:02.071 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=23] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] [2024/05/06 09:30:02.075 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:02.073 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:02.075 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:02.073 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [2024/05/06 09:30:02.083 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=49] [category=ddl] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:02.073 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:02.086 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=23] [neededSchemaVersion=24] ["start time"=235.196µs] [gotSchemaVersion=24] [phyTblIDs="[48]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:02.087 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:02.087 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=49] [version=24] [2024/05/06 09:30:02.088 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=24] ["take time"=2.911631ms] [job="ID:49, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:02.073 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:02.094 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=49] [job="ID:49, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:02.073 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:02.096 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=49] [2024/05/06 09:30:02.096 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:02.097 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=24] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.global_grants (\n\t\tUSER char(32) NOT NULL DEFAULT '',\n\t\tHOST char(255) NOT NULL DEFAULT '',\n\t\tPRIV char(32) NOT NULL DEFAULT '',\n\t\tWITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (USER,HOST,PRIV)\n\t);"] [user=] [2024/05/06 09:30:02.099 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:02.098 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:02.099 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:02.098 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.global_grants (\n\t\tUSER char(32) NOT NULL DEFAULT '',\n\t\tHOST char(255) NOT NULL DEFAULT '',\n\t\tPRIV char(32) NOT NULL DEFAULT '',\n\t\tWITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (USER,HOST,PRIV)\n\t);"] [2024/05/06 09:30:02.106 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=51] [category=ddl] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:02.098 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:02.109 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=24] [neededSchemaVersion=25] ["start time"=308.602µs] [gotSchemaVersion=25] [phyTblIDs="[50]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:02.110 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:02.110 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=51] [version=25] [2024/05/06 09:30:02.111 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=25] ["take time"=2.472542ms] [job="ID:51, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:02.098 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:02.116 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=51] [job="ID:51, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:02.098 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:02.119 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=51] [2024/05/06 09:30:02.119 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:02.119 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=25] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist (\n\t\tid bigint(64) auto_increment,\n\t\tfilter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\",\n\t\tfilter_value varchar(32) NOT NULL,\n\t\tkey idx(filter_type),\n\t\tprimary key(id)\n\t);"] [user=] [2024/05/06 09:30:02.122 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:02.121 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:02.122 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:02.121 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist (\n\t\tid bigint(64) auto_increment,\n\t\tfilter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\",\n\t\tfilter_value varchar(32) NOT NULL,\n\t\tkey idx(filter_type),\n\t\tprimary key(id)\n\t);"] [2024/05/06 09:30:02.130 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=53] [category=ddl] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:02.121 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:02.133 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=25] [neededSchemaVersion=26] ["start time"=278.158µs] [gotSchemaVersion=26] [phyTblIDs="[52]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:02.134 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:02.134 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=53] [version=26] [2024/05/06 09:30:02.135 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=26] ["take time"=2.42433ms] [job="ID:53, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:02.121 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:02.140 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=53] [job="ID:53, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:02.121 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:02.143 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=53] [2024/05/06 09:30:02.143 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:02.144 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=26] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.column_stats_usage (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tcolumn_id BIGINT(64) NOT NULL,\n\t\tlast_used_at TIMESTAMP,\n\t\tlast_analyzed_at TIMESTAMP,\n\t\tPRIMARY KEY (table_id, column_id) CLUSTERED\n\t);"] [user=] [2024/05/06 09:30:02.146 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:02.145 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:02.146 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:02.145 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.column_stats_usage (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tcolumn_id BIGINT(64) NOT NULL,\n\t\tlast_used_at TIMESTAMP,\n\t\tlast_analyzed_at TIMESTAMP,\n\t\tPRIMARY KEY (table_id, column_id) CLUSTERED\n\t);"] [2024/05/06 09:30:02.161 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=55] [category=ddl] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:02.145 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:02.164 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=26] [neededSchemaVersion=27] ["start time"=372.094µs] [gotSchemaVersion=27] [phyTblIDs="[54]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:02.166 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:02.166 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=55] [version=27] [2024/05/06 09:30:02.166 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=27] ["take time"=2.223986ms] [job="ID:55, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:02.145 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:02.175 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=55] [job="ID:55, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:02.145 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:02.182 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=55] [2024/05/06 09:30:02.182 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:02.182 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=27] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.table_cache_meta (\n\t\ttid bigint(11) NOT NULL DEFAULT 0,\n\t\tlock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE',\n\t\tlease bigint(20) NOT NULL DEFAULT 0,\n\t\toldReadLease bigint(20) NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (tid)\n\t);"] [user=] [2024/05/06 09:30:02.186 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:02.184 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:02.186 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:02.184 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.table_cache_meta (\n\t\ttid bigint(11) NOT NULL DEFAULT 0,\n\t\tlock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE',\n\t\tlease bigint(20) NOT NULL DEFAULT 0,\n\t\toldReadLease bigint(20) NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (tid)\n\t);"] [2024/05/06 09:30:02.193 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=57] [category=ddl] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:02.184 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:02.199 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=27] [neededSchemaVersion=28] ["start time"=270.565µs] [gotSchemaVersion=28] [phyTblIDs="[56]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:02.200 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:02.200 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=57] [version=28] [2024/05/06 09:30:02.201 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=28] ["take time"=3.064684ms] [job="ID:57, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:02.184 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:02.206 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=57] [job="ID:57, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:02.184 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:02.210 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=57] [2024/05/06 09:30:02.210 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:02.210 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=28] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_options (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tsample_num BIGINT(64) NOT NULL DEFAULT 0,\n\t\tsample_rate DOUBLE NOT NULL DEFAULT -1,\n\t\tbuckets BIGINT(64) NOT NULL DEFAULT 0,\n\t\ttopn BIGINT(64) NOT NULL DEFAULT -1,\n\t\tcolumn_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT',\n\t\tcolumn_ids TEXT(19372),\n\t\tPRIMARY KEY (table_id) CLUSTERED\n\t);"] [user=] [2024/05/06 09:30:02.210 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(19372) to MEDIUMBLOB"] [category=ddl] [2024/05/06 09:30:02.213 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:02.212 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:02.213 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:02.212 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.analyze_options (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tsample_num BIGINT(64) NOT NULL DEFAULT 0,\n\t\tsample_rate DOUBLE NOT NULL DEFAULT -1,\n\t\tbuckets BIGINT(64) NOT NULL DEFAULT 0,\n\t\ttopn BIGINT(64) NOT NULL DEFAULT -1,\n\t\tcolumn_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT',\n\t\tcolumn_ids TEXT(19372),\n\t\tPRIMARY KEY (table_id) CLUSTERED\n\t);"] [2024/05/06 09:30:02.220 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=59] [category=ddl] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:02.212 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:02.224 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=28] [neededSchemaVersion=29] ["start time"=317.392µs] [gotSchemaVersion=29] [phyTblIDs="[58]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:02.225 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:02.225 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=59] [version=29] [2024/05/06 09:30:02.225 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=29] ["take time"=2.07993ms] [job="ID:59, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:02.212 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:02.237 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=59] [job="ID:59, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:02.212 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:02.241 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=59] [2024/05/06 09:30:02.242 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:02.242 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=29] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tstats_data longblob NOT NULL,\n\t\tseq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice',\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version_seq (table_id, version, seq_no),\n\t\tKEY table_create_time (table_id, create_time, seq_no),\n \tKEY idx_create_time (create_time)\n\t);"] [user=] [2024/05/06 09:30:02.245 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:02.243 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:02.245 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:02.243 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tstats_data longblob NOT NULL,\n\t\tseq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice',\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version_seq (table_id, version, seq_no),\n\t\tKEY table_create_time (table_id, create_time, seq_no),\n \tKEY idx_create_time (create_time)\n\t);"] [2024/05/06 09:30:02.252 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=61] [category=ddl] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:02.243 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:02.256 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=29] [neededSchemaVersion=30] ["start time"=387.282µs] [gotSchemaVersion=30] [phyTblIDs="[60]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:02.257 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:02.257 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=61] [version=30] [2024/05/06 09:30:02.257 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=30] ["take time"=2.00992ms] [job="ID:61, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:02.243 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:02.265 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=61] [job="ID:61, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:02.243 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:02.275 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=61] [2024/05/06 09:30:02.275 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:02.275 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=30] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_meta_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL,\n\t\tcount bigint(64) NOT NULL,\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n \tsource varchar(40) NOT NULL,\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version (table_id, version),\n\t\tKEY table_create_time (table_id, create_time),\n \tKEY idx_create_time (create_time)\n\t);"] [user=] [2024/05/06 09:30:02.279 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:02.277 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:02.279 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:02.277 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_meta_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL,\n\t\tcount bigint(64) NOT NULL,\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n \tsource varchar(40) NOT NULL,\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version (table_id, version),\n\t\tKEY table_create_time (table_id, create_time),\n \tKEY idx_create_time (create_time)\n\t);"] [2024/05/06 09:30:02.290 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=63] [category=ddl] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:02.277 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:02.295 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=30] [neededSchemaVersion=31] ["start time"=416.909µs] [gotSchemaVersion=31] [phyTblIDs="[62]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:02.296 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:02.296 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=63] [version=31] [2024/05/06 09:30:02.299 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=31] ["take time"=4.792061ms] [job="ID:63, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:02.277 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:02.305 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=63] [job="ID:63, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:02.277 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:02.309 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=63] [2024/05/06 09:30:02.309 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:02.310 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=31] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_jobs (\n\t\tid BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\ttable_schema CHAR(64) NOT NULL DEFAULT '',\n\t\ttable_name CHAR(64) NOT NULL DEFAULT '',\n\t\tpartition_name CHAR(64) NOT NULL DEFAULT '',\n\t\tjob_info TEXT NOT NULL,\n\t\tprocessed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tstart_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tstate ENUM('pending', 'running', 'finished', 'failed') NOT NULL,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job',\n\t\tprocess_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job',\n\t\tPRIMARY KEY (id),\n\t\tKEY (update_time)\n\t);"] [user=] [2024/05/06 09:30:02.313 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:02.311 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:02.313 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:02.311 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.analyze_jobs (\n\t\tid BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\ttable_schema CHAR(64) NOT NULL DEFAULT '',\n\t\ttable_name CHAR(64) NOT NULL DEFAULT '',\n\t\tpartition_name CHAR(64) NOT NULL DEFAULT '',\n\t\tjob_info TEXT NOT NULL,\n\t\tprocessed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tstart_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tstate ENUM('pending', 'running', 'finished', 'failed') NOT NULL,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job',\n\t\tprocess_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job',\n\t\tPRIMARY KEY (id),\n\t\tKEY (update_time)\n\t);"] [2024/05/06 09:30:02.318 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=65] [category=ddl] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:02.311 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:02.322 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=31] [neededSchemaVersion=32] ["start time"=507.795µs] [gotSchemaVersion=32] [phyTblIDs="[64]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:02.324 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:02.324 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=65] [version=32] [2024/05/06 09:30:02.324 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=32] ["take time"=2.432213ms] [job="ID:65, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:02.311 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:02.331 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=65] [job="ID:65, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:02.311 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:02.343 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=65] [2024/05/06 09:30:02.343 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:02.344 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=32] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] [user=] [2024/05/06 09:30:02.346 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:02.345 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:02.346 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:02.345 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] [2024/05/06 09:30:02.353 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=67] [category=ddl] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:02.345 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:02.356 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=251.731µs] [gotSchemaVersion=33] [phyTblIDs="[66]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:02.358 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:02.358 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=67] [version=33] [2024/05/06 09:30:02.358 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=33] ["take time"=2.026833ms] [job="ID:67, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:02.345 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:02.363 +00:00] [WARN] [runaway.go:166] ["failed to start runaway manager loop, please check whether the bootstrap or update is finished"] [error="[schema:1146]Table 'mysql.tidb_runaway_watch' doesn't exist"] [errorVerbose="[schema:1146]Table 'mysql.tidb_runaway_watch' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:141\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:67\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2089\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternalStmt\n\tpkg/session/session.go:1993\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL.func1\n\tpkg/session/session.go:1958\ngithub.com/pingcap/tidb/pkg/session.(*session).withRestrictedSQLExecutor\n\tpkg/session/session.go:1944\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL\n\tpkg/session/session.go:1948\ngithub.com/pingcap/tidb/pkg/domain.(*SystemTableReader).Read\n\tpkg/domain/runaway.go:655\ngithub.com/pingcap/tidb/pkg/domain.getRunawayWatchRecord\n\tpkg/domain/runaway.go:543\ngithub.com/pingcap/tidb/pkg/domain.(*runawaySyncer).getWatchRecord\n\tpkg/domain/runaway.go:526\ngithub.com/pingcap/tidb/pkg/domain.(*runawaySyncer).getNewWatchRecords\n\tpkg/domain/runaway.go:509\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).updateNewAndDoneWatch\n\tpkg/domain/runaway.go:177\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).runawayStartLoop\n\tpkg/domain/runaway.go:156\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:99\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [2024/05/06 09:30:02.366 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=67] [job="ID:67, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:02.345 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:02.370 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=67] [2024/05/06 09:30:02.370 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:02.375 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2024-05-06 09:30:02.373 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:02.375 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2024-05-06 09:30:02.373 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE OR REPLACE VIEW mysql.tidb_mdl_view as (\n\t\tSELECT tidb_mdl_info.job_id,\n\t\t\tJSON_UNQUOTE(JSON_EXTRACT(cast(cast(job_meta as char) as json), \"$.schema_name\")) as db_name,\n\t\t\tJSON_UNQUOTE(JSON_EXTRACT(cast(cast(job_meta as char) as json), \"$.table_name\")) as table_name,\n\t\t\tJSON_UNQUOTE(JSON_EXTRACT(cast(cast(job_meta as char) as json), \"$.query\")) as query,\n\t\t\tsession_id,\n\t\t\tcluster_tidb_trx.start_time,\n\t\t\ttidb_decode_sql_digests(all_sql_digests, 4096) AS SQL_DIGESTS\n\t\tFROM mysql.tidb_ddl_job,\n\t\t\tmysql.tidb_mdl_info,\n\t\t\tinformation_schema.cluster_tidb_trx\n\t\tWHERE tidb_ddl_job.job_id=tidb_mdl_info.job_id\n\t\t\tAND CONCAT(',', tidb_mdl_info.table_ids, ',') REGEXP CONCAT(',', REPLACE(cluster_tidb_trx.related_table_ids, ',', '|'), ',') != 0\n\t);"] [2024/05/06 09:30:02.385 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=69] [category=ddl] [job="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:02.373 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:02.391 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=33] [neededSchemaVersion=34] ["start time"=343.4µs] [gotSchemaVersion=34] [phyTblIDs="[68]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2024/05/06 09:30:02.392 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:02.392 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=69] [version=34] [2024/05/06 09:30:02.395 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=34] ["take time"=4.659723ms] [job="ID:69, Type:create view, State:done, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2024-05-06 09:30:02.373 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:02.400 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=69] [job="ID:69, Type:create view, State:synced, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:02.373 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:02.404 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=69] [2024/05/06 09:30:02.404 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:02.404 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=34] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_status (\n\t\tsql_digest VARCHAR(128),\n\t\tplan_digest VARCHAR(128),\n\t\torigin_sql TEXT,\n\t\ttoken VARCHAR(128),\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the plan replayer job');"] [user=] [2024/05/06 09:30:02.408 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:02.406 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:02.408 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:02.406 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_status (\n\t\tsql_digest VARCHAR(128),\n\t\tplan_digest VARCHAR(128),\n\t\torigin_sql TEXT,\n\t\ttoken VARCHAR(128),\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the plan replayer job');"] [2024/05/06 09:30:02.415 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=71] [category=ddl] [job="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:02.406 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:02.418 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=34] [neededSchemaVersion=35] ["start time"=342.724µs] [gotSchemaVersion=35] [phyTblIDs="[70]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:02.419 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:02.419 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=71] [version=35] [2024/05/06 09:30:02.419 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=35] ["take time"=2.033973ms] [job="ID:71, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:02.406 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:02.427 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=71] [job="ID:71, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:02.406 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:02.430 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=71] [2024/05/06 09:30:02.430 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:02.430 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=35] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_task (\n\t\tsql_digest VARCHAR(128) NOT NULL,\n\t\tplan_digest VARCHAR(128) NOT NULL,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tPRIMARY KEY (sql_digest,plan_digest));"] [user=] [2024/05/06 09:30:02.433 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:02.432 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:02.433 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:02.432 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_task (\n\t\tsql_digest VARCHAR(128) NOT NULL,\n\t\tplan_digest VARCHAR(128) NOT NULL,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tPRIMARY KEY (sql_digest,plan_digest));"] [2024/05/06 09:30:02.441 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=73] [category=ddl] [job="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:02.432 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:02.444 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=35] [neededSchemaVersion=36] ["start time"=302.151µs] [gotSchemaVersion=36] [phyTblIDs="[72]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:02.446 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:02.446 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=73] [version=36] [2024/05/06 09:30:02.446 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=36] ["take time"=2.705647ms] [job="ID:73, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:02.432 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:02.451 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=73] [job="ID:73, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:02.432 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:02.455 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=73] [2024/05/06 09:30:02.455 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:02.455 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=36] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_table_locked(\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL DEFAULT 0,\n\t\tcount bigint(64) NOT NULL DEFAULT 0,\n\t\tversion bigint(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (table_id));"] [user=] [2024/05/06 09:30:02.458 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:02.457 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:02.458 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:02.457 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_table_locked(\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL DEFAULT 0,\n\t\tcount bigint(64) NOT NULL DEFAULT 0,\n\t\tversion bigint(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (table_id));"] [2024/05/06 09:30:02.465 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=75] [category=ddl] [job="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:02.457 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:02.468 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=36] [neededSchemaVersion=37] ["start time"=391.375µs] [gotSchemaVersion=37] [phyTblIDs="[74]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:02.473 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:02.473 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=75] [version=37] [2024/05/06 09:30:02.476 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=37] ["take time"=7.964113ms] [job="ID:75, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:02.457 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:02.493 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=75] [job="ID:75, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:02.457 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:02.496 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=75] [2024/05/06 09:30:02.496 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:02.497 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=37] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_table_status (\n\t\ttable_id bigint(64) PRIMARY KEY,\n parent_table_id bigint(64),\n table_statistics text DEFAULT NULL,\n\t\tlast_job_id varchar(64) DEFAULT NULL,\n\t\tlast_job_start_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_finish_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_ttl_expire timestamp NULL DEFAULT NULL,\n last_job_summary text DEFAULT NULL,\n\t\tcurrent_job_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_addr varchar(256) DEFAULT NULL,\n\t\tcurrent_job_owner_hb_time timestamp,\n\t\tcurrent_job_start_time timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_ttl_expire timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_state text DEFAULT NULL,\n\t\tcurrent_job_status varchar(64) DEFAULT NULL,\n \t\tcurrent_job_status_update_time timestamp NULL DEFAULT NULL);"] [user=] [2024/05/06 09:30:02.501 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:02.499 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:02.501 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:02.499 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_table_status (\n\t\ttable_id bigint(64) PRIMARY KEY,\n parent_table_id bigint(64),\n table_statistics text DEFAULT NULL,\n\t\tlast_job_id varchar(64) DEFAULT NULL,\n\t\tlast_job_start_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_finish_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_ttl_expire timestamp NULL DEFAULT NULL,\n last_job_summary text DEFAULT NULL,\n\t\tcurrent_job_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_addr varchar(256) DEFAULT NULL,\n\t\tcurrent_job_owner_hb_time timestamp,\n\t\tcurrent_job_start_time timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_ttl_expire timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_state text DEFAULT NULL,\n\t\tcurrent_job_status varchar(64) DEFAULT NULL,\n \t\tcurrent_job_status_update_time timestamp NULL DEFAULT NULL);"] [2024/05/06 09:30:02.521 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=77] [category=ddl] [job="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:02.499 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:02.529 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=37] [neededSchemaVersion=38] ["start time"=598.91µs] [gotSchemaVersion=38] [phyTblIDs="[76]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:02.530 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:02.530 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=77] [version=38] [2024/05/06 09:30:02.533 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=38] ["take time"=5.053484ms] [job="ID:77, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:02.499 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:02.539 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=77] [job="ID:77, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:02.499 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:02.545 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=77] [2024/05/06 09:30:02.545 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:02.546 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=38] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_task (\n\t\tjob_id varchar(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tscan_id int NOT NULL,\n\t\tscan_range_start BLOB,\n\t\tscan_range_end BLOB,\n\t\texpire_time timestamp NOT NULL,\n\t\towner_id varchar(64) DEFAULT NULL,\n\t\towner_addr varchar(64) DEFAULT NULL,\n\t\towner_hb_time timestamp DEFAULT NULL,\n\t\tstatus varchar(64) DEFAULT 'waiting',\n\t\tstatus_update_time timestamp NULL DEFAULT NULL,\n\t\tstate text,\n\t\tcreated_time timestamp NOT NULL,\n\t\tprimary key(job_id, scan_id),\n\t\tkey(created_time));"] [user=] [2024/05/06 09:30:02.550 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:02.548 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:02.550 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:02.548 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_task (\n\t\tjob_id varchar(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tscan_id int NOT NULL,\n\t\tscan_range_start BLOB,\n\t\tscan_range_end BLOB,\n\t\texpire_time timestamp NOT NULL,\n\t\towner_id varchar(64) DEFAULT NULL,\n\t\towner_addr varchar(64) DEFAULT NULL,\n\t\towner_hb_time timestamp DEFAULT NULL,\n\t\tstatus varchar(64) DEFAULT 'waiting',\n\t\tstatus_update_time timestamp NULL DEFAULT NULL,\n\t\tstate text,\n\t\tcreated_time timestamp NOT NULL,\n\t\tprimary key(job_id, scan_id),\n\t\tkey(created_time));"] [2024/05/06 09:30:02.556 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=79] [category=ddl] [job="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:02.548 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:02.561 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=38] [neededSchemaVersion=39] ["start time"=665.145µs] [gotSchemaVersion=39] [phyTblIDs="[78]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:02.563 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:02.563 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=79] [version=39] [2024/05/06 09:30:02.573 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=39] ["take time"=12.38595ms] [job="ID:79, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:02.548 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:02.585 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=79] [job="ID:79, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:02.548 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:02.589 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=79] [2024/05/06 09:30:02.589 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:02.590 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=39] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_job_history (\n\t\tjob_id varchar(64) PRIMARY KEY,\n\t\ttable_id bigint(64) NOT NULL,\n parent_table_id bigint(64) NOT NULL,\n \ttable_schema varchar(64) NOT NULL,\n\t\ttable_name varchar(64) NOT NULL,\n \tpartition_name varchar(64) DEFAULT NULL,\n\t\tcreate_time timestamp NOT NULL,\n\t\tfinish_time timestamp NOT NULL,\n\t\tttl_expire timestamp NOT NULL,\n summary_text text,\n\t\texpired_rows bigint(64) DEFAULT NULL,\n \tdeleted_rows bigint(64) DEFAULT NULL,\n \terror_delete_rows bigint(64) DEFAULT NULL,\n \tstatus varchar(64) NOT NULL,\n \tkey(table_schema, table_name, create_time),\n \tkey(parent_table_id, create_time),\n \tkey(create_time)\n\t);"] [user=] [2024/05/06 09:30:02.593 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:02.591 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:02.593 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:02.591 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_job_history (\n\t\tjob_id varchar(64) PRIMARY KEY,\n\t\ttable_id bigint(64) NOT NULL,\n parent_table_id bigint(64) NOT NULL,\n \ttable_schema varchar(64) NOT NULL,\n\t\ttable_name varchar(64) NOT NULL,\n \tpartition_name varchar(64) DEFAULT NULL,\n\t\tcreate_time timestamp NOT NULL,\n\t\tfinish_time timestamp NOT NULL,\n\t\tttl_expire timestamp NOT NULL,\n summary_text text,\n\t\texpired_rows bigint(64) DEFAULT NULL,\n \tdeleted_rows bigint(64) DEFAULT NULL,\n \terror_delete_rows bigint(64) DEFAULT NULL,\n \tstatus varchar(64) NOT NULL,\n \tkey(table_schema, table_name, create_time),\n \tkey(parent_table_id, create_time),\n \tkey(create_time)\n\t);"] [2024/05/06 09:30:02.601 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=81] [category=ddl] [job="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:80, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:02.591 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:02.606 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=39] [neededSchemaVersion=40] ["start time"=409.196µs] [gotSchemaVersion=40] [phyTblIDs="[80]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:02.607 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:02.607 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=81] [version=40] [2024/05/06 09:30:02.608 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=40] ["take time"=2.479233ms] [job="ID:81, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:02.591 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:02.613 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=81] [job="ID:81, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:80, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:02.591 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:02.617 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=81] [2024/05/06 09:30:02.617 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:02.618 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=40] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(261),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tpriority INT DEFAULT 1,\n\t\tcreate_time TIMESTAMP,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\ttarget_scope VARCHAR(256) DEFAULT \"\",\n\t\terror BLOB,\n\t\tkey(state),\n \tUNIQUE KEY task_key(task_key)\n\t);"] [user=] [2024/05/06 09:30:02.622 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:02.62 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:02.622 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:02.62 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(261),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tpriority INT DEFAULT 1,\n\t\tcreate_time TIMESTAMP,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\ttarget_scope VARCHAR(256) DEFAULT \"\",\n\t\terror BLOB,\n\t\tkey(state),\n \tUNIQUE KEY task_key(task_key)\n\t);"] [2024/05/06 09:30:02.628 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=83] [category=ddl] [job="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:82, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:02.62 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:02.632 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=40] [neededSchemaVersion=41] ["start time"=584.094µs] [gotSchemaVersion=41] [phyTblIDs="[82]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:02.634 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:02.634 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=83] [version=41] [2024/05/06 09:30:02.636 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=41] ["take time"=4.478999ms] [job="ID:83, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:02.62 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:02.641 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=83] [job="ID:83, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:82, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:02.62 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:02.646 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=83] [2024/05/06 09:30:02.646 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:02.647 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=41] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task_history (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(261),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tpriority INT DEFAULT 1,\n\t\tcreate_time TIMESTAMP,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\ttarget_scope VARCHAR(256) DEFAULT \"\",\n\t\terror BLOB,\n\t\tkey(state),\n \tUNIQUE KEY task_key(task_key)\n\t);"] [user=] [2024/05/06 09:30:02.650 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:85, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:84, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:02.648 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:02.650 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:85, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:84, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:02.648 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task_history (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(261),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tpriority INT DEFAULT 1,\n\t\tcreate_time TIMESTAMP,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\ttarget_scope VARCHAR(256) DEFAULT \"\",\n\t\terror BLOB,\n\t\tkey(state),\n \tUNIQUE KEY task_key(task_key)\n\t);"] [2024/05/06 09:30:02.656 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=85] [category=ddl] [job="ID:85, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:84, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:02.648 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:02.662 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=41] [neededSchemaVersion=42] ["start time"=569.519µs] [gotSchemaVersion=42] [phyTblIDs="[84]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:02.663 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:02.663 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=85] [version=42] [2024/05/06 09:30:02.666 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=42] ["take time"=4.948578ms] [job="ID:85, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:84, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:02.648 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:02.684 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=85] [job="ID:85, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:84, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:02.648 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:02.688 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=85] [2024/05/06 09:30:02.688 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:02.689 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=42] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_import_jobs (\n\t\tid bigint(64) NOT NULL AUTO_INCREMENT,\n\t\tcreate_time TIMESTAMP(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n\t\tstart_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tupdate_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tend_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\ttable_schema VARCHAR(64) NOT NULL,\n\t\ttable_name VARCHAR(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcreated_by VARCHAR(300) NOT NULL,\n\t\tparameters text NOT NULL,\n\t\tsource_file_size bigint(64) NOT NULL,\n\t\tstatus VARCHAR(64) NOT NULL,\n\t\tstep VARCHAR(64) NOT NULL,\n\t\tsummary text DEFAULT NULL,\n\t\terror_message TEXT DEFAULT NULL,\n\t\tPRIMARY KEY (id),\n\t\tKEY (created_by),\n\t\tKEY (status));"] [user=] [2024/05/06 09:30:02.692 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:87, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:86, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:02.69 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:02.692 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:87, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:86, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:02.69 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_import_jobs (\n\t\tid bigint(64) NOT NULL AUTO_INCREMENT,\n\t\tcreate_time TIMESTAMP(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n\t\tstart_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tupdate_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tend_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\ttable_schema VARCHAR(64) NOT NULL,\n\t\ttable_name VARCHAR(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcreated_by VARCHAR(300) NOT NULL,\n\t\tparameters text NOT NULL,\n\t\tsource_file_size bigint(64) NOT NULL,\n\t\tstatus VARCHAR(64) NOT NULL,\n\t\tstep VARCHAR(64) NOT NULL,\n\t\tsummary text DEFAULT NULL,\n\t\terror_message TEXT DEFAULT NULL,\n\t\tPRIMARY KEY (id),\n\t\tKEY (created_by),\n\t\tKEY (status));"] [2024/05/06 09:30:02.699 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=87] [category=ddl] [job="ID:87, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:86, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:02.69 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:02.704 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=42] [neededSchemaVersion=43] ["start time"=478.489µs] [gotSchemaVersion=43] [phyTblIDs="[86]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:02.705 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:02.705 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=87] [version=43] [2024/05/06 09:30:02.705 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=43] ["take time"=2.016626ms] [job="ID:87, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:86, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:02.69 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:02.711 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=87] [job="ID:87, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:86, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:02.69 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:02.716 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=87] [2024/05/06 09:30:02.717 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:02.717 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=43] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tINDEX sql_index(resource_group_name,watch_text(700)) COMMENT \"accelerate the speed when select quarantined query\",\n\t\tINDEX time_index(end_time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2024/05/06 09:30:02.720 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:89, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:88, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:02.718 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:02.720 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:89, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:88, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:02.718 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tINDEX sql_index(resource_group_name,watch_text(700)) COMMENT \"accelerate the speed when select quarantined query\",\n\t\tINDEX time_index(end_time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2024/05/06 09:30:02.729 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=89] [category=ddl] [job="ID:89, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:88, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:02.718 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:02.733 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=43] [neededSchemaVersion=44] ["start time"=417.11µs] [gotSchemaVersion=44] [phyTblIDs="[88]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:02.735 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:02.735 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=89] [version=44] [2024/05/06 09:30:02.736 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=44] ["take time"=4.173691ms] [job="ID:89, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:88, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:02.718 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:02.741 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=89] [job="ID:89, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:88, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:02.718 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:02.744 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=89] [2024/05/06 09:30:02.744 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:02.745 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=44] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_queries (\n\t\tresource_group_name varchar(32) not null,\n\t\ttime TIMESTAMP NOT NULL,\n\t\tmatch_type varchar(12) NOT NULL,\n\t\taction varchar(12) NOT NULL,\n\t\toriginal_sql TEXT NOT NULL,\n\t\tplan_digest TEXT NOT NULL,\n\t\ttidb_server varchar(512),\n\t\tINDEX plan_index(plan_digest(64)) COMMENT \"accelerate the speed when select runaway query\",\n\t\tINDEX time_index(time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2024/05/06 09:30:02.748 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:91, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:90, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:02.746 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:02.748 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:91, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:90, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:02.746 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_queries (\n\t\tresource_group_name varchar(32) not null,\n\t\ttime TIMESTAMP NOT NULL,\n\t\tmatch_type varchar(12) NOT NULL,\n\t\taction varchar(12) NOT NULL,\n\t\toriginal_sql TEXT NOT NULL,\n\t\tplan_digest TEXT NOT NULL,\n\t\ttidb_server varchar(512),\n\t\tINDEX plan_index(plan_digest(64)) COMMENT \"accelerate the speed when select runaway query\",\n\t\tINDEX time_index(time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2024/05/06 09:30:02.755 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=91] [category=ddl] [job="ID:91, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:90, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:02.746 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:02.758 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=44] [neededSchemaVersion=45] ["start time"=372.632µs] [gotSchemaVersion=45] [phyTblIDs="[90]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:02.760 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:02.760 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=91] [version=45] [2024/05/06 09:30:02.773 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=45] ["take time"=6.101876ms] [job="ID:91, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:90, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:02.746 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:02.784 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=91] [job="ID:91, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:90, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:02.746 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:02.787 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=91] [2024/05/06 09:30:02.787 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:02.788 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=45] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS `mysql`.`tidb_timers` (\n\t\tID BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tNAMESPACE VARCHAR(256) NOT NULL,\n\t\tTIMER_KEY VARCHAR(256) NOT NULL,\n\t\tTIMER_DATA BLOB,\n\t\tTIMEZONE VARCHAR(64) NOT NULL,\n\t\tSCHED_POLICY_TYPE VARCHAR(32) NOT NULL,\n\t\tSCHED_POLICY_EXPR VARCHAR(256) NOT NULL,\n\t\tHOOK_CLASS VARCHAR(64) NOT NULL,\n\t\tWATERMARK TIMESTAMP DEFAULT NULL,\n\t\tENABLE TINYINT(2) NOT NULL,\n\t\tTIMER_EXT JSON NOT NULL,\n\t\tEVENT_STATUS VARCHAR(32) NOT NULL,\n\t\tEVENT_ID VARCHAR(64) NOT NULL,\n\t\tEVENT_DATA BLOB,\n\t\tEVENT_START TIMESTAMP DEFAULT NULL,\n\t\tSUMMARY_DATA BLOB,\n\t\tCREATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,\n\t\tUPDATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tVERSION BIGINT(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (ID),\n\t\tUNIQUE KEY timer_key(NAMESPACE, TIMER_KEY),\n\t\tKEY hook_class(HOOK_CLASS)\n\t)"] [user=] [2024/05/06 09:30:02.793 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:93, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:92, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:02.79 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:02.793 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:93, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:92, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:02.79 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS `mysql`.`tidb_timers` (\n\t\tID BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tNAMESPACE VARCHAR(256) NOT NULL,\n\t\tTIMER_KEY VARCHAR(256) NOT NULL,\n\t\tTIMER_DATA BLOB,\n\t\tTIMEZONE VARCHAR(64) NOT NULL,\n\t\tSCHED_POLICY_TYPE VARCHAR(32) NOT NULL,\n\t\tSCHED_POLICY_EXPR VARCHAR(256) NOT NULL,\n\t\tHOOK_CLASS VARCHAR(64) NOT NULL,\n\t\tWATERMARK TIMESTAMP DEFAULT NULL,\n\t\tENABLE TINYINT(2) NOT NULL,\n\t\tTIMER_EXT JSON NOT NULL,\n\t\tEVENT_STATUS VARCHAR(32) NOT NULL,\n\t\tEVENT_ID VARCHAR(64) NOT NULL,\n\t\tEVENT_DATA BLOB,\n\t\tEVENT_START TIMESTAMP DEFAULT NULL,\n\t\tSUMMARY_DATA BLOB,\n\t\tCREATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,\n\t\tUPDATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tVERSION BIGINT(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (ID),\n\t\tUNIQUE KEY timer_key(NAMESPACE, TIMER_KEY),\n\t\tKEY hook_class(HOOK_CLASS)\n\t)"] [2024/05/06 09:30:02.800 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=93] [category=ddl] [job="ID:93, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:92, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:02.79 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:02.806 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=45] [neededSchemaVersion=46] ["start time"=452.164µs] [gotSchemaVersion=46] [phyTblIDs="[92]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:02.807 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:02.807 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=93] [version=46] [2024/05/06 09:30:02.808 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=46] ["take time"=2.257896ms] [job="ID:93, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:02.79 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:02.813 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=93] [job="ID:93, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:02.79 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:02.817 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=93] [2024/05/06 09:30:02.817 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:02.818 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=46] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch_done (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\trecord_id BIGINT(20) not null,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tdone_time TIMESTAMP(6) NOT NULL\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2024/05/06 09:30:02.821 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:95, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:94, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:02.819 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:02.821 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:95, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:94, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:02.819 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch_done (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\trecord_id BIGINT(20) not null,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tdone_time TIMESTAMP(6) NOT NULL\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2024/05/06 09:30:02.828 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=95] [category=ddl] [job="ID:95, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:94, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:02.819 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:02.831 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=46] [neededSchemaVersion=47] ["start time"=397.22µs] [gotSchemaVersion=47] [phyTblIDs="[94]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:02.832 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:02.832 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=95] [version=47] [2024/05/06 09:30:02.833 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=47] ["take time"=3.071987ms] [job="ID:95, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:94, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:02.819 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:02.838 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=95] [job="ID:95, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:94, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:02.819 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:02.841 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=95] [2024/05/06 09:30:02.842 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:02.842 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=47] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.dist_framework_meta (\n host VARCHAR(261) NOT NULL PRIMARY KEY,\n role VARCHAR(64),\n cpu_count int default 0,\n keyspace_id bigint(8) NOT NULL DEFAULT -1\n );"] [user=] [2024/05/06 09:30:02.845 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:97, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:96, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:02.843 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:02.845 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:97, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:96, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:02.843 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.dist_framework_meta (\n host VARCHAR(261) NOT NULL PRIMARY KEY,\n role VARCHAR(64),\n cpu_count int default 0,\n keyspace_id bigint(8) NOT NULL DEFAULT -1\n );"] [2024/05/06 09:30:02.851 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=97] [category=ddl] [job="ID:97, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:96, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:02.843 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:02.854 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=47] [neededSchemaVersion=48] ["start time"=226.899µs] [gotSchemaVersion=48] [phyTblIDs="[96]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:02.855 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:02.855 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=97] [version=48] [2024/05/06 09:30:02.856 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=48] ["take time"=2.450115ms] [job="ID:97, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:96, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:02.843 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:02.866 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=97] [job="ID:97, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:96, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:02.843 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:02.872 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=97] [2024/05/06 09:30:02.872 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:02.873 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=48] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.request_unit_by_group (\n\t\tstart_time TIMESTAMP(6) NOT NULL,\n\t\tend_time TIMESTAMP(6) NOT NULL,\n\t\tresource_group VARCHAR(32) NOT null,\n\t\ttotal_ru bigint(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (start_time, end_time, resource_group),\n\t\tKEY (resource_group)\n\t);"] [user=] [2024/05/06 09:30:02.879 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:99, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:98, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:02.878 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:02.879 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:99, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:98, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:02.878 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.request_unit_by_group (\n\t\tstart_time TIMESTAMP(6) NOT NULL,\n\t\tend_time TIMESTAMP(6) NOT NULL,\n\t\tresource_group VARCHAR(32) NOT null,\n\t\ttotal_ru bigint(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (start_time, end_time, resource_group),\n\t\tKEY (resource_group)\n\t);"] [2024/05/06 09:30:02.885 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=99] [category=ddl] [job="ID:99, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:98, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:02.878 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:02.888 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=48] [neededSchemaVersion=49] ["start time"=299.373µs] [gotSchemaVersion=49] [phyTblIDs="[98]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:02.889 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:02.889 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=99] [version=49] [2024/05/06 09:30:02.891 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=49] ["take time"=2.968382ms] [job="ID:99, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:98, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:02.878 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:02.899 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=99] [job="ID:99, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:98, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:02.878 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:02.902 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=99] [2024/05/06 09:30:02.902 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:02.903 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=49] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS sys;"] [user=] [2024/05/06 09:30:02.909 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:101, Type:create schema, State:queueing, SchemaState:none, SchemaID:100, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:30:02.908 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:02.909 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:101, Type:create schema, State:queueing, SchemaState:none, SchemaID:100, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:30:02.908 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE DATABASE IF NOT EXISTS sys;"] [2024/05/06 09:30:02.915 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=101] [category=ddl] [job="ID:101, Type:create schema, State:queueing, SchemaState:none, SchemaID:100, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:02.908 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:02.917 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=49] [neededSchemaVersion=50] ["start time"=65.353µs] [gotSchemaVersion=50] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2024/05/06 09:30:02.918 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:02.918 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=101] [version=50] [2024/05/06 09:30:02.919 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=50] ["take time"=2.387709ms] [job="ID:101, Type:create schema, State:done, SchemaState:public, SchemaID:100, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:30:02.908 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:02.927 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=101] [job="ID:101, Type:create schema, State:synced, SchemaState:public, SchemaID:100, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:02.908 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:02.929 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=101] [2024/05/06 09:30:02.929 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:02.932 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:103, Type:create view, State:queueing, SchemaState:none, SchemaID:100, TableID:102, RowCount:0, ArgLen:3, start time: 2024-05-06 09:30:02.931 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:02.932 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:103, Type:create view, State:queueing, SchemaState:none, SchemaID:100, TableID:102, RowCount:0, ArgLen:3, start time: 2024-05-06 09:30:02.931 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE OR REPLACE VIEW sys.schema_unused_indexes AS\n\t\tSELECT\n\t\t\ttable_schema as object_schema,\n\t\t\ttable_name as object_name,\n\t\t\tindex_name\n\t\tFROM information_schema.cluster_tidb_index_usage\n\t\tWHERE\n\t\t\ttable_schema not in ('sys', 'mysql', 'INFORMATION_SCHEMA', 'PERFORMANCE_SCHEMA') and\n\t\t\tindex_name != 'PRIMARY'\n\t\tGROUP BY table_schema, table_name, index_name\n\t\tHAVING\n\t\t\tsum(last_access_time) is null;"] [2024/05/06 09:30:02.940 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=103] [category=ddl] [job="ID:103, Type:create view, State:queueing, SchemaState:none, SchemaID:100, TableID:102, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:02.931 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:02.943 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=50] [neededSchemaVersion=51] ["start time"=229.379µs] [gotSchemaVersion=51] [phyTblIDs="[102]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2024/05/06 09:30:02.944 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:02.944 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=103] [version=51] [2024/05/06 09:30:02.945 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=51] ["take time"=2.683333ms] [job="ID:103, Type:create view, State:done, SchemaState:public, SchemaID:100, TableID:102, RowCount:0, ArgLen:3, start time: 2024-05-06 09:30:02.931 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:02.950 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=103] [job="ID:103, Type:create view, State:synced, SchemaState:public, SchemaID:100, TableID:102, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:02.931 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:02.953 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=103] [2024/05/06 09:30:02.953 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:02.995 +00:00] [INFO] [bootstrap.go:745] ["bootstrap successful"] ["take time"=1.632264418s] [2024/05/06 09:30:02.995 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=2e4777c8-c511-417a-a11c-ac205cbf11a9] [ownerKey=/tidb/ddl/fg/owner] [2024/05/06 09:30:02.995 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/06 09:30:02.995 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 13, tp add index"] [category=ddl] ["take time"=3.059µs] [2024/05/06 09:30:02.995 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 14, tp add index"] [category=ddl] ["take time"=1.436µs] [2024/05/06 09:30:02.995 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 15, tp add index"] [category=ddl] ["take time"=1.193µs] [2024/05/06 09:30:02.995 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 12, tp add index"] [category=ddl] ["take time"=1.484µs] [2024/05/06 09:30:02.995 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/06 09:30:02.995 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 11, tp general"] [category=ddl] ["take time"=1.484µs] [2024/05/06 09:30:02.995 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/06 09:30:02.995 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2024/05/06 09:30:02.995 +00:00] [INFO] [session_pool.go:99] ["closing session pool"] [category=ddl] [2024/05/06 09:30:02.998 +00:00] [INFO] [ddl.go:951] ["DDL closed"] [category=ddl] [ID=2e4777c8-c511-417a-a11c-ac205cbf11a9] ["take time"=3.051677ms] [2024/05/06 09:30:02.998 +00:00] [INFO] [ddl.go:769] ["stop DDL"] [category=ddl] [ID=2e4777c8-c511-417a-a11c-ac205cbf11a9] [2024/05/06 09:30:02.998 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2024/05/06 09:30:02.998 +00:00] [INFO] [domain.go:907] ["loadSchemaInLoop exited."] [2024/05/06 09:30:02.998 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2024/05/06 09:30:02.998 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayStartLoop] [2024/05/06 09:30:02.998 +00:00] [INFO] [domain.go:761] ["topologySyncerKeeper exited."] [2024/05/06 09:30:02.998 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2024/05/06 09:30:02.998 +00:00] [INFO] [domain.go:737] ["globalConfigSyncerKeeper exited."] [2024/05/06 09:30:02.998 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/06 09:30:02.998 +00:00] [INFO] [domain.go:711] ["infoSyncerKeeper exited."] [2024/05/06 09:30:02.998 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2024/05/06 09:30:02.998 +00:00] [INFO] [domain.go:1361] ["closestReplicaReadCheckLoop exited."] [2024/05/06 09:30:02.998 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/06 09:30:02.998 +00:00] [INFO] [domain.go:683] ["topNSlowQueryLoop exited."] [2024/05/06 09:30:02.998 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2024/05/06 09:30:02.998 +00:00] [INFO] [domain.go:1074] ["domain closed"] ["take time"=3.353668ms] [2024/05/06 09:30:02.998 +00:00] [INFO] [tidb.go:80] ["new domain"] [store=bba92ac1-8d38-42aa-a6b9-36a2e1cc18fa] ["ddl lease"=500ms] ["stats lease"=-1ns] [2024/05/06 09:30:03.006 +00:00] [WARN] [controller.go:198] ["[resource group controller] server does not save config, load config failed"] [2024/05/06 09:30:03.006 +00:00] [INFO] [controller.go:185] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":10,\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\"}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":10,\"DegradedModeWaitDuration\":0}"] [2024/05/06 09:30:03.036 +00:00] [INFO] [domain.go:315] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=51] ["start time"=29.458368ms] [2024/05/06 09:30:03.041 +00:00] [INFO] [domain.go:635] ["full load and reset schema validator"] [2024/05/06 09:30:03.041 +00:00] [INFO] [ddl.go:818] ["start DDL"] [category=ddl] [ID=5939d305-7846-4e32-8997-2a773299247c] [runWorker=true] [2024/05/06 09:30:03.042 +00:00] [INFO] [ddl.go:777] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=true] [2024/05/06 09:30:03.042 +00:00] [WARN] [env.go:51] ["initialize environment failed"] [category=ddl-ingest] ["storage limitation"="only support TiKV storage"] ["current storage"=unistore] ["lightning is initialized"=false] [2024/05/06 09:30:03.042 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2024/05/06 09:30:03.042 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=mdlCheckLoop] [2024/05/06 09:30:03.042 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2024/05/06 09:30:03.042 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2024/05/06 09:30:03.042 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/06 09:30:03.042 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayStartLoop] [2024/05/06 09:30:03.042 +00:00] [INFO] [delete_range.go:172] ["start delRange emulator"] [category=ddl] [2024/05/06 09:30:03.042 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/06 09:30:03.042 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2024/05/06 09:30:03.042 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/06 09:30:03.042 +00:00] [WARN] [domain.go:1326] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/06 09:30:03.042 +00:00] [INFO] [runaway.go:149] ["try to start runaway manager loop"] [2024/05/06 09:30:03.042 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/06 09:30:03.042 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/06 09:30:03.042 +00:00] [INFO] [job_table.go:349] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2024/05/06 09:30:03.043 +00:00] [INFO] [controller.go:447] ["[resource group controller] create resource group cost controller"] [name=default] [2024/05/06 09:30:03.048 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2024/05/06 09:30:03.048 +00:00] [WARN] [sysvar_cache.go:49] ["sysvar cache is empty, triggering rebuild"] [2024/05/06 09:30:03.061 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2024/05/06 09:30:03.065 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2024/05/06 09:30:03.066 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2024/05/06 09:30:03.067 +00:00] [INFO] [domain.go:2070] ["dumpFileGcChecker started"] [2024/05/06 09:30:03.067 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=indexUsageWorker] [2024/05/06 09:30:03.067 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=quitStatsOwner] [2024/05/06 09:30:03.068 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2024/05/06 09:30:03.069 +00:00] [INFO] [manager.go:113] ["build task executor manager"] [server-id=:4000] [total-cpu=16] [total-mem=342.3GiB] [2024/05/06 09:30:03.070 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2024/05/06 09:30:03.070 +00:00] [INFO] [task_manager.go:217] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=0] [newCount=4] [2024/05/06 09:30:03.070 +00:00] [INFO] [task_manager.go:217] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=0] [newCount=4] [2024/05/06 09:30:03.073 +00:00] [INFO] [manager.go:146] ["task executor manager start"] [server-id=:4000] [2024/05/06 09:30:03.073 +00:00] [INFO] [domain.go:1525] ["dist task executor manager started"] [2024/05/06 09:30:03.076 +00:00] [INFO] [set.go:170] ["set global var"] [conn=2] [name=tidb_schema_cache_size] [val=1024] [2024/05/06 09:30:03.076 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=51] [cur_db=test] [sql="drop table if exists t"] [user=] [2024/05/06 09:30:03.081 +00:00] [INFO] [set.go:170] ["set global var"] [conn=2] [name=tidb_enable_check_constraint] [val=1] [2024/05/06 09:30:03.081 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=51] [cur_db=test] [sql="create table t (a int, constraint c1 check (a > 10) not enforced)"] [user=] [2024/05/06 09:30:03.084 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:105, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:03.083 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:03.084 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:105, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:03.083 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table t (a int, constraint c1 check (a > 10) not enforced)"] [2024/05/06 09:30:03.089 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=105] [conn=2] [category=ddl] [job="ID:105, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:03.083 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:03.092 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=51] [neededSchemaVersion=52] ["start time"=395.63µs] [gotSchemaVersion=52] [phyTblIDs="[104]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:03.094 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=105] [version=52] [2024/05/06 09:30:03.094 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=52] ["take time"=2.043112ms] [job="ID:105, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:03.083 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:03.102 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=105] [conn=2] [job="ID:105, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:03.083 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:03.105 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=105] [2024/05/06 09:30:03.105 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:03.107 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=52] [cur_db=test] [sql="alter table t alter constraint c1 enforced"] [user=] [2024/05/06 09:30:03.109 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:106, Type:alter check constraint, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:03.108 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:03.109 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:106, Type:alter check constraint, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:03.108 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t alter constraint c1 enforced"] [2024/05/06 09:30:03.114 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:106, Type:alter check constraint, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:03.108 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:03.114 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=106] [conn=2] [category=ddl] [job="ID:106, Type:alter check constraint, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:03.108 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:03.115 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:106, Type:alter check constraint, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:03.108 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:03.117 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=52] [neededSchemaVersion=53] ["start time"=270.164µs] [gotSchemaVersion=53] [phyTblIDs="[104]"] [actionTypes="[45]"] [diffTypes="[\"alter check constraint\"]"] [2024/05/06 09:30:03.118 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=106] [version=53] [2024/05/06 09:30:03.118 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=53] ["take time"=2.047405ms] [job="ID:106, Type:alter check constraint, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:03.108 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:03.119 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:106, Type:alter check constraint, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:03.108 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:03.119 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:03.120 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 09:30:03.120 +00:00] [WARN] [session.go:2153] ["run statement failed"] [schemaVersion=53] [error="[table:3819]Check constraint 'c1' is violated."] [session="{\n \"currDBName\": \"test\",\n \"id\": 3,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 09:30:03.123 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:106, Type:alter check constraint, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:03.108 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:03.123 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=106] [conn=2] [category=ddl] [job="ID:106, Type:alter check constraint, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:03.108 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:03.124 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:106, Type:alter check constraint, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:03.108 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:03.126 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=53] [neededSchemaVersion=54] ["start time"=331.29µs] [gotSchemaVersion=54] [phyTblIDs="[104]"] [actionTypes="[45]"] [diffTypes="[\"alter check constraint\"]"] [2024/05/06 09:30:03.127 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=106] [version=54] [2024/05/06 09:30:03.132 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=54] ["take time"=6.392187ms] [job="ID:106, Type:alter check constraint, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:03.108 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:03.132 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:106, Type:alter check constraint, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:03.108 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:03.133 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:03.136 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:106, Type:alter check constraint, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:03.108 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:03.136 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=106] [conn=2] [category=ddl] [job="ID:106, Type:alter check constraint, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:03.108 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:03.138 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:106, Type:alter check constraint, State:done, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:03.108 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:03.140 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=54] [neededSchemaVersion=55] ["start time"=327.04µs] [gotSchemaVersion=55] [phyTblIDs="[104]"] [actionTypes="[45]"] [diffTypes="[\"alter check constraint\"]"] [2024/05/06 09:30:03.141 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=106] [version=55] [2024/05/06 09:30:03.142 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=55] ["take time"=2.660681ms] [job="ID:106, Type:alter check constraint, State:done, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:03.108 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:03.143 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:106, Type:alter check constraint, State:done, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:03.108 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:03.143 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:03.150 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=106] [conn=2] [job="ID:106, Type:alter check constraint, State:synced, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:03.108 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:03.152 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=106] [2024/05/06 09:30:03.152 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:03.152 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:106, Type:alter check constraint, State:synced, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:03.108 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:03.152 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:03.157 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=5939d305-7846-4e32-8997-2a773299247c] [ownerKey=/tidb/ddl/fg/owner] [2024/05/06 09:30:03.157 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/06 09:30:03.157 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 19, tp add index"] [category=ddl] ["take time"=1.738µs] [2024/05/06 09:30:03.157 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 20, tp add index"] [category=ddl] ["take time"=1.357µs] [2024/05/06 09:30:03.157 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 17, tp add index"] [category=ddl] ["take time"=1.254µs] [2024/05/06 09:30:03.157 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 18, tp add index"] [category=ddl] ["take time"=1.193µs] [2024/05/06 09:30:03.157 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/06 09:30:03.157 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 16, tp general"] [category=ddl] ["take time"=1.303µs] [2024/05/06 09:30:03.157 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/06 09:30:03.157 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2024/05/06 09:30:03.157 +00:00] [INFO] [session_pool.go:99] ["closing session pool"] [category=ddl] [2024/05/06 09:30:03.157 +00:00] [INFO] [ddl.go:951] ["DDL closed"] [category=ddl] [ID=5939d305-7846-4e32-8997-2a773299247c] ["take time"=4.002354ms] [2024/05/06 09:30:03.157 +00:00] [INFO] [ddl.go:769] ["stop DDL"] [category=ddl] [ID=5939d305-7846-4e32-8997-2a773299247c] [2024/05/06 09:30:03.157 +00:00] [INFO] [domain.go:1026] ["stopping ttlJobManager"] [2024/05/06 09:30:03.157 +00:00] [INFO] [task_manager.go:194] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=4] [newCount=0] [2024/05/06 09:30:03.157 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/06 09:30:03.157 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/06 09:30:03.157 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/06 09:30:03.157 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/06 09:30:03.157 +00:00] [INFO] [task_manager.go:194] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=4] [newCount=0] [2024/05/06 09:30:03.157 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/06 09:30:03.157 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/06 09:30:03.157 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/06 09:30:03.157 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/06 09:30:03.158 +00:00] [INFO] [job_manager.go:174] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [2024/05/06 09:30:03.158 +00:00] [INFO] [domain.go:1037] ["ttlJobManager exited."] [2024/05/06 09:30:03.158 +00:00] [INFO] [manager.go:280] ["recoverMetaLoop done"] [server-id=:4000] [2024/05/06 09:30:03.158 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2024/05/06 09:30:03.158 +00:00] [INFO] [domain.go:907] ["loadSchemaInLoop exited."] [2024/05/06 09:30:03.158 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2024/05/06 09:30:03.158 +00:00] [INFO] [domain.go:1527] ["stopping dist task executor manager"] [2024/05/06 09:30:03.158 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2024/05/06 09:30:03.158 +00:00] [INFO] [stats_syncload.go:202] ["SubLoadWorker exited."] [2024/05/06 09:30:03.158 +00:00] [INFO] [stats_syncload.go:202] ["SubLoadWorker exited."] [2024/05/06 09:30:03.158 +00:00] [INFO] [stats_syncload.go:202] ["SubLoadWorker exited."] [2024/05/06 09:30:03.158 +00:00] [INFO] [stats_syncload.go:202] ["SubLoadWorker exited."] [2024/05/06 09:30:03.158 +00:00] [INFO] [stats_syncload.go:202] ["SubLoadWorker exited."] [2024/05/06 09:30:03.158 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=5939d305-7846-4e32-8997-2a773299247c] [ownerKey=/tidb/stats/owner] [2024/05/06 09:30:03.158 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=quitStatsOwner] [2024/05/06 09:30:03.158 +00:00] [INFO] [domain.go:2352] ["indexUsageWorker exited."] [2024/05/06 09:30:03.158 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=indexUsageWorker] [2024/05/06 09:30:03.158 +00:00] [INFO] [domain.go:2074] ["dumpFileGcChecker exited."] [2024/05/06 09:30:03.158 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2024/05/06 09:30:03.158 +00:00] [INFO] [domain.go:1750] ["LoadSysVarCacheLoop exited."] [2024/05/06 09:30:03.158 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2024/05/06 09:30:03.158 +00:00] [INFO] [domain.go:1700] ["loadPrivilegeInLoop exited."] [2024/05/06 09:30:03.158 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2024/05/06 09:30:03.158 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=5939d305-7846-4e32-8997-2a773299247c] [ownerKey=/tidb/bindinfo/owner] [2024/05/06 09:30:03.158 +00:00] [INFO] [domain.go:1889] ["globalBindHandleWorkerLoop exited."] [2024/05/06 09:30:03.158 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2024/05/06 09:30:03.158 +00:00] [INFO] [domain.go:761] ["topologySyncerKeeper exited."] [2024/05/06 09:30:03.158 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2024/05/06 09:30:03.158 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayStartLoop] [2024/05/06 09:30:03.158 +00:00] [INFO] [domain.go:711] ["infoSyncerKeeper exited."] [2024/05/06 09:30:03.158 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2024/05/06 09:30:03.158 +00:00] [INFO] [domain.go:737] ["globalConfigSyncerKeeper exited."] [2024/05/06 09:30:03.158 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/06 09:30:03.158 +00:00] [INFO] [domain.go:683] ["topNSlowQueryLoop exited."] [2024/05/06 09:30:03.159 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2024/05/06 09:30:03.159 +00:00] [INFO] [domain.go:1361] ["closestReplicaReadCheckLoop exited."] [2024/05/06 09:30:03.159 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/06 09:30:03.159 +00:00] [INFO] [manager.go:179] ["handle tasks loop done"] [server-id=:4000] [2024/05/06 09:30:03.159 +00:00] [INFO] [domain.go:1529] ["dist task executor manager stopped"] [2024/05/06 09:30:03.159 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2024/05/06 09:30:03.159 +00:00] [INFO] [domain.go:1074] ["domain closed"] ["take time"=6.070136ms] [2024/05/06 09:30:03.161 +00:00] [INFO] [db.go:567] ["Closing database"] [2024/05/06 09:30:03.161 +00:00] [INFO] [db.go:592] ["Memtable flushed"] [2024/05/06 09:30:03.161 +00:00] [INFO] [db.go:596] ["Compaction finished"] [2024/05/06 09:30:03.161 +00:00] [INFO] [db.go:615] ["BlobManager finished"] [2024/05/06 09:30:03.161 +00:00] [INFO] [db.go:619] ["ResourceManager finished"] [2024/05/06 09:30:03.161 +00:00] [INFO] [db.go:625] ["Waiting for closer"] --- PASS: TestAlterEnforcedConstraintStateChange (1.95s) === RUN TestCreateTableIfNotExists [2024/05/06 09:30:03.184 +00:00] [INFO] [store_cache.go:510] ["change store resolve state"] [store=1] [addr=store1] [from=unresolved] [to=resolved] [liveness-state=reachable] [2024/05/06 09:30:03.184 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 09:30:03.184 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 09:30:03.185 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 09:30:03.185 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 09:30:03.185 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 09:30:03.187 +00:00] [INFO] [tidb.go:80] ["new domain"] [store=d1a3a7c6-36d1-4fc2-9c90-85643d8d095f] ["ddl lease"=500ms] ["stats lease"=-1ns] [2024/05/06 09:30:03.193 +00:00] [WARN] [controller.go:198] ["[resource group controller] server does not save config, load config failed"] [2024/05/06 09:30:03.193 +00:00] [INFO] [controller.go:185] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":10,\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\"}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":10,\"DegradedModeWaitDuration\":0}"] [2024/05/06 09:30:03.193 +00:00] [WARN] [domain.go:245] ["failed to get schema version"] [error="There is no Write MVCC info for the schema version"] [errorVerbose="There is no Write MVCC info for the schema version\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:335\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:242\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:606\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init\n\tpkg/domain/domain.go:1260\ngithub.com/pingcap/tidb/pkg/session.(*domainMap).Get.func1\n\tpkg/session/tidb.go:92\ngithub.com/pingcap/tidb/pkg/util.RunWithRetry\n\tpkg/util/misc.go:70\ngithub.com/pingcap/tidb/pkg/session.(*domainMap).Get\n\tpkg/session/tidb.go:79\ngithub.com/pingcap/tidb/pkg/session.createSessionWithOpt\n\tpkg/session/session.go:3620\ngithub.com/pingcap/tidb/pkg/session.createSession\n\tpkg/session/session.go:3612\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3562\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3346\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3312\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:294\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomain\n\tpkg/testkit/mockstore.go:265\ngithub.com/pingcap/tidb/pkg/ddl_test.TestCreateTableIfNotExists\n\tpkg/ddl/db_change_test.go:1452\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=0] [2024/05/06 09:30:03.208 +00:00] [INFO] [domain.go:315] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=0] ["start time"=14.250522ms] [2024/05/06 09:30:03.208 +00:00] [INFO] [domain.go:635] ["full load and reset schema validator"] [2024/05/06 09:30:03.208 +00:00] [INFO] [ddl.go:818] ["start DDL"] [category=ddl] [ID=0d07751f-ebc8-4c01-a28d-74c3d5683d7b] [runWorker=true] [2024/05/06 09:30:03.209 +00:00] [INFO] [ddl.go:777] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=true] [2024/05/06 09:30:03.209 +00:00] [WARN] [env.go:51] ["initialize environment failed"] [category=ddl-ingest] ["storage limitation"="only support TiKV storage"] ["current storage"=unistore] ["lightning is initialized"=false] [2024/05/06 09:30:03.209 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2024/05/06 09:30:03.209 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=mdlCheckLoop] [2024/05/06 09:30:03.209 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2024/05/06 09:30:03.209 +00:00] [INFO] [delete_range.go:172] ["start delRange emulator"] [category=ddl] [2024/05/06 09:30:03.209 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2024/05/06 09:30:03.209 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/06 09:30:03.209 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayStartLoop] [2024/05/06 09:30:03.209 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/06 09:30:03.209 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2024/05/06 09:30:03.209 +00:00] [INFO] [runaway.go:149] ["try to start runaway manager loop"] [2024/05/06 09:30:03.209 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/06 09:30:03.210 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/06 09:30:03.210 +00:00] [INFO] [job_table.go:349] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2024/05/06 09:30:03.209 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/06 09:30:03.210 +00:00] [WARN] [domain.go:1326] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/06 09:30:03.210 +00:00] [INFO] [controller.go:447] ["[resource group controller] create resource group cost controller"] [name=default] [2024/05/06 09:30:03.210 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=0] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS test"] [user=] [2024/05/06 09:30:03.212 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:30:03.211 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:03.212 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:30:03.211 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE DATABASE IF NOT EXISTS test"] [2024/05/06 09:30:03.217 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=3] [category=ddl] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:03.211 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:03.238 +00:00] [INFO] [domain.go:315] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=1] ["start time"=18.812019ms] [2024/05/06 09:30:03.239 +00:00] [INFO] [domain.go:635] ["full load and reset schema validator"] [2024/05/06 09:30:03.241 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:03.241 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=3] [version=1] [2024/05/06 09:30:03.242 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=1] ["take time"=22.924448ms] [job="ID:3, Type:create schema, State:done, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:30:03.211 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:03.246 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=3] [job="ID:3, Type:create schema, State:synced, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:03.211 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:03.249 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=3] [2024/05/06 09:30:03.249 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:03.249 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS `mysql`"] [user=] [2024/05/06 09:30:03.249 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.user (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tauthentication_string\tTEXT,\n\t\tplugin\t\t\t\t\tCHAR(64),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tProcess_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_db_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tSuper_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_user_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_slave_priv\t \tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_client_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_role_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_role_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAccount_locked\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShutdown_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReload_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tFILE_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tConfig_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_reuse_history smallint unsigned DEFAULT NULL,\n\t\tPassword_reuse_time smallint unsigned DEFAULT NULL,\n\t\tUser_attributes\t\t\tjson,\n\t\tToken_issuer\t\t\tVARCHAR(255),\n\t\tPassword_expired\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_last_changed\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP(),\n\t\tPassword_lifetime\t\tSMALLINT UNSIGNED DEFAULT NULL,\n\t\tPRIMARY KEY (Host, User));"] [user=] [2024/05/06 09:30:03.253 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:03.251 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:03.253 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:03.251 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.user (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tauthentication_string\tTEXT,\n\t\tplugin\t\t\t\t\tCHAR(64),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tProcess_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_db_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tSuper_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_user_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_slave_priv\t \tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_client_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_role_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_role_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAccount_locked\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShutdown_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReload_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tFILE_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tConfig_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_reuse_history smallint unsigned DEFAULT NULL,\n\t\tPassword_reuse_time smallint unsigned DEFAULT NULL,\n\t\tUser_attributes\t\t\tjson,\n\t\tToken_issuer\t\t\tVARCHAR(255),\n\t\tPassword_expired\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_last_changed\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP(),\n\t\tPassword_lifetime\t\tSMALLINT UNSIGNED DEFAULT NULL,\n\t\tPRIMARY KEY (Host, User));"] [2024/05/06 09:30:03.271 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=5] [category=ddl] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:03.251 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:03.281 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=1] [neededSchemaVersion=2] ["start time"=1.282276ms] [gotSchemaVersion=2] [phyTblIDs="[4]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:03.282 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:03.282 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=5] [version=2] [2024/05/06 09:30:03.284 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=2] ["take time"=4.109169ms] [job="ID:5, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:03.251 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:03.289 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=5] [job="ID:5, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:03.251 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:03.295 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=5] [2024/05/06 09:30:03.295 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:03.296 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=2] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.password_history (\n Host char(255) NOT NULL DEFAULT '',\n User char(32) NOT NULL DEFAULT '',\n Password_timestamp timestamp(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n Password text,\n PRIMARY KEY (Host,User,Password_timestamp )\n ) COMMENT='Password history for user accounts' "] [user=] [2024/05/06 09:30:03.298 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:03.297 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:03.298 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:03.297 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.password_history (\n Host char(255) NOT NULL DEFAULT '',\n User char(32) NOT NULL DEFAULT '',\n Password_timestamp timestamp(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n Password text,\n PRIMARY KEY (Host,User,Password_timestamp )\n ) COMMENT='Password history for user accounts' "] [2024/05/06 09:30:03.304 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=7] [category=ddl] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:03.297 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:03.307 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=2] [neededSchemaVersion=3] ["start time"=299.092µs] [gotSchemaVersion=3] [phyTblIDs="[6]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:03.308 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:03.308 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=7] [version=3] [2024/05/06 09:30:03.309 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=3] ["take time"=2.125035ms] [job="ID:7, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:03.297 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:03.314 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=7] [job="ID:7, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:03.297 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:03.318 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=7] [2024/05/06 09:30:03.318 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:03.319 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=3] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.global_priv (Host CHAR(255) NOT NULL DEFAULT '',User CHAR(80) NOT NULL DEFAULT '',Priv LONGTEXT NOT NULL DEFAULT '',PRIMARY KEY (Host, User))"] [user=] [2024/05/06 09:30:03.321 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:03.32 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:03.321 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:03.32 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.global_priv (Host CHAR(255) NOT NULL DEFAULT '',User CHAR(80) NOT NULL DEFAULT '',Priv LONGTEXT NOT NULL DEFAULT '',PRIMARY KEY (Host, User))"] [2024/05/06 09:30:03.329 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=9] [category=ddl] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:03.32 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:03.331 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=3] [neededSchemaVersion=4] ["start time"=184.718µs] [gotSchemaVersion=4] [phyTblIDs="[8]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:03.332 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:03.332 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=9] [version=4] [2024/05/06 09:30:03.334 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=4] ["take time"=2.916866ms] [job="ID:9, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:03.32 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:03.339 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=9] [job="ID:9, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:03.32 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:03.342 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=9] [2024/05/06 09:30:03.342 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:03.343 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=4] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.db (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tDB\t\t\t\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv \t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (Host, DB, User));"] [user=] [2024/05/06 09:30:03.346 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:03.344 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:03.346 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:03.344 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.db (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tDB\t\t\t\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv \t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (Host, DB, User));"] [2024/05/06 09:30:03.352 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=11] [category=ddl] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:03.344 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:03.356 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=4] [neededSchemaVersion=5] ["start time"=436.474µs] [gotSchemaVersion=5] [phyTblIDs="[10]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:03.358 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:03.358 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=11] [version=5] [2024/05/06 09:30:03.359 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=5] ["take time"=3.018784ms] [job="ID:11, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:03.344 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:03.372 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=11] [job="ID:11, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:03.344 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:03.378 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=11] [2024/05/06 09:30:03.378 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:03.379 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=5] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tables_priv (\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tGrantor\t\tCHAR(77),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tTable_priv\tSET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'),\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name));"] [user=] [2024/05/06 09:30:03.382 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:03.38 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:03.382 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:03.38 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tables_priv (\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tGrantor\t\tCHAR(77),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tTable_priv\tSET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'),\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name));"] [2024/05/06 09:30:03.387 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=13] [category=ddl] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:03.38 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:03.390 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=5] [neededSchemaVersion=6] ["start time"=405.415µs] [gotSchemaVersion=6] [phyTblIDs="[12]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:03.392 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:03.392 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=13] [version=6] [2024/05/06 09:30:03.392 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=6] ["take time"=2.402779ms] [job="ID:13, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:03.38 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:03.398 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=13] [job="ID:13, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:03.38 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:03.401 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=13] [2024/05/06 09:30:03.401 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:03.401 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=6] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.columns_priv(\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tColumn_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name, Column_name));"] [user=] [2024/05/06 09:30:03.404 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:03.403 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:03.404 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:03.403 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.columns_priv(\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tColumn_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name, Column_name));"] [2024/05/06 09:30:03.411 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=15] [category=ddl] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:03.403 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:03.416 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=7] ["start time"=396.733µs] [gotSchemaVersion=7] [phyTblIDs="[14]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:03.417 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:03.417 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=15] [version=7] [2024/05/06 09:30:03.418 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=7] ["take time"=2.460688ms] [job="ID:15, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:03.403 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:03.422 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=15] [job="ID:15, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:03.403 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:03.426 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=15] [2024/05/06 09:30:03.426 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:03.426 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=7] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.GLOBAL_VARIABLES(\n\t\tVARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE VARCHAR(16383) DEFAULT NULL);"] [user=] [2024/05/06 09:30:03.429 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:03.427 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:03.429 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:03.427 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.GLOBAL_VARIABLES(\n\t\tVARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE VARCHAR(16383) DEFAULT NULL);"] [2024/05/06 09:30:03.435 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=17] [category=ddl] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:03.427 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:03.437 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=7] [neededSchemaVersion=8] ["start time"=161.971µs] [gotSchemaVersion=8] [phyTblIDs="[16]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:03.438 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:03.438 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=17] [version=8] [2024/05/06 09:30:03.439 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=8] ["take time"=2.648978ms] [job="ID:17, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:03.427 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:03.443 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=17] [job="ID:17, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:03.427 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:03.446 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=17] [2024/05/06 09:30:03.446 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:03.446 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=8] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb(\n\t\tVARIABLE_NAME \tVARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE \tVARCHAR(1024) DEFAULT NULL,\n\t\tCOMMENT \t\tVARCHAR(1024));"] [user=] [2024/05/06 09:30:03.448 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:03.447 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:03.448 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:03.447 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb(\n\t\tVARIABLE_NAME \tVARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE \tVARCHAR(1024) DEFAULT NULL,\n\t\tCOMMENT \t\tVARCHAR(1024));"] [2024/05/06 09:30:03.455 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=19] [category=ddl] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:03.447 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:03.457 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=8] [neededSchemaVersion=9] ["start time"=263.63µs] [gotSchemaVersion=9] [phyTblIDs="[18]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:03.460 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:03.460 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=19] [version=9] [2024/05/06 09:30:03.461 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=9] ["take time"=4.820007ms] [job="ID:19, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:03.447 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:03.475 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=19] [job="ID:19, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:03.447 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:03.478 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=19] [2024/05/06 09:30:03.478 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:03.479 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=9] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.help_topic (\n \t\thelp_topic_id \t\tINT(10) UNSIGNED NOT NULL,\n \t\tname \t\t\t\tCHAR(64) NOT NULL,\n \t\thelp_category_id \tSMALLINT(5) UNSIGNED NOT NULL,\n \t\tdescription \t\tTEXT NOT NULL,\n \t\texample \t\t\tTEXT NOT NULL,\n \t\turl \t\t\t\tTEXT NOT NULL,\n \t\tPRIMARY KEY (help_topic_id) clustered,\n \t\tUNIQUE KEY name (name)\n\t\t) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] [user=] [2024/05/06 09:30:03.482 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:03.48 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:03.482 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:03.48 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.help_topic (\n \t\thelp_topic_id \t\tINT(10) UNSIGNED NOT NULL,\n \t\tname \t\t\t\tCHAR(64) NOT NULL,\n \t\thelp_category_id \tSMALLINT(5) UNSIGNED NOT NULL,\n \t\tdescription \t\tTEXT NOT NULL,\n \t\texample \t\t\tTEXT NOT NULL,\n \t\turl \t\t\t\tTEXT NOT NULL,\n \t\tPRIMARY KEY (help_topic_id) clustered,\n \t\tUNIQUE KEY name (name)\n\t\t) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] [2024/05/06 09:30:03.488 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=21] [category=ddl] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:03.48 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:03.491 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=9] [neededSchemaVersion=10] ["start time"=218.649µs] [gotSchemaVersion=10] [phyTblIDs="[20]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:03.492 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:03.492 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=21] [version=10] [2024/05/06 09:30:03.493 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=10] ["take time"=2.150305ms] [job="ID:21, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:03.48 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:03.497 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=21] [job="ID:21, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:03.48 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:03.500 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=21] [2024/05/06 09:30:03.500 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:03.500 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=10] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_meta (\n\t\tversion \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\ttable_id \t\tBIGINT(64) NOT NULL,\n\t\tmodify_count\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcount \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tsnapshot BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tINDEX idx_ver(version),\n\t\tUNIQUE INDEX tbl(table_id)\n\t);"] [user=] [2024/05/06 09:30:03.503 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:03.501 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:03.503 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:03.501 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_meta (\n\t\tversion \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\ttable_id \t\tBIGINT(64) NOT NULL,\n\t\tmodify_count\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcount \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tsnapshot BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tINDEX idx_ver(version),\n\t\tUNIQUE INDEX tbl(table_id)\n\t);"] [2024/05/06 09:30:03.509 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=23] [category=ddl] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:03.501 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:03.511 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=10] [neededSchemaVersion=11] ["start time"=209.547µs] [gotSchemaVersion=11] [phyTblIDs="[22]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:03.512 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:03.512 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=23] [version=11] [2024/05/06 09:30:03.513 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=11] ["take time"=2.018695ms] [job="ID:23, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:03.501 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:03.518 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=23] [job="ID:23, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:03.501 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:03.521 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=23] [2024/05/06 09:30:03.521 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:03.521 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=11] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_histograms (\n\t\ttable_id \t\t\tBIGINT(64) NOT NULL,\n\t\tis_index \t\t\tTINYINT(2) NOT NULL,\n\t\thist_id \t\t\tBIGINT(64) NOT NULL,\n\t\tdistinct_count \t\tBIGINT(64) NOT NULL,\n\t\tnull_count \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\ttot_col_size \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tmodify_count \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tversion \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tcm_sketch \t\t\tBLOB(6291456),\n\t\tstats_ver \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tflag \t\t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcorrelation \t\tDOUBLE NOT NULL DEFAULT 0,\n\t\tlast_analyze_pos \tLONGBLOB DEFAULT NULL,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] [2024/05/06 09:30:03.522 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(6291456) to MEDIUMBLOB"] [category=ddl] [2024/05/06 09:30:03.524 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:03.523 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:03.524 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:03.523 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_histograms (\n\t\ttable_id \t\t\tBIGINT(64) NOT NULL,\n\t\tis_index \t\t\tTINYINT(2) NOT NULL,\n\t\thist_id \t\t\tBIGINT(64) NOT NULL,\n\t\tdistinct_count \t\tBIGINT(64) NOT NULL,\n\t\tnull_count \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\ttot_col_size \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tmodify_count \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tversion \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tcm_sketch \t\t\tBLOB(6291456),\n\t\tstats_ver \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tflag \t\t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcorrelation \t\tDOUBLE NOT NULL DEFAULT 0,\n\t\tlast_analyze_pos \tLONGBLOB DEFAULT NULL,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id)\n\t);"] [2024/05/06 09:30:03.530 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=25] [category=ddl] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:03.523 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:03.534 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=11] [neededSchemaVersion=12] ["start time"=407.617µs] [gotSchemaVersion=12] [phyTblIDs="[24]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:03.535 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:03.535 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=25] [version=12] [2024/05/06 09:30:03.536 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=12] ["take time"=2.560625ms] [job="ID:25, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:03.523 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:03.540 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=25] [job="ID:25, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:03.523 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:03.543 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=25] [2024/05/06 09:30:03.543 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:03.544 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=12] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_buckets (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tbucket_id \tBIGINT(64) NOT NULL,\n\t\tcount \t\tBIGINT(64) NOT NULL,\n\t\trepeats \tBIGINT(64) NOT NULL,\n\t\tupper_bound LONGBLOB NOT NULL,\n\t\tlower_bound LONGBLOB ,\n\t\tndv BIGINT NOT NULL DEFAULT 0,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id)\n\t);"] [user=] [2024/05/06 09:30:03.546 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:03.545 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:03.546 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:03.545 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_buckets (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tbucket_id \tBIGINT(64) NOT NULL,\n\t\tcount \t\tBIGINT(64) NOT NULL,\n\t\trepeats \tBIGINT(64) NOT NULL,\n\t\tupper_bound LONGBLOB NOT NULL,\n\t\tlower_bound LONGBLOB ,\n\t\tndv BIGINT NOT NULL DEFAULT 0,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id)\n\t);"] [2024/05/06 09:30:03.552 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=27] [category=ddl] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:03.545 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:03.556 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=12] [neededSchemaVersion=13] ["start time"=373.812µs] [gotSchemaVersion=13] [phyTblIDs="[26]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:03.557 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:03.557 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=27] [version=13] [2024/05/06 09:30:03.557 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=13] ["take time"=2.095998ms] [job="ID:27, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:03.545 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:03.566 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=27] [job="ID:27, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:03.545 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:03.571 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=27] [2024/05/06 09:30:03.571 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:03.572 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=13] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_index (job_id, element_id)\n\t);"] [user=] [2024/05/06 09:30:03.575 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:03.573 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:03.575 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:03.573 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_index (job_id, element_id)\n\t);"] [2024/05/06 09:30:03.583 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=29] [category=ddl] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:03.573 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:03.586 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=13] [neededSchemaVersion=14] ["start time"=296.418µs] [gotSchemaVersion=14] [phyTblIDs="[28]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:03.587 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:03.587 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=29] [version=14] [2024/05/06 09:30:03.588 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=14] ["take time"=2.353731ms] [job="ID:29, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:03.573 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:03.592 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=29] [job="ID:29, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:03.573 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:03.595 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=29] [2024/05/06 09:30:03.595 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:03.595 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=14] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_done_index (job_id, element_id)\n\t);"] [user=] [2024/05/06 09:30:03.598 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:03.596 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:03.598 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:03.596 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_done_index (job_id, element_id)\n\t);"] [2024/05/06 09:30:03.603 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=31] [category=ddl] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:03.596 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:03.606 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=14] [neededSchemaVersion=15] ["start time"=317.549µs] [gotSchemaVersion=15] [phyTblIDs="[30]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:03.607 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:03.607 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=31] [version=15] [2024/05/06 09:30:03.607 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=15] ["take time"=2.034469ms] [job="ID:31, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:03.596 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:03.612 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=31] [job="ID:31, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:03.596 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:03.615 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=31] [2024/05/06 09:30:03.616 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:03.616 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=15] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_feedback (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tfeedback \tBLOB NOT NULL,\n\t\tINDEX hist(table_id, is_index, hist_id)\n\t);"] [user=] [2024/05/06 09:30:03.618 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:03.617 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:03.618 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:03.617 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_feedback (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tfeedback \tBLOB NOT NULL,\n\t\tINDEX hist(table_id, is_index, hist_id)\n\t);"] [2024/05/06 09:30:03.626 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=33] [category=ddl] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:03.617 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:03.629 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=15] [neededSchemaVersion=16] ["start time"=226.602µs] [gotSchemaVersion=16] [phyTblIDs="[32]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:03.630 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:03.630 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=33] [version=16] [2024/05/06 09:30:03.631 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=16] ["take time"=2.327906ms] [job="ID:33, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:03.617 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:03.636 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=33] [job="ID:33, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:03.617 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:03.640 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=33] [2024/05/06 09:30:03.640 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:03.641 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=16] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.role_edges (\n\t\tFROM_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tFROM_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tWITH_ADMIN_OPTION \tENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER)\n\t);"] [user=] [2024/05/06 09:30:03.643 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:03.642 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:03.644 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:03.642 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.role_edges (\n\t\tFROM_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tFROM_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tWITH_ADMIN_OPTION \tENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER)\n\t);"] [2024/05/06 09:30:03.652 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=35] [category=ddl] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:03.642 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:03.656 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=16] [neededSchemaVersion=17] ["start time"=317.076µs] [gotSchemaVersion=17] [phyTblIDs="[34]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:03.657 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:03.657 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=35] [version=17] [2024/05/06 09:30:03.658 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=17] ["take time"=2.654392ms] [job="ID:35, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:03.642 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:03.668 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=35] [job="ID:35, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:03.642 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:03.672 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=35] [2024/05/06 09:30:03.672 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:03.673 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=17] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.default_roles (\n\t\tHOST \t\t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tUSER \t\t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tDEFAULT_ROLE_HOST \tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%',\n\t\tDEFAULT_ROLE_USER \tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tPRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER)\n\t)"] [user=] [2024/05/06 09:30:03.676 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:03.675 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:03.676 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:03.675 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.default_roles (\n\t\tHOST \t\t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tUSER \t\t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tDEFAULT_ROLE_HOST \tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%',\n\t\tDEFAULT_ROLE_USER \tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tPRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER)\n\t)"] [2024/05/06 09:30:03.685 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=37] [category=ddl] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:03.675 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:03.688 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=18] ["start time"=230.445µs] [gotSchemaVersion=18] [phyTblIDs="[36]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:03.689 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:03.689 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=37] [version=18] [2024/05/06 09:30:03.690 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=18] ["take time"=2.452413ms] [job="ID:37, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:03.675 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:03.695 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=37] [job="ID:37, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:03.675 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:03.698 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=37] [2024/05/06 09:30:03.698 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:03.698 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=18] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql TEXT NOT NULL,\n\t\tbind_sql TEXT NOT NULL,\n\t\tdefault_db TEXT NOT NULL,\n\t\tstatus TEXT NOT NULL,\n\t\tcreate_time TIMESTAMP(3) NOT NULL,\n\t\tupdate_time TIMESTAMP(3) NOT NULL,\n\t\tcharset TEXT NOT NULL,\n\t\tcollation TEXT NOT NULL,\n\t\tsource VARCHAR(10) NOT NULL DEFAULT 'unknown',\n\t\tsql_digest varchar(64),\n\t\tplan_digest varchar(64),\n\t\tINDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\",\n\t\tINDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2024/05/06 09:30:03.702 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:03.7 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:03.702 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:03.7 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql TEXT NOT NULL,\n\t\tbind_sql TEXT NOT NULL,\n\t\tdefault_db TEXT NOT NULL,\n\t\tstatus TEXT NOT NULL,\n\t\tcreate_time TIMESTAMP(3) NOT NULL,\n\t\tupdate_time TIMESTAMP(3) NOT NULL,\n\t\tcharset TEXT NOT NULL,\n\t\tcollation TEXT NOT NULL,\n\t\tsource VARCHAR(10) NOT NULL DEFAULT 'unknown',\n\t\tsql_digest varchar(64),\n\t\tplan_digest varchar(64),\n\t\tINDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\",\n\t\tINDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2024/05/06 09:30:03.708 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=39] [category=ddl] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:03.7 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:03.712 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=18] [neededSchemaVersion=19] ["start time"=500.503µs] [gotSchemaVersion=19] [phyTblIDs="[38]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:03.713 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:03.714 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=39] [version=19] [2024/05/06 09:30:03.714 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=19] ["take time"=2.643322ms] [job="ID:39, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:03.7 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:03.720 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=39] [job="ID:39, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:03.7 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:03.723 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=39] [2024/05/06 09:30:03.723 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:03.725 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=19] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_top_n (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tcount \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] [2024/05/06 09:30:03.728 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:03.726 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:03.728 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:03.726 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_top_n (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tcount \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [2024/05/06 09:30:03.733 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=41] [category=ddl] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:03.726 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:03.736 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=19] [neededSchemaVersion=20] ["start time"=295.88µs] [gotSchemaVersion=20] [phyTblIDs="[40]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:03.737 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:03.737 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=41] [version=20] [2024/05/06 09:30:03.738 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=20] ["take time"=2.919895ms] [job="ID:41, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:03.726 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:03.743 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=41] [job="ID:41, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:03.726 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:03.745 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=41] [2024/05/06 09:30:03.745 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:03.746 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=20] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.expr_pushdown_blacklist (\n\t\tname \t\tCHAR(100) NOT NULL,\n\t\tstore_type \tCHAR(100) NOT NULL DEFAULT 'tikv,tiflash,tidb',\n\t\treason \t\tVARCHAR(200)\n\t);"] [user=] [2024/05/06 09:30:03.748 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:03.747 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:03.748 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:03.747 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.expr_pushdown_blacklist (\n\t\tname \t\tCHAR(100) NOT NULL,\n\t\tstore_type \tCHAR(100) NOT NULL DEFAULT 'tikv,tiflash,tidb',\n\t\treason \t\tVARCHAR(200)\n\t);"] [2024/05/06 09:30:03.757 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=43] [category=ddl] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:03.747 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:03.760 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=20] [neededSchemaVersion=21] ["start time"=215.996µs] [gotSchemaVersion=21] [phyTblIDs="[42]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:03.764 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:03.764 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=43] [version=21] [2024/05/06 09:30:03.767 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=21] ["take time"=7.888355ms] [job="ID:43, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:03.747 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:03.780 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=43] [job="ID:43, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:03.747 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:03.783 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=43] [2024/05/06 09:30:03.783 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:03.784 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=21] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] [user=] [2024/05/06 09:30:03.787 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:03.785 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:03.787 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:03.785 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] [2024/05/06 09:30:03.794 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=45] [category=ddl] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:03.785 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:03.796 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=21] [neededSchemaVersion=22] ["start time"=126.804µs] [gotSchemaVersion=22] [phyTblIDs="[44]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:03.797 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:03.797 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=45] [version=22] [2024/05/06 09:30:03.799 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=22] ["take time"=2.5149ms] [job="ID:45, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:03.785 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:03.804 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=45] [job="ID:45, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:03.785 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:03.807 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=45] [2024/05/06 09:30:03.807 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:03.807 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=22] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_extended (\n\t\tname varchar(32) NOT NULL,\n\t\ttype tinyint(4) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcolumn_ids varchar(32) NOT NULL,\n\t\tstats blob DEFAULT NULL,\n\t\tversion bigint(64) unsigned NOT NULL,\n\t\tstatus tinyint(4) NOT NULL,\n\t\tPRIMARY KEY(name, table_id),\n\t\tKEY idx_1 (table_id, status, version),\n\t\tKEY idx_2 (status, version)\n\t);"] [user=] [2024/05/06 09:30:03.810 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:03.809 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:03.810 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:03.809 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_extended (\n\t\tname varchar(32) NOT NULL,\n\t\ttype tinyint(4) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcolumn_ids varchar(32) NOT NULL,\n\t\tstats blob DEFAULT NULL,\n\t\tversion bigint(64) unsigned NOT NULL,\n\t\tstatus tinyint(4) NOT NULL,\n\t\tPRIMARY KEY(name, table_id),\n\t\tKEY idx_1 (table_id, status, version),\n\t\tKEY idx_2 (status, version)\n\t);"] [2024/05/06 09:30:03.818 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=47] [category=ddl] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:03.809 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:03.821 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=22] [neededSchemaVersion=23] ["start time"=384.359µs] [gotSchemaVersion=23] [phyTblIDs="[46]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:03.822 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:03.822 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=47] [version=23] [2024/05/06 09:30:03.822 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=23] ["take time"=2.029887ms] [job="ID:47, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:03.809 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:03.829 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=47] [job="ID:47, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:03.809 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:03.832 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=47] [2024/05/06 09:30:03.832 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:03.832 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=23] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] [2024/05/06 09:30:03.834 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:03.833 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:03.834 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:03.833 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [2024/05/06 09:30:03.842 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=49] [category=ddl] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:03.833 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:03.845 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=23] [neededSchemaVersion=24] ["start time"=292.963µs] [gotSchemaVersion=24] [phyTblIDs="[48]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:03.846 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:03.846 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=49] [version=24] [2024/05/06 09:30:03.847 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=24] ["take time"=3.023616ms] [job="ID:49, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:03.833 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:03.852 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=49] [job="ID:49, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:03.833 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:03.856 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=49] [2024/05/06 09:30:03.856 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:03.856 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=24] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.global_grants (\n\t\tUSER char(32) NOT NULL DEFAULT '',\n\t\tHOST char(255) NOT NULL DEFAULT '',\n\t\tPRIV char(32) NOT NULL DEFAULT '',\n\t\tWITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (USER,HOST,PRIV)\n\t);"] [user=] [2024/05/06 09:30:03.859 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:03.857 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:03.859 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:03.857 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.global_grants (\n\t\tUSER char(32) NOT NULL DEFAULT '',\n\t\tHOST char(255) NOT NULL DEFAULT '',\n\t\tPRIV char(32) NOT NULL DEFAULT '',\n\t\tWITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (USER,HOST,PRIV)\n\t);"] [2024/05/06 09:30:03.876 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=51] [category=ddl] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:03.857 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:03.879 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=24] [neededSchemaVersion=25] ["start time"=317.858µs] [gotSchemaVersion=25] [phyTblIDs="[50]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:03.881 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:03.881 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=51] [version=25] [2024/05/06 09:30:03.882 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=25] ["take time"=3.098888ms] [job="ID:51, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:03.857 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:03.890 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=51] [job="ID:51, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:03.857 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:03.893 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=51] [2024/05/06 09:30:03.894 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:03.894 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=25] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist (\n\t\tid bigint(64) auto_increment,\n\t\tfilter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\",\n\t\tfilter_value varchar(32) NOT NULL,\n\t\tkey idx(filter_type),\n\t\tprimary key(id)\n\t);"] [user=] [2024/05/06 09:30:03.897 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:03.896 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:03.897 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:03.896 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist (\n\t\tid bigint(64) auto_increment,\n\t\tfilter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\",\n\t\tfilter_value varchar(32) NOT NULL,\n\t\tkey idx(filter_type),\n\t\tprimary key(id)\n\t);"] [2024/05/06 09:30:03.905 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=53] [category=ddl] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:03.896 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:03.908 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=25] [neededSchemaVersion=26] ["start time"=207.861µs] [gotSchemaVersion=26] [phyTblIDs="[52]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:03.909 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:03.909 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=53] [version=26] [2024/05/06 09:30:03.910 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=26] ["take time"=2.337724ms] [job="ID:53, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:03.896 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:03.919 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=53] [job="ID:53, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:03.896 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:03.922 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=53] [2024/05/06 09:30:03.922 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:03.922 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=26] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.column_stats_usage (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tcolumn_id BIGINT(64) NOT NULL,\n\t\tlast_used_at TIMESTAMP,\n\t\tlast_analyzed_at TIMESTAMP,\n\t\tPRIMARY KEY (table_id, column_id) CLUSTERED\n\t);"] [user=] [2024/05/06 09:30:03.924 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:03.923 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:03.924 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:03.923 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.column_stats_usage (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tcolumn_id BIGINT(64) NOT NULL,\n\t\tlast_used_at TIMESTAMP,\n\t\tlast_analyzed_at TIMESTAMP,\n\t\tPRIMARY KEY (table_id, column_id) CLUSTERED\n\t);"] [2024/05/06 09:30:03.932 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=55] [category=ddl] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:03.923 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:03.935 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=26] [neededSchemaVersion=27] ["start time"=220.416µs] [gotSchemaVersion=27] [phyTblIDs="[54]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:03.936 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:03.936 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=55] [version=27] [2024/05/06 09:30:03.937 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=27] ["take time"=2.16862ms] [job="ID:55, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:03.923 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:03.942 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=55] [job="ID:55, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:03.923 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:03.946 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=55] [2024/05/06 09:30:03.946 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:03.947 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=27] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.table_cache_meta (\n\t\ttid bigint(11) NOT NULL DEFAULT 0,\n\t\tlock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE',\n\t\tlease bigint(20) NOT NULL DEFAULT 0,\n\t\toldReadLease bigint(20) NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (tid)\n\t);"] [user=] [2024/05/06 09:30:03.950 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:03.948 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:03.950 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:03.948 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.table_cache_meta (\n\t\ttid bigint(11) NOT NULL DEFAULT 0,\n\t\tlock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE',\n\t\tlease bigint(20) NOT NULL DEFAULT 0,\n\t\toldReadLease bigint(20) NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (tid)\n\t);"] [2024/05/06 09:30:03.956 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=57] [category=ddl] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:03.948 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:03.960 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=27] [neededSchemaVersion=28] ["start time"=281.956µs] [gotSchemaVersion=28] [phyTblIDs="[56]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:03.962 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:03.962 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=57] [version=28] [2024/05/06 09:30:03.962 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=28] ["take time"=2.974537ms] [job="ID:57, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:03.948 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:03.976 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=57] [job="ID:57, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:03.948 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:03.980 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=57] [2024/05/06 09:30:03.980 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:03.981 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=28] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_options (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tsample_num BIGINT(64) NOT NULL DEFAULT 0,\n\t\tsample_rate DOUBLE NOT NULL DEFAULT -1,\n\t\tbuckets BIGINT(64) NOT NULL DEFAULT 0,\n\t\ttopn BIGINT(64) NOT NULL DEFAULT -1,\n\t\tcolumn_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT',\n\t\tcolumn_ids TEXT(19372),\n\t\tPRIMARY KEY (table_id) CLUSTERED\n\t);"] [user=] [2024/05/06 09:30:03.981 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(19372) to MEDIUMBLOB"] [category=ddl] [2024/05/06 09:30:03.989 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:03.987 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:03.989 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:03.987 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.analyze_options (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tsample_num BIGINT(64) NOT NULL DEFAULT 0,\n\t\tsample_rate DOUBLE NOT NULL DEFAULT -1,\n\t\tbuckets BIGINT(64) NOT NULL DEFAULT 0,\n\t\ttopn BIGINT(64) NOT NULL DEFAULT -1,\n\t\tcolumn_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT',\n\t\tcolumn_ids TEXT(19372),\n\t\tPRIMARY KEY (table_id) CLUSTERED\n\t);"] [2024/05/06 09:30:03.997 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=59] [category=ddl] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:03.987 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:04.000 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=28] [neededSchemaVersion=29] ["start time"=294.734µs] [gotSchemaVersion=29] [phyTblIDs="[58]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:04.001 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:04.001 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=59] [version=29] [2024/05/06 09:30:04.001 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=29] ["take time"=2.127722ms] [job="ID:59, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:03.987 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:04.006 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=59] [job="ID:59, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:03.987 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:04.012 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=59] [2024/05/06 09:30:04.012 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:04.012 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=29] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tstats_data longblob NOT NULL,\n\t\tseq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice',\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version_seq (table_id, version, seq_no),\n\t\tKEY table_create_time (table_id, create_time, seq_no),\n \tKEY idx_create_time (create_time)\n\t);"] [user=] [2024/05/06 09:30:04.015 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:04.014 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:04.015 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:04.014 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tstats_data longblob NOT NULL,\n\t\tseq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice',\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version_seq (table_id, version, seq_no),\n\t\tKEY table_create_time (table_id, create_time, seq_no),\n \tKEY idx_create_time (create_time)\n\t);"] [2024/05/06 09:30:04.020 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=61] [category=ddl] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:04.014 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:04.024 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=29] [neededSchemaVersion=30] ["start time"=376.417µs] [gotSchemaVersion=30] [phyTblIDs="[60]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:04.025 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:04.025 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=61] [version=30] [2024/05/06 09:30:04.026 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=30] ["take time"=2.030421ms] [job="ID:61, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:04.014 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:04.031 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=61] [job="ID:61, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:04.014 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:04.035 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=61] [2024/05/06 09:30:04.035 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:04.035 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=30] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_meta_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL,\n\t\tcount bigint(64) NOT NULL,\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n \tsource varchar(40) NOT NULL,\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version (table_id, version),\n\t\tKEY table_create_time (table_id, create_time),\n \tKEY idx_create_time (create_time)\n\t);"] [user=] [2024/05/06 09:30:04.038 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:04.037 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:04.038 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:04.037 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_meta_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL,\n\t\tcount bigint(64) NOT NULL,\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n \tsource varchar(40) NOT NULL,\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version (table_id, version),\n\t\tKEY table_create_time (table_id, create_time),\n \tKEY idx_create_time (create_time)\n\t);"] [2024/05/06 09:30:04.045 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=63] [category=ddl] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:04.037 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:04.048 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=30] [neededSchemaVersion=31] ["start time"=467.973µs] [gotSchemaVersion=31] [phyTblIDs="[62]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:04.050 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:04.050 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=63] [version=31] [2024/05/06 09:30:04.056 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=31] ["take time"=8.707451ms] [job="ID:63, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:04.037 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:04.069 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=63] [job="ID:63, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:04.037 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:04.078 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=63] [2024/05/06 09:30:04.078 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:04.078 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=31] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_jobs (\n\t\tid BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\ttable_schema CHAR(64) NOT NULL DEFAULT '',\n\t\ttable_name CHAR(64) NOT NULL DEFAULT '',\n\t\tpartition_name CHAR(64) NOT NULL DEFAULT '',\n\t\tjob_info TEXT NOT NULL,\n\t\tprocessed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tstart_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tstate ENUM('pending', 'running', 'finished', 'failed') NOT NULL,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job',\n\t\tprocess_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job',\n\t\tPRIMARY KEY (id),\n\t\tKEY (update_time)\n\t);"] [user=] [2024/05/06 09:30:04.081 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:04.08 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:04.081 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:04.08 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.analyze_jobs (\n\t\tid BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\ttable_schema CHAR(64) NOT NULL DEFAULT '',\n\t\ttable_name CHAR(64) NOT NULL DEFAULT '',\n\t\tpartition_name CHAR(64) NOT NULL DEFAULT '',\n\t\tjob_info TEXT NOT NULL,\n\t\tprocessed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tstart_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tstate ENUM('pending', 'running', 'finished', 'failed') NOT NULL,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job',\n\t\tprocess_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job',\n\t\tPRIMARY KEY (id),\n\t\tKEY (update_time)\n\t);"] [2024/05/06 09:30:04.089 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=65] [category=ddl] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:04.08 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:04.093 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=31] [neededSchemaVersion=32] ["start time"=464.599µs] [gotSchemaVersion=32] [phyTblIDs="[64]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:04.094 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:04.094 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=65] [version=32] [2024/05/06 09:30:04.095 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=32] ["take time"=2.177112ms] [job="ID:65, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:04.08 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:04.100 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=65] [job="ID:65, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:04.08 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:04.104 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=65] [2024/05/06 09:30:04.104 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:04.105 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=32] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] [user=] [2024/05/06 09:30:04.108 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:04.107 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:04.108 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:04.107 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] [2024/05/06 09:30:04.114 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=67] [category=ddl] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:04.107 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:04.117 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=276.583µs] [gotSchemaVersion=33] [phyTblIDs="[66]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:04.118 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:04.118 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=67] [version=33] [2024/05/06 09:30:04.119 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=33] ["take time"=2.110571ms] [job="ID:67, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:04.107 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:04.126 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=67] [job="ID:67, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:04.107 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:04.128 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=67] [2024/05/06 09:30:04.128 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:04.132 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2024-05-06 09:30:04.13 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:04.132 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2024-05-06 09:30:04.13 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE OR REPLACE VIEW mysql.tidb_mdl_view as (\n\t\tSELECT tidb_mdl_info.job_id,\n\t\t\tJSON_UNQUOTE(JSON_EXTRACT(cast(cast(job_meta as char) as json), \"$.schema_name\")) as db_name,\n\t\t\tJSON_UNQUOTE(JSON_EXTRACT(cast(cast(job_meta as char) as json), \"$.table_name\")) as table_name,\n\t\t\tJSON_UNQUOTE(JSON_EXTRACT(cast(cast(job_meta as char) as json), \"$.query\")) as query,\n\t\t\tsession_id,\n\t\t\tcluster_tidb_trx.start_time,\n\t\t\ttidb_decode_sql_digests(all_sql_digests, 4096) AS SQL_DIGESTS\n\t\tFROM mysql.tidb_ddl_job,\n\t\t\tmysql.tidb_mdl_info,\n\t\t\tinformation_schema.cluster_tidb_trx\n\t\tWHERE tidb_ddl_job.job_id=tidb_mdl_info.job_id\n\t\t\tAND CONCAT(',', tidb_mdl_info.table_ids, ',') REGEXP CONCAT(',', REPLACE(cluster_tidb_trx.related_table_ids, ',', '|'), ',') != 0\n\t);"] [2024/05/06 09:30:04.138 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=69] [category=ddl] [job="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:04.13 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:04.142 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=33] [neededSchemaVersion=34] ["start time"=341.059µs] [gotSchemaVersion=34] [phyTblIDs="[68]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2024/05/06 09:30:04.144 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:04.144 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=69] [version=34] [2024/05/06 09:30:04.144 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=34] ["take time"=2.712735ms] [job="ID:69, Type:create view, State:done, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2024-05-06 09:30:04.13 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:04.151 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=69] [job="ID:69, Type:create view, State:synced, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:04.13 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:04.157 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=69] [2024/05/06 09:30:04.157 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:04.157 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=34] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_status (\n\t\tsql_digest VARCHAR(128),\n\t\tplan_digest VARCHAR(128),\n\t\torigin_sql TEXT,\n\t\ttoken VARCHAR(128),\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the plan replayer job');"] [user=] [2024/05/06 09:30:04.165 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:04.163 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:04.165 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:04.163 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_status (\n\t\tsql_digest VARCHAR(128),\n\t\tplan_digest VARCHAR(128),\n\t\torigin_sql TEXT,\n\t\ttoken VARCHAR(128),\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the plan replayer job');"] [2024/05/06 09:30:04.178 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=71] [category=ddl] [job="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:04.163 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:04.182 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=34] [neededSchemaVersion=35] ["start time"=416.698µs] [gotSchemaVersion=35] [phyTblIDs="[70]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:04.184 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:04.184 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=71] [version=35] [2024/05/06 09:30:04.186 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=35] ["take time"=4.090839ms] [job="ID:71, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:04.163 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:04.191 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=71] [job="ID:71, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:04.163 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:04.195 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=71] [2024/05/06 09:30:04.195 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:04.195 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=35] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_task (\n\t\tsql_digest VARCHAR(128) NOT NULL,\n\t\tplan_digest VARCHAR(128) NOT NULL,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tPRIMARY KEY (sql_digest,plan_digest));"] [user=] [2024/05/06 09:30:04.199 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:04.197 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:04.199 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:04.197 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_task (\n\t\tsql_digest VARCHAR(128) NOT NULL,\n\t\tplan_digest VARCHAR(128) NOT NULL,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tPRIMARY KEY (sql_digest,plan_digest));"] [2024/05/06 09:30:04.205 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=73] [category=ddl] [job="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:04.197 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:04.209 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=35] [neededSchemaVersion=36] ["start time"=349.604µs] [gotSchemaVersion=36] [phyTblIDs="[72]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:04.210 +00:00] [WARN] [runaway.go:166] ["failed to start runaway manager loop, please check whether the bootstrap or update is finished"] [error="[schema:1146]Table 'mysql.tidb_runaway_watch' doesn't exist"] [errorVerbose="[schema:1146]Table 'mysql.tidb_runaway_watch' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:141\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:67\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2089\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternalStmt\n\tpkg/session/session.go:1993\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL.func1\n\tpkg/session/session.go:1958\ngithub.com/pingcap/tidb/pkg/session.(*session).withRestrictedSQLExecutor\n\tpkg/session/session.go:1944\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL\n\tpkg/session/session.go:1948\ngithub.com/pingcap/tidb/pkg/domain.(*SystemTableReader).Read\n\tpkg/domain/runaway.go:655\ngithub.com/pingcap/tidb/pkg/domain.getRunawayWatchRecord\n\tpkg/domain/runaway.go:543\ngithub.com/pingcap/tidb/pkg/domain.(*runawaySyncer).getWatchRecord\n\tpkg/domain/runaway.go:526\ngithub.com/pingcap/tidb/pkg/domain.(*runawaySyncer).getNewWatchRecords\n\tpkg/domain/runaway.go:509\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).updateNewAndDoneWatch\n\tpkg/domain/runaway.go:177\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).runawayStartLoop\n\tpkg/domain/runaway.go:156\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:99\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [2024/05/06 09:30:04.211 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:04.211 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=73] [version=36] [2024/05/06 09:30:04.213 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=36] ["take time"=4.032814ms] [job="ID:73, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:04.197 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:04.219 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=73] [job="ID:73, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:04.197 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:04.222 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=73] [2024/05/06 09:30:04.222 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:04.223 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=36] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_table_locked(\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL DEFAULT 0,\n\t\tcount bigint(64) NOT NULL DEFAULT 0,\n\t\tversion bigint(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (table_id));"] [user=] [2024/05/06 09:30:04.226 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:04.224 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:04.226 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:04.224 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_table_locked(\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL DEFAULT 0,\n\t\tcount bigint(64) NOT NULL DEFAULT 0,\n\t\tversion bigint(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (table_id));"] [2024/05/06 09:30:04.233 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=75] [category=ddl] [job="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:04.224 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:04.236 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=36] [neededSchemaVersion=37] ["start time"=181.878µs] [gotSchemaVersion=37] [phyTblIDs="[74]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:04.237 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:04.237 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=75] [version=37] [2024/05/06 09:30:04.238 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=37] ["take time"=2.375311ms] [job="ID:75, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:04.224 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:04.243 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=75] [job="ID:75, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:04.224 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:04.246 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=75] [2024/05/06 09:30:04.246 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:04.247 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=37] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_table_status (\n\t\ttable_id bigint(64) PRIMARY KEY,\n parent_table_id bigint(64),\n table_statistics text DEFAULT NULL,\n\t\tlast_job_id varchar(64) DEFAULT NULL,\n\t\tlast_job_start_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_finish_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_ttl_expire timestamp NULL DEFAULT NULL,\n last_job_summary text DEFAULT NULL,\n\t\tcurrent_job_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_addr varchar(256) DEFAULT NULL,\n\t\tcurrent_job_owner_hb_time timestamp,\n\t\tcurrent_job_start_time timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_ttl_expire timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_state text DEFAULT NULL,\n\t\tcurrent_job_status varchar(64) DEFAULT NULL,\n \t\tcurrent_job_status_update_time timestamp NULL DEFAULT NULL);"] [user=] [2024/05/06 09:30:04.250 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:04.248 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:04.250 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:04.248 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_table_status (\n\t\ttable_id bigint(64) PRIMARY KEY,\n parent_table_id bigint(64),\n table_statistics text DEFAULT NULL,\n\t\tlast_job_id varchar(64) DEFAULT NULL,\n\t\tlast_job_start_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_finish_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_ttl_expire timestamp NULL DEFAULT NULL,\n last_job_summary text DEFAULT NULL,\n\t\tcurrent_job_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_addr varchar(256) DEFAULT NULL,\n\t\tcurrent_job_owner_hb_time timestamp,\n\t\tcurrent_job_start_time timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_ttl_expire timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_state text DEFAULT NULL,\n\t\tcurrent_job_status varchar(64) DEFAULT NULL,\n \t\tcurrent_job_status_update_time timestamp NULL DEFAULT NULL);"] [2024/05/06 09:30:04.255 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=77] [category=ddl] [job="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:04.248 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:04.261 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=37] [neededSchemaVersion=38] ["start time"=644.049µs] [gotSchemaVersion=38] [phyTblIDs="[76]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:04.263 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:04.263 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=77] [version=38] [2024/05/06 09:30:04.263 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=38] ["take time"=2.523461ms] [job="ID:77, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:04.248 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:04.276 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=77] [job="ID:77, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:04.248 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:04.282 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=77] [2024/05/06 09:30:04.282 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:04.282 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=38] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_task (\n\t\tjob_id varchar(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tscan_id int NOT NULL,\n\t\tscan_range_start BLOB,\n\t\tscan_range_end BLOB,\n\t\texpire_time timestamp NOT NULL,\n\t\towner_id varchar(64) DEFAULT NULL,\n\t\towner_addr varchar(64) DEFAULT NULL,\n\t\towner_hb_time timestamp DEFAULT NULL,\n\t\tstatus varchar(64) DEFAULT 'waiting',\n\t\tstatus_update_time timestamp NULL DEFAULT NULL,\n\t\tstate text,\n\t\tcreated_time timestamp NOT NULL,\n\t\tprimary key(job_id, scan_id),\n\t\tkey(created_time));"] [user=] [2024/05/06 09:30:04.290 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:04.286 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:04.290 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:04.286 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_task (\n\t\tjob_id varchar(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tscan_id int NOT NULL,\n\t\tscan_range_start BLOB,\n\t\tscan_range_end BLOB,\n\t\texpire_time timestamp NOT NULL,\n\t\towner_id varchar(64) DEFAULT NULL,\n\t\towner_addr varchar(64) DEFAULT NULL,\n\t\towner_hb_time timestamp DEFAULT NULL,\n\t\tstatus varchar(64) DEFAULT 'waiting',\n\t\tstatus_update_time timestamp NULL DEFAULT NULL,\n\t\tstate text,\n\t\tcreated_time timestamp NOT NULL,\n\t\tprimary key(job_id, scan_id),\n\t\tkey(created_time));"] [2024/05/06 09:30:04.295 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=79] [category=ddl] [job="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:04.286 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:04.299 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=38] [neededSchemaVersion=39] ["start time"=565.15µs] [gotSchemaVersion=39] [phyTblIDs="[78]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:04.301 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:04.301 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=79] [version=39] [2024/05/06 09:30:04.301 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=39] ["take time"=2.033276ms] [job="ID:79, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:04.286 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:04.306 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=79] [job="ID:79, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:04.286 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:04.310 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=79] [2024/05/06 09:30:04.310 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:04.310 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=39] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_job_history (\n\t\tjob_id varchar(64) PRIMARY KEY,\n\t\ttable_id bigint(64) NOT NULL,\n parent_table_id bigint(64) NOT NULL,\n \ttable_schema varchar(64) NOT NULL,\n\t\ttable_name varchar(64) NOT NULL,\n \tpartition_name varchar(64) DEFAULT NULL,\n\t\tcreate_time timestamp NOT NULL,\n\t\tfinish_time timestamp NOT NULL,\n\t\tttl_expire timestamp NOT NULL,\n summary_text text,\n\t\texpired_rows bigint(64) DEFAULT NULL,\n \tdeleted_rows bigint(64) DEFAULT NULL,\n \terror_delete_rows bigint(64) DEFAULT NULL,\n \tstatus varchar(64) NOT NULL,\n \tkey(table_schema, table_name, create_time),\n \tkey(parent_table_id, create_time),\n \tkey(create_time)\n\t);"] [user=] [2024/05/06 09:30:04.313 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:04.312 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:04.313 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:04.312 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_job_history (\n\t\tjob_id varchar(64) PRIMARY KEY,\n\t\ttable_id bigint(64) NOT NULL,\n parent_table_id bigint(64) NOT NULL,\n \ttable_schema varchar(64) NOT NULL,\n\t\ttable_name varchar(64) NOT NULL,\n \tpartition_name varchar(64) DEFAULT NULL,\n\t\tcreate_time timestamp NOT NULL,\n\t\tfinish_time timestamp NOT NULL,\n\t\tttl_expire timestamp NOT NULL,\n summary_text text,\n\t\texpired_rows bigint(64) DEFAULT NULL,\n \tdeleted_rows bigint(64) DEFAULT NULL,\n \terror_delete_rows bigint(64) DEFAULT NULL,\n \tstatus varchar(64) NOT NULL,\n \tkey(table_schema, table_name, create_time),\n \tkey(parent_table_id, create_time),\n \tkey(create_time)\n\t);"] [2024/05/06 09:30:04.318 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=81] [category=ddl] [job="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:80, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:04.312 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:04.322 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=39] [neededSchemaVersion=40] ["start time"=404.527µs] [gotSchemaVersion=40] [phyTblIDs="[80]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:04.323 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:04.323 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=81] [version=40] [2024/05/06 09:30:04.324 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=40] ["take time"=2.304883ms] [job="ID:81, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:04.312 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:04.328 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=81] [job="ID:81, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:80, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:04.312 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:04.332 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=81] [2024/05/06 09:30:04.332 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:04.333 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=40] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(261),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tpriority INT DEFAULT 1,\n\t\tcreate_time TIMESTAMP,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\ttarget_scope VARCHAR(256) DEFAULT \"\",\n\t\terror BLOB,\n\t\tkey(state),\n \tUNIQUE KEY task_key(task_key)\n\t);"] [user=] [2024/05/06 09:30:04.336 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:04.334 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:04.336 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:04.334 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(261),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tpriority INT DEFAULT 1,\n\t\tcreate_time TIMESTAMP,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\ttarget_scope VARCHAR(256) DEFAULT \"\",\n\t\terror BLOB,\n\t\tkey(state),\n \tUNIQUE KEY task_key(task_key)\n\t);"] [2024/05/06 09:30:04.343 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=83] [category=ddl] [job="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:82, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:04.334 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:04.347 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=40] [neededSchemaVersion=41] ["start time"=556.499µs] [gotSchemaVersion=41] [phyTblIDs="[82]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:04.349 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:04.349 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=83] [version=41] [2024/05/06 09:30:04.352 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=41] ["take time"=5.657284ms] [job="ID:83, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:04.334 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:04.357 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=83] [job="ID:83, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:82, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:04.334 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:04.363 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=83] [2024/05/06 09:30:04.363 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:04.363 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=41] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task_history (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(261),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tpriority INT DEFAULT 1,\n\t\tcreate_time TIMESTAMP,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\ttarget_scope VARCHAR(256) DEFAULT \"\",\n\t\terror BLOB,\n\t\tkey(state),\n \tUNIQUE KEY task_key(task_key)\n\t);"] [user=] [2024/05/06 09:30:04.368 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:85, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:84, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:04.365 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:04.368 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:85, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:84, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:04.365 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task_history (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(261),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tpriority INT DEFAULT 1,\n\t\tcreate_time TIMESTAMP,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\ttarget_scope VARCHAR(256) DEFAULT \"\",\n\t\terror BLOB,\n\t\tkey(state),\n \tUNIQUE KEY task_key(task_key)\n\t);"] [2024/05/06 09:30:04.379 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=85] [category=ddl] [job="ID:85, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:84, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:04.365 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:04.384 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=41] [neededSchemaVersion=42] ["start time"=615.075µs] [gotSchemaVersion=42] [phyTblIDs="[84]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:04.386 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:04.386 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=85] [version=42] [2024/05/06 09:30:04.389 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=42] ["take time"=5.068408ms] [job="ID:85, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:84, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:04.365 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:04.394 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=85] [job="ID:85, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:84, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:04.365 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:04.397 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=85] [2024/05/06 09:30:04.397 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:04.398 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=42] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_import_jobs (\n\t\tid bigint(64) NOT NULL AUTO_INCREMENT,\n\t\tcreate_time TIMESTAMP(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n\t\tstart_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tupdate_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tend_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\ttable_schema VARCHAR(64) NOT NULL,\n\t\ttable_name VARCHAR(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcreated_by VARCHAR(300) NOT NULL,\n\t\tparameters text NOT NULL,\n\t\tsource_file_size bigint(64) NOT NULL,\n\t\tstatus VARCHAR(64) NOT NULL,\n\t\tstep VARCHAR(64) NOT NULL,\n\t\tsummary text DEFAULT NULL,\n\t\terror_message TEXT DEFAULT NULL,\n\t\tPRIMARY KEY (id),\n\t\tKEY (created_by),\n\t\tKEY (status));"] [user=] [2024/05/06 09:30:04.401 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:87, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:86, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:04.399 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:04.401 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:87, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:86, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:04.399 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_import_jobs (\n\t\tid bigint(64) NOT NULL AUTO_INCREMENT,\n\t\tcreate_time TIMESTAMP(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n\t\tstart_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tupdate_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tend_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\ttable_schema VARCHAR(64) NOT NULL,\n\t\ttable_name VARCHAR(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcreated_by VARCHAR(300) NOT NULL,\n\t\tparameters text NOT NULL,\n\t\tsource_file_size bigint(64) NOT NULL,\n\t\tstatus VARCHAR(64) NOT NULL,\n\t\tstep VARCHAR(64) NOT NULL,\n\t\tsummary text DEFAULT NULL,\n\t\terror_message TEXT DEFAULT NULL,\n\t\tPRIMARY KEY (id),\n\t\tKEY (created_by),\n\t\tKEY (status));"] [2024/05/06 09:30:04.408 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=87] [category=ddl] [job="ID:87, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:86, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:04.399 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:04.413 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=42] [neededSchemaVersion=43] ["start time"=461.167µs] [gotSchemaVersion=43] [phyTblIDs="[86]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:04.414 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:04.414 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=87] [version=43] [2024/05/06 09:30:04.415 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=43] ["take time"=2.385516ms] [job="ID:87, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:86, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:04.399 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:04.420 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=87] [job="ID:87, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:86, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:04.399 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:04.424 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=87] [2024/05/06 09:30:04.424 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:04.425 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=43] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tINDEX sql_index(resource_group_name,watch_text(700)) COMMENT \"accelerate the speed when select quarantined query\",\n\t\tINDEX time_index(end_time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2024/05/06 09:30:04.428 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:89, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:88, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:04.426 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:04.428 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:89, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:88, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:04.426 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tINDEX sql_index(resource_group_name,watch_text(700)) COMMENT \"accelerate the speed when select quarantined query\",\n\t\tINDEX time_index(end_time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2024/05/06 09:30:04.433 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=89] [category=ddl] [job="ID:89, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:88, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:04.426 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:04.436 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=43] [neededSchemaVersion=44] ["start time"=397.203µs] [gotSchemaVersion=44] [phyTblIDs="[88]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:04.438 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:04.438 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=89] [version=44] [2024/05/06 09:30:04.438 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=44] ["take time"=2.582446ms] [job="ID:89, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:88, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:04.426 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:04.443 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=89] [job="ID:89, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:88, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:04.426 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:04.447 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=89] [2024/05/06 09:30:04.447 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:04.447 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=44] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_queries (\n\t\tresource_group_name varchar(32) not null,\n\t\ttime TIMESTAMP NOT NULL,\n\t\tmatch_type varchar(12) NOT NULL,\n\t\taction varchar(12) NOT NULL,\n\t\toriginal_sql TEXT NOT NULL,\n\t\tplan_digest TEXT NOT NULL,\n\t\ttidb_server varchar(512),\n\t\tINDEX plan_index(plan_digest(64)) COMMENT \"accelerate the speed when select runaway query\",\n\t\tINDEX time_index(time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2024/05/06 09:30:04.450 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:91, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:90, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:04.448 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:04.450 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:91, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:90, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:04.448 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_queries (\n\t\tresource_group_name varchar(32) not null,\n\t\ttime TIMESTAMP NOT NULL,\n\t\tmatch_type varchar(12) NOT NULL,\n\t\taction varchar(12) NOT NULL,\n\t\toriginal_sql TEXT NOT NULL,\n\t\tplan_digest TEXT NOT NULL,\n\t\ttidb_server varchar(512),\n\t\tINDEX plan_index(plan_digest(64)) COMMENT \"accelerate the speed when select runaway query\",\n\t\tINDEX time_index(time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2024/05/06 09:30:04.456 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=91] [category=ddl] [job="ID:91, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:90, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:04.448 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:04.464 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=44] [neededSchemaVersion=45] ["start time"=448.794µs] [gotSchemaVersion=45] [phyTblIDs="[90]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:04.466 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:04.466 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=91] [version=45] [2024/05/06 09:30:04.468 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=45] ["take time"=4.626698ms] [job="ID:91, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:90, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:04.448 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:04.476 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=91] [job="ID:91, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:90, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:04.448 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:04.480 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=91] [2024/05/06 09:30:04.480 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:04.480 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=45] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS `mysql`.`tidb_timers` (\n\t\tID BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tNAMESPACE VARCHAR(256) NOT NULL,\n\t\tTIMER_KEY VARCHAR(256) NOT NULL,\n\t\tTIMER_DATA BLOB,\n\t\tTIMEZONE VARCHAR(64) NOT NULL,\n\t\tSCHED_POLICY_TYPE VARCHAR(32) NOT NULL,\n\t\tSCHED_POLICY_EXPR VARCHAR(256) NOT NULL,\n\t\tHOOK_CLASS VARCHAR(64) NOT NULL,\n\t\tWATERMARK TIMESTAMP DEFAULT NULL,\n\t\tENABLE TINYINT(2) NOT NULL,\n\t\tTIMER_EXT JSON NOT NULL,\n\t\tEVENT_STATUS VARCHAR(32) NOT NULL,\n\t\tEVENT_ID VARCHAR(64) NOT NULL,\n\t\tEVENT_DATA BLOB,\n\t\tEVENT_START TIMESTAMP DEFAULT NULL,\n\t\tSUMMARY_DATA BLOB,\n\t\tCREATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,\n\t\tUPDATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tVERSION BIGINT(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (ID),\n\t\tUNIQUE KEY timer_key(NAMESPACE, TIMER_KEY),\n\t\tKEY hook_class(HOOK_CLASS)\n\t)"] [user=] [2024/05/06 09:30:04.485 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:93, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:92, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:04.482 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:04.485 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:93, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:92, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:04.482 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS `mysql`.`tidb_timers` (\n\t\tID BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tNAMESPACE VARCHAR(256) NOT NULL,\n\t\tTIMER_KEY VARCHAR(256) NOT NULL,\n\t\tTIMER_DATA BLOB,\n\t\tTIMEZONE VARCHAR(64) NOT NULL,\n\t\tSCHED_POLICY_TYPE VARCHAR(32) NOT NULL,\n\t\tSCHED_POLICY_EXPR VARCHAR(256) NOT NULL,\n\t\tHOOK_CLASS VARCHAR(64) NOT NULL,\n\t\tWATERMARK TIMESTAMP DEFAULT NULL,\n\t\tENABLE TINYINT(2) NOT NULL,\n\t\tTIMER_EXT JSON NOT NULL,\n\t\tEVENT_STATUS VARCHAR(32) NOT NULL,\n\t\tEVENT_ID VARCHAR(64) NOT NULL,\n\t\tEVENT_DATA BLOB,\n\t\tEVENT_START TIMESTAMP DEFAULT NULL,\n\t\tSUMMARY_DATA BLOB,\n\t\tCREATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,\n\t\tUPDATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tVERSION BIGINT(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (ID),\n\t\tUNIQUE KEY timer_key(NAMESPACE, TIMER_KEY),\n\t\tKEY hook_class(HOOK_CLASS)\n\t)"] [2024/05/06 09:30:04.490 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=93] [category=ddl] [job="ID:93, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:92, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:04.482 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:04.495 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=45] [neededSchemaVersion=46] ["start time"=442.802µs] [gotSchemaVersion=46] [phyTblIDs="[92]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:04.496 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:04.496 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=93] [version=46] [2024/05/06 09:30:04.497 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=46] ["take time"=3.0656ms] [job="ID:93, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:04.482 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:04.502 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=93] [job="ID:93, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:04.482 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:04.506 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=93] [2024/05/06 09:30:04.506 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:04.507 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=46] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch_done (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\trecord_id BIGINT(20) not null,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tdone_time TIMESTAMP(6) NOT NULL\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2024/05/06 09:30:04.509 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:95, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:94, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:04.508 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:04.509 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:95, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:94, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:04.508 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch_done (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\trecord_id BIGINT(20) not null,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tdone_time TIMESTAMP(6) NOT NULL\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2024/05/06 09:30:04.515 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=95] [category=ddl] [job="ID:95, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:94, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:04.508 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:04.519 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=46] [neededSchemaVersion=47] ["start time"=385.408µs] [gotSchemaVersion=47] [phyTblIDs="[94]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:04.520 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:04.520 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=95] [version=47] [2024/05/06 09:30:04.521 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=47] ["take time"=2.277552ms] [job="ID:95, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:94, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:04.508 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:04.524 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=95] [job="ID:95, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:94, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:04.508 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:04.527 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=95] [2024/05/06 09:30:04.527 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:04.528 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=47] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.dist_framework_meta (\n host VARCHAR(261) NOT NULL PRIMARY KEY,\n role VARCHAR(64),\n cpu_count int default 0,\n keyspace_id bigint(8) NOT NULL DEFAULT -1\n );"] [user=] [2024/05/06 09:30:04.531 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:97, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:96, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:04.529 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:04.531 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:97, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:96, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:04.529 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.dist_framework_meta (\n host VARCHAR(261) NOT NULL PRIMARY KEY,\n role VARCHAR(64),\n cpu_count int default 0,\n keyspace_id bigint(8) NOT NULL DEFAULT -1\n );"] [2024/05/06 09:30:04.536 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=97] [category=ddl] [job="ID:97, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:96, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:04.529 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:04.539 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=47] [neededSchemaVersion=48] ["start time"=348.927µs] [gotSchemaVersion=48] [phyTblIDs="[96]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:04.540 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:04.540 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=97] [version=48] [2024/05/06 09:30:04.541 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=48] ["take time"=2.645141ms] [job="ID:97, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:96, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:04.529 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:04.545 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=97] [job="ID:97, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:96, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:04.529 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:04.549 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=97] [2024/05/06 09:30:04.549 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:04.549 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=48] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.request_unit_by_group (\n\t\tstart_time TIMESTAMP(6) NOT NULL,\n\t\tend_time TIMESTAMP(6) NOT NULL,\n\t\tresource_group VARCHAR(32) NOT null,\n\t\ttotal_ru bigint(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (start_time, end_time, resource_group),\n\t\tKEY (resource_group)\n\t);"] [user=] [2024/05/06 09:30:04.552 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:99, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:98, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:04.551 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:04.552 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:99, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:98, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:04.551 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.request_unit_by_group (\n\t\tstart_time TIMESTAMP(6) NOT NULL,\n\t\tend_time TIMESTAMP(6) NOT NULL,\n\t\tresource_group VARCHAR(32) NOT null,\n\t\ttotal_ru bigint(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (start_time, end_time, resource_group),\n\t\tKEY (resource_group)\n\t);"] [2024/05/06 09:30:04.559 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=99] [category=ddl] [job="ID:99, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:98, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:04.551 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:04.564 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=48] [neededSchemaVersion=49] ["start time"=295.106µs] [gotSchemaVersion=49] [phyTblIDs="[98]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:04.565 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:04.565 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=99] [version=49] [2024/05/06 09:30:04.572 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=49] ["take time"=8.751843ms] [job="ID:99, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:98, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:04.551 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:04.578 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=99] [job="ID:99, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:98, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:04.551 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:04.583 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=99] [2024/05/06 09:30:04.583 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:04.583 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=49] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS sys;"] [user=] [2024/05/06 09:30:04.586 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:101, Type:create schema, State:queueing, SchemaState:none, SchemaID:100, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:30:04.585 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:04.586 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:101, Type:create schema, State:queueing, SchemaState:none, SchemaID:100, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:30:04.585 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE DATABASE IF NOT EXISTS sys;"] [2024/05/06 09:30:04.590 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=101] [category=ddl] [job="ID:101, Type:create schema, State:queueing, SchemaState:none, SchemaID:100, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:04.585 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:04.592 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=49] [neededSchemaVersion=50] ["start time"=59.149µs] [gotSchemaVersion=50] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2024/05/06 09:30:04.593 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:04.593 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=101] [version=50] [2024/05/06 09:30:04.594 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=50] ["take time"=2.612106ms] [job="ID:101, Type:create schema, State:done, SchemaState:public, SchemaID:100, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:30:04.585 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:04.598 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=101] [job="ID:101, Type:create schema, State:synced, SchemaState:public, SchemaID:100, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:04.585 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:04.601 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=101] [2024/05/06 09:30:04.601 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:04.604 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:103, Type:create view, State:queueing, SchemaState:none, SchemaID:100, TableID:102, RowCount:0, ArgLen:3, start time: 2024-05-06 09:30:04.603 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:04.604 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:103, Type:create view, State:queueing, SchemaState:none, SchemaID:100, TableID:102, RowCount:0, ArgLen:3, start time: 2024-05-06 09:30:04.603 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE OR REPLACE VIEW sys.schema_unused_indexes AS\n\t\tSELECT\n\t\t\ttable_schema as object_schema,\n\t\t\ttable_name as object_name,\n\t\t\tindex_name\n\t\tFROM information_schema.cluster_tidb_index_usage\n\t\tWHERE\n\t\t\ttable_schema not in ('sys', 'mysql', 'INFORMATION_SCHEMA', 'PERFORMANCE_SCHEMA') and\n\t\t\tindex_name != 'PRIMARY'\n\t\tGROUP BY table_schema, table_name, index_name\n\t\tHAVING\n\t\t\tsum(last_access_time) is null;"] [2024/05/06 09:30:04.610 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=103] [category=ddl] [job="ID:103, Type:create view, State:queueing, SchemaState:none, SchemaID:100, TableID:102, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:04.603 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:04.613 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=50] [neededSchemaVersion=51] ["start time"=181.484µs] [gotSchemaVersion=51] [phyTblIDs="[102]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2024/05/06 09:30:04.614 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:04.614 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=103] [version=51] [2024/05/06 09:30:04.615 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=51] ["take time"=2.062399ms] [job="ID:103, Type:create view, State:done, SchemaState:public, SchemaID:100, TableID:102, RowCount:0, ArgLen:3, start time: 2024-05-06 09:30:04.603 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:04.619 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=103] [job="ID:103, Type:create view, State:synced, SchemaState:public, SchemaID:100, TableID:102, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:04.603 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:04.622 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=103] [2024/05/06 09:30:04.622 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:04.649 +00:00] [INFO] [bootstrap.go:745] ["bootstrap successful"] ["take time"=1.439322021s] [2024/05/06 09:30:04.649 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=0d07751f-ebc8-4c01-a28d-74c3d5683d7b] [ownerKey=/tidb/ddl/fg/owner] [2024/05/06 09:30:04.649 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/06 09:30:04.649 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 23, tp add index"] [category=ddl] ["take time"=1.595µs] [2024/05/06 09:30:04.649 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 24, tp add index"] [category=ddl] ["take time"=1.072µs] [2024/05/06 09:30:04.649 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 25, tp add index"] [category=ddl] ["take time"=834ns] [2024/05/06 09:30:04.649 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 22, tp add index"] [category=ddl] ["take time"=876ns] [2024/05/06 09:30:04.649 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/06 09:30:04.649 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 21, tp general"] [category=ddl] ["take time"=805ns] [2024/05/06 09:30:04.649 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/06 09:30:04.649 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2024/05/06 09:30:04.649 +00:00] [INFO] [session_pool.go:99] ["closing session pool"] [category=ddl] [2024/05/06 09:30:04.652 +00:00] [INFO] [ddl.go:951] ["DDL closed"] [category=ddl] [ID=0d07751f-ebc8-4c01-a28d-74c3d5683d7b] ["take time"=3.365773ms] [2024/05/06 09:30:04.653 +00:00] [INFO] [ddl.go:769] ["stop DDL"] [category=ddl] [ID=0d07751f-ebc8-4c01-a28d-74c3d5683d7b] [2024/05/06 09:30:04.653 +00:00] [INFO] [domain.go:907] ["loadSchemaInLoop exited."] [2024/05/06 09:30:04.653 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2024/05/06 09:30:04.653 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayStartLoop] [2024/05/06 09:30:04.653 +00:00] [INFO] [domain.go:761] ["topologySyncerKeeper exited."] [2024/05/06 09:30:04.653 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2024/05/06 09:30:04.653 +00:00] [INFO] [domain.go:737] ["globalConfigSyncerKeeper exited."] [2024/05/06 09:30:04.653 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/06 09:30:04.653 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2024/05/06 09:30:04.653 +00:00] [INFO] [domain.go:711] ["infoSyncerKeeper exited."] [2024/05/06 09:30:04.653 +00:00] [INFO] [domain.go:683] ["topNSlowQueryLoop exited."] [2024/05/06 09:30:04.653 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2024/05/06 09:30:04.653 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2024/05/06 09:30:04.653 +00:00] [INFO] [domain.go:1361] ["closestReplicaReadCheckLoop exited."] [2024/05/06 09:30:04.653 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/06 09:30:04.653 +00:00] [INFO] [domain.go:1074] ["domain closed"] ["take time"=3.600707ms] [2024/05/06 09:30:04.653 +00:00] [INFO] [tidb.go:80] ["new domain"] [store=d1a3a7c6-36d1-4fc2-9c90-85643d8d095f] ["ddl lease"=500ms] ["stats lease"=-1ns] [2024/05/06 09:30:04.660 +00:00] [WARN] [controller.go:198] ["[resource group controller] server does not save config, load config failed"] [2024/05/06 09:30:04.660 +00:00] [INFO] [controller.go:185] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":10,\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\"}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":10,\"DegradedModeWaitDuration\":0}"] [2024/05/06 09:30:04.695 +00:00] [INFO] [domain.go:315] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=51] ["start time"=34.992347ms] [2024/05/06 09:30:04.700 +00:00] [INFO] [domain.go:635] ["full load and reset schema validator"] [2024/05/06 09:30:04.700 +00:00] [INFO] [ddl.go:818] ["start DDL"] [category=ddl] [ID=9821bd90-23a2-4b36-b6ec-1ced8fc8cf55] [runWorker=true] [2024/05/06 09:30:04.700 +00:00] [INFO] [ddl.go:777] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=true] [2024/05/06 09:30:04.700 +00:00] [WARN] [env.go:51] ["initialize environment failed"] [category=ddl-ingest] ["storage limitation"="only support TiKV storage"] ["current storage"=unistore] ["lightning is initialized"=false] [2024/05/06 09:30:04.700 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2024/05/06 09:30:04.700 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=mdlCheckLoop] [2024/05/06 09:30:04.700 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2024/05/06 09:30:04.700 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2024/05/06 09:30:04.700 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/06 09:30:04.700 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayStartLoop] [2024/05/06 09:30:04.700 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/06 09:30:04.700 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2024/05/06 09:30:04.700 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/06 09:30:04.700 +00:00] [WARN] [domain.go:1326] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/06 09:30:04.701 +00:00] [INFO] [delete_range.go:172] ["start delRange emulator"] [category=ddl] [2024/05/06 09:30:04.701 +00:00] [INFO] [controller.go:447] ["[resource group controller] create resource group cost controller"] [name=default] [2024/05/06 09:30:04.701 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/06 09:30:04.701 +00:00] [INFO] [runaway.go:149] ["try to start runaway manager loop"] [2024/05/06 09:30:04.701 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/06 09:30:04.706 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2024/05/06 09:30:04.706 +00:00] [WARN] [sysvar_cache.go:49] ["sysvar cache is empty, triggering rebuild"] [2024/05/06 09:30:04.719 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2024/05/06 09:30:04.722 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2024/05/06 09:30:04.724 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2024/05/06 09:30:04.724 +00:00] [INFO] [domain.go:2070] ["dumpFileGcChecker started"] [2024/05/06 09:30:04.724 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=indexUsageWorker] [2024/05/06 09:30:04.724 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=quitStatsOwner] [2024/05/06 09:30:04.725 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2024/05/06 09:30:04.725 +00:00] [INFO] [manager.go:113] ["build task executor manager"] [server-id=:4000] [total-cpu=16] [total-mem=342.3GiB] [2024/05/06 09:30:04.726 +00:00] [INFO] [task_manager.go:217] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=0] [newCount=4] [2024/05/06 09:30:04.726 +00:00] [INFO] [task_manager.go:217] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=0] [newCount=4] [2024/05/06 09:30:04.727 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2024/05/06 09:30:04.727 +00:00] [INFO] [manager.go:146] ["task executor manager start"] [server-id=:4000] [2024/05/06 09:30:04.727 +00:00] [INFO] [domain.go:1525] ["dist task executor manager started"] [2024/05/06 09:30:04.728 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=4] [schemaVersion=51] [cur_db=] [sql="create database test_db_state default charset utf8 default collate utf8_bin"] [user=] [2024/05/06 09:30:04.730 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:105, Type:create schema, State:queueing, SchemaState:none, SchemaID:104, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:30:04.729 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:04.730 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:105, Type:create schema, State:queueing, SchemaState:none, SchemaID:104, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:30:04.729 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create database test_db_state default charset utf8 default collate utf8_bin"] [2024/05/06 09:30:04.751 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/06 09:30:04.751 +00:00] [INFO] [job_table.go:349] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2024/05/06 09:30:04.756 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=105] [conn=4] [category=ddl] [job="ID:105, Type:create schema, State:queueing, SchemaState:none, SchemaID:104, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:04.729 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:04.758 +00:00] [ERROR] [domain.go:291] ["failed to load schema diff"] [error="builder's (v2=false) infoschema mismatch, return error to trigger full reload"] [errorVerbose="builder's (v2=false) infoschema mismatch, return error to trigger full reload\ngithub.com/pingcap/tidb/pkg/infoschema.(*Builder).InitWithOldInfoSchema\n\tpkg/infoschema/builder.go:798\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).tryLoadSchemaDiffs\n\tpkg/domain/domain.go:459\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:276\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:606\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:919\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1287\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:99\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [stack="github.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:291\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:606\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:919\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1287\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:99"] [2024/05/06 09:30:04.799 +00:00] [INFO] [domain.go:315] ["full load InfoSchema success"] [currentSchemaVersion=51] [neededSchemaVersion=52] ["start time"=40.648538ms] [2024/05/06 09:30:04.799 +00:00] [INFO] [domain.go:635] ["full load and reset schema validator"] [2024/05/06 09:30:04.802 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=105] [version=52] [2024/05/06 09:30:04.804 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=52] ["take time"=46.39602ms] [job="ID:105, Type:create schema, State:done, SchemaState:public, SchemaID:104, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:30:04.729 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:04.812 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=105] [conn=4] [job="ID:105, Type:create schema, State:synced, SchemaState:public, SchemaID:104, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:04.729 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:04.815 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=105] [2024/05/06 09:30:04.815 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:04.818 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=6] [schemaVersion=52] [cur_db=test_db_state] [sql="create table if not exists test_not_exists(a int)"] [user=] [2024/05/06 09:30:04.818 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=5] [schemaVersion=52] [cur_db=test_db_state] [sql="create table if not exists test_not_exists(a int)"] [user=] [2024/05/06 09:30:04.821 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:108, Type:create table, State:queueing, SchemaState:none, SchemaID:104, TableID:106, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:04.819 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:04.821 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:108, Type:create table, State:queueing, SchemaState:none, SchemaID:104, TableID:106, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:04.819 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table if not exists test_not_exists(a int)"] [2024/05/06 09:30:04.823 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:109, Type:create table, State:queueing, SchemaState:none, SchemaID:104, TableID:107, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:04.822 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:04.823 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:109, Type:create table, State:queueing, SchemaState:none, SchemaID:104, TableID:107, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:04.822 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table if not exists test_not_exists(a int)"] [2024/05/06 09:30:04.829 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:108, Type:create table, State:queueing, SchemaState:none, SchemaID:104, TableID:106, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:04.819 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:04.829 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=108] [conn=6] [category=ddl] [job="ID:108, Type:create table, State:queueing, SchemaState:none, SchemaID:104, TableID:106, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:04.819 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:04.829 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:108, Type:create table, State:done, SchemaState:public, SchemaID:104, TableID:106, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:04.819 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:04.832 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=52] [neededSchemaVersion=53] ["start time"=185.755µs] [gotSchemaVersion=53] [phyTblIDs="[106]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:04.833 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=108] [version=53] [2024/05/06 09:30:04.834 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=53] ["take time"=2.318083ms] [job="ID:108, Type:create table, State:done, SchemaState:public, SchemaID:104, TableID:106, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:04.819 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:04.841 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:108, Type:create table, State:done, SchemaState:public, SchemaID:104, TableID:106, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:04.819 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:04.861 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:109, Type:create table, State:queueing, SchemaState:none, SchemaID:104, TableID:107, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:04.822 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:04.861 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=109] [conn=5] [category=ddl] [job="ID:109, Type:create table, State:queueing, SchemaState:none, SchemaID:104, TableID:107, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:04.822 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:04.862 +00:00] [INFO] [ddl_worker.go:1144] ["DDL job is cancelled normally"] [worker="worker 26, tp general"] [category=ddl] [jobID=109] [conn=5] [error="[schema:1050]Table 'test_not_exists' already exists"] [errorVerbose="[schema:1050]Table 'test_not_exists' already exists\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs\n\texternal/com_github_pingcap_errors/normalize.go:175\ngithub.com/pingcap/tidb/pkg/ddl.checkTableNotExistsFromInfoSchema\n\tpkg/ddl/table.go:1566\ngithub.com/pingcap/tidb/pkg/ddl.checkTableNotExists\n\tpkg/ddl/table.go:1504\ngithub.com/pingcap/tidb/pkg/ddl.createTable\n\tpkg/ddl/table.go:65\ngithub.com/pingcap/tidb/pkg/ddl.onCreateTable\n\tpkg/ddl/table.go:176\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).runDDLJob\n\tpkg/ddl/ddl_worker.go:1232\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).HandleDDLJobTable\n\tpkg/ddl/ddl_worker.go:946\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2Worker.func1\n\tpkg/ddl/job_table.go:461\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:157\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [2024/05/06 09:30:04.862 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:109, Type:create table, State:cancelled, SchemaState:none, SchemaID:104, TableID:107, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:04.822 +0000 UTC, Err:[schema:1050]Table 'test_not_exists' already exists, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:04.862 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=109] [conn=5] [job="ID:109, Type:create table, State:cancelled, SchemaState:none, SchemaID:104, TableID:107, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:04.822 +0000 UTC, Err:[schema:1050]Table 'test_not_exists' already exists, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:04.871 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:109, Type:create table, State:cancelled, SchemaState:none, SchemaID:104, TableID:107, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:04.822 +0000 UTC, Err:[schema:1050]Table 'test_not_exists' already exists, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:04.877 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=108] [conn=6] [job="ID:108, Type:create table, State:synced, SchemaState:public, SchemaID:104, TableID:106, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:04.819 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:04.880 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:108, Type:create table, State:synced, SchemaState:public, SchemaID:104, TableID:106, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:04.819 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:04.882 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=109] [2024/05/06 09:30:04.882 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:05.322 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=108] [2024/05/06 09:30:05.322 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:05.322 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=9821bd90-23a2-4b36-b6ec-1ced8fc8cf55] [ownerKey=/tidb/ddl/fg/owner] [2024/05/06 09:30:05.322 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/06 09:30:05.322 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 27, tp add index"] [category=ddl] ["take time"=3.187µs] [2024/05/06 09:30:05.322 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 28, tp add index"] [category=ddl] ["take time"=1.279µs] [2024/05/06 09:30:05.322 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 29, tp add index"] [category=ddl] ["take time"=1.229µs] [2024/05/06 09:30:05.322 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 30, tp add index"] [category=ddl] ["take time"=1.08µs] [2024/05/06 09:30:05.322 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/06 09:30:05.322 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 26, tp general"] [category=ddl] ["take time"=946ns] [2024/05/06 09:30:05.322 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/06 09:30:05.322 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2024/05/06 09:30:05.322 +00:00] [INFO] [session_pool.go:99] ["closing session pool"] [category=ddl] [2024/05/06 09:30:05.323 +00:00] [INFO] [ddl.go:951] ["DDL closed"] [category=ddl] [ID=9821bd90-23a2-4b36-b6ec-1ced8fc8cf55] ["take time"=546.594µs] [2024/05/06 09:30:05.323 +00:00] [INFO] [ddl.go:769] ["stop DDL"] [category=ddl] [ID=9821bd90-23a2-4b36-b6ec-1ced8fc8cf55] [2024/05/06 09:30:05.323 +00:00] [INFO] [domain.go:1026] ["stopping ttlJobManager"] [2024/05/06 09:30:05.323 +00:00] [INFO] [task_manager.go:194] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=4] [newCount=0] [2024/05/06 09:30:05.323 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/06 09:30:05.323 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/06 09:30:05.323 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/06 09:30:05.323 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/06 09:30:05.323 +00:00] [INFO] [task_manager.go:194] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=4] [newCount=0] [2024/05/06 09:30:05.323 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/06 09:30:05.323 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/06 09:30:05.323 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/06 09:30:05.323 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/06 09:30:05.324 +00:00] [INFO] [job_manager.go:174] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [2024/05/06 09:30:05.324 +00:00] [INFO] [domain.go:1037] ["ttlJobManager exited."] [2024/05/06 09:30:05.324 +00:00] [INFO] [manager.go:280] ["recoverMetaLoop done"] [server-id=:4000] [2024/05/06 09:30:05.324 +00:00] [INFO] [domain.go:2074] ["dumpFileGcChecker exited."] [2024/05/06 09:30:05.324 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2024/05/06 09:30:05.324 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2024/05/06 09:30:05.324 +00:00] [INFO] [domain.go:737] ["globalConfigSyncerKeeper exited."] [2024/05/06 09:30:05.324 +00:00] [INFO] [domain.go:907] ["loadSchemaInLoop exited."] [2024/05/06 09:30:05.324 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/06 09:30:05.324 +00:00] [INFO] [domain.go:1361] ["closestReplicaReadCheckLoop exited."] [2024/05/06 09:30:05.324 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2024/05/06 09:30:05.324 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/06 09:30:05.324 +00:00] [INFO] [domain.go:683] ["topNSlowQueryLoop exited."] [2024/05/06 09:30:05.324 +00:00] [INFO] [domain.go:1527] ["stopping dist task executor manager"] [2024/05/06 09:30:05.324 +00:00] [INFO] [domain.go:1700] ["loadPrivilegeInLoop exited."] [2024/05/06 09:30:05.324 +00:00] [INFO] [manager.go:179] ["handle tasks loop done"] [server-id=:4000] [2024/05/06 09:30:05.324 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2024/05/06 09:30:05.324 +00:00] [INFO] [domain.go:1750] ["LoadSysVarCacheLoop exited."] [2024/05/06 09:30:05.324 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2024/05/06 09:30:05.324 +00:00] [INFO] [domain.go:1529] ["dist task executor manager stopped"] [2024/05/06 09:30:05.324 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2024/05/06 09:30:05.324 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2024/05/06 09:30:05.324 +00:00] [INFO] [stats_syncload.go:202] ["SubLoadWorker exited."] [2024/05/06 09:30:05.324 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2024/05/06 09:30:05.324 +00:00] [INFO] [domain.go:711] ["infoSyncerKeeper exited."] [2024/05/06 09:30:05.324 +00:00] [INFO] [stats_syncload.go:202] ["SubLoadWorker exited."] [2024/05/06 09:30:05.324 +00:00] [INFO] [domain.go:761] ["topologySyncerKeeper exited."] [2024/05/06 09:30:05.324 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2024/05/06 09:30:05.324 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2024/05/06 09:30:05.324 +00:00] [INFO] [stats_syncload.go:202] ["SubLoadWorker exited."] [2024/05/06 09:30:05.324 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=9821bd90-23a2-4b36-b6ec-1ced8fc8cf55] [ownerKey=/tidb/bindinfo/owner] [2024/05/06 09:30:05.324 +00:00] [INFO] [domain.go:1889] ["globalBindHandleWorkerLoop exited."] [2024/05/06 09:30:05.324 +00:00] [INFO] [stats_syncload.go:202] ["SubLoadWorker exited."] [2024/05/06 09:30:05.324 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2024/05/06 09:30:05.324 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=9821bd90-23a2-4b36-b6ec-1ced8fc8cf55] [ownerKey=/tidb/stats/owner] [2024/05/06 09:30:05.324 +00:00] [INFO] [domain.go:2352] ["indexUsageWorker exited."] [2024/05/06 09:30:05.324 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=quitStatsOwner] [2024/05/06 09:30:05.324 +00:00] [INFO] [stats_syncload.go:202] ["SubLoadWorker exited."] [2024/05/06 09:30:05.324 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayStartLoop] [2024/05/06 09:30:05.324 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=indexUsageWorker] [2024/05/06 09:30:05.324 +00:00] [INFO] [domain.go:1074] ["domain closed"] ["take time"=2.289806ms] [2024/05/06 09:30:05.325 +00:00] [INFO] [db.go:567] ["Closing database"] [2024/05/06 09:30:05.325 +00:00] [INFO] [db.go:592] ["Memtable flushed"] [2024/05/06 09:30:05.325 +00:00] [INFO] [db.go:596] ["Compaction finished"] [2024/05/06 09:30:05.325 +00:00] [INFO] [db.go:615] ["BlobManager finished"] [2024/05/06 09:30:05.325 +00:00] [INFO] [db.go:619] ["ResourceManager finished"] [2024/05/06 09:30:05.325 +00:00] [INFO] [db.go:625] ["Waiting for closer"] --- PASS: TestCreateTableIfNotExists (2.16s) === RUN TestChangingDBCharset [2024/05/06 09:30:05.340 +00:00] [INFO] [store_cache.go:510] ["change store resolve state"] [store=1] [addr=store1] [from=unresolved] [to=resolved] [liveness-state=reachable] [2024/05/06 09:30:05.341 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 09:30:05.341 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 09:30:05.341 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 09:30:05.341 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 09:30:05.342 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 09:30:05.344 +00:00] [INFO] [tidb.go:80] ["new domain"] [store=da5177d1-1265-48c2-83a1-fa05713417fb] ["ddl lease"=500ms] ["stats lease"=-1ns] [2024/05/06 09:30:05.351 +00:00] [WARN] [runaway.go:462] ["cannot setup up resource controller, not using tikv storage"] [2024/05/06 09:30:05.351 +00:00] [WARN] [domain.go:245] ["failed to get schema version"] [error="There is no Write MVCC info for the schema version"] [errorVerbose="There is no Write MVCC info for the schema version\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:335\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:242\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:606\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init\n\tpkg/domain/domain.go:1260\ngithub.com/pingcap/tidb/pkg/session.(*domainMap).Get.func1\n\tpkg/session/tidb.go:92\ngithub.com/pingcap/tidb/pkg/util.RunWithRetry\n\tpkg/util/misc.go:70\ngithub.com/pingcap/tidb/pkg/session.(*domainMap).Get\n\tpkg/session/tidb.go:79\ngithub.com/pingcap/tidb/pkg/session.createSessionWithOpt\n\tpkg/session/session.go:3620\ngithub.com/pingcap/tidb/pkg/session.createSession\n\tpkg/session/session.go:3612\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3562\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3346\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3312\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:294\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomain\n\tpkg/testkit/mockstore.go:265\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStore\n\tpkg/testkit/mockstore.go:72\ngithub.com/pingcap/tidb/pkg/ddl_test.TestChangingDBCharset\n\tpkg/ddl/db_integration_test.go:1670\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=0] [2024/05/06 09:30:05.356 +00:00] [INFO] [domain.go:315] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=0] ["start time"=4.008421ms] [2024/05/06 09:30:05.356 +00:00] [INFO] [domain.go:635] ["full load and reset schema validator"] [2024/05/06 09:30:05.356 +00:00] [INFO] [ddl.go:818] ["start DDL"] [category=ddl] [ID=4d2e952c-a35d-4f1f-b78b-d257ea517f32] [runWorker=true] [2024/05/06 09:30:05.356 +00:00] [INFO] [ddl.go:777] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=true] [2024/05/06 09:30:05.356 +00:00] [WARN] [env.go:51] ["initialize environment failed"] [category=ddl-ingest] ["storage limitation"="only support TiKV storage"] ["current storage"=unistore] ["lightning is initialized"=false] [2024/05/06 09:30:05.356 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2024/05/06 09:30:05.356 +00:00] [INFO] [delete_range.go:172] ["start delRange emulator"] [category=ddl] [2024/05/06 09:30:05.356 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=mdlCheckLoop] [2024/05/06 09:30:05.356 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2024/05/06 09:30:05.356 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2024/05/06 09:30:05.356 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/06 09:30:05.356 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayStartLoop] [2024/05/06 09:30:05.356 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/06 09:30:05.356 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2024/05/06 09:30:05.356 +00:00] [WARN] [domain.go:1326] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/06 09:30:05.356 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/06 09:30:05.357 +00:00] [INFO] [runaway.go:149] ["try to start runaway manager loop"] [2024/05/06 09:30:05.357 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/06 09:30:05.357 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=0] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS test"] [user=] [2024/05/06 09:30:05.361 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:30:05.359 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:05.361 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:30:05.359 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE DATABASE IF NOT EXISTS test"] [2024/05/06 09:30:05.408 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/06 09:30:05.408 +00:00] [INFO] [job_table.go:349] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2024/05/06 09:30:05.415 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=3] [category=ddl] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:05.359 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:05.420 +00:00] [INFO] [domain.go:315] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=1] ["start time"=2.962694ms] [2024/05/06 09:30:05.421 +00:00] [INFO] [domain.go:635] ["full load and reset schema validator"] [2024/05/06 09:30:05.422 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:05.422 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=3] [version=1] [2024/05/06 09:30:05.424 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=1] ["take time"=6.275915ms] [job="ID:3, Type:create schema, State:done, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:30:05.359 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:05.432 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=3] [job="ID:3, Type:create schema, State:synced, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:05.359 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:05.436 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=3] [2024/05/06 09:30:05.436 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:05.436 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS `mysql`"] [user=] [2024/05/06 09:30:05.437 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.user (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tauthentication_string\tTEXT,\n\t\tplugin\t\t\t\t\tCHAR(64),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tProcess_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_db_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tSuper_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_user_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_slave_priv\t \tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_client_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_role_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_role_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAccount_locked\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShutdown_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReload_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tFILE_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tConfig_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_reuse_history smallint unsigned DEFAULT NULL,\n\t\tPassword_reuse_time smallint unsigned DEFAULT NULL,\n\t\tUser_attributes\t\t\tjson,\n\t\tToken_issuer\t\t\tVARCHAR(255),\n\t\tPassword_expired\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_last_changed\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP(),\n\t\tPassword_lifetime\t\tSMALLINT UNSIGNED DEFAULT NULL,\n\t\tPRIMARY KEY (Host, User));"] [user=] [2024/05/06 09:30:05.444 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:05.439 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:05.444 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:05.439 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.user (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tauthentication_string\tTEXT,\n\t\tplugin\t\t\t\t\tCHAR(64),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tProcess_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_db_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tSuper_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_user_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_slave_priv\t \tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_client_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_role_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_role_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAccount_locked\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShutdown_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReload_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tFILE_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tConfig_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_reuse_history smallint unsigned DEFAULT NULL,\n\t\tPassword_reuse_time smallint unsigned DEFAULT NULL,\n\t\tUser_attributes\t\t\tjson,\n\t\tToken_issuer\t\t\tVARCHAR(255),\n\t\tPassword_expired\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_last_changed\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP(),\n\t\tPassword_lifetime\t\tSMALLINT UNSIGNED DEFAULT NULL,\n\t\tPRIMARY KEY (Host, User));"] [2024/05/06 09:30:05.455 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=5] [category=ddl] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:05.439 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:05.468 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=1] [neededSchemaVersion=2] ["start time"=1.770785ms] [gotSchemaVersion=2] [phyTblIDs="[4]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:05.472 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:05.472 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=5] [version=2] [2024/05/06 09:30:05.478 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=2] ["take time"=11.863573ms] [job="ID:5, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:05.439 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:05.490 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=5] [job="ID:5, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:05.439 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:05.499 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=5] [2024/05/06 09:30:05.499 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:05.499 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 09:30:05.500 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=2] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.password_history (\n Host char(255) NOT NULL DEFAULT '',\n User char(32) NOT NULL DEFAULT '',\n Password_timestamp timestamp(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n Password text,\n PRIMARY KEY (Host,User,Password_timestamp )\n ) COMMENT='Password history for user accounts' "] [user=] [2024/05/06 09:30:05.504 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:05.502 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:05.504 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:05.502 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.password_history (\n Host char(255) NOT NULL DEFAULT '',\n User char(32) NOT NULL DEFAULT '',\n Password_timestamp timestamp(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n Password text,\n PRIMARY KEY (Host,User,Password_timestamp )\n ) COMMENT='Password history for user accounts' "] [2024/05/06 09:30:05.516 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=7] [category=ddl] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:05.502 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:05.520 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=2] [neededSchemaVersion=3] ["start time"=351.891µs] [gotSchemaVersion=3] [phyTblIDs="[6]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:05.522 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:05.522 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=7] [version=3] [2024/05/06 09:30:05.524 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=3] ["take time"=4.57459ms] [job="ID:7, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:05.502 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:05.536 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=7] [job="ID:7, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:05.502 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:05.542 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=7] [2024/05/06 09:30:05.542 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:05.542 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 09:30:05.542 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=3] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.global_priv (Host CHAR(255) NOT NULL DEFAULT '',User CHAR(80) NOT NULL DEFAULT '',Priv LONGTEXT NOT NULL DEFAULT '',PRIMARY KEY (Host, User))"] [user=] [2024/05/06 09:30:05.547 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:05.545 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:05.547 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:05.545 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.global_priv (Host CHAR(255) NOT NULL DEFAULT '',User CHAR(80) NOT NULL DEFAULT '',Priv LONGTEXT NOT NULL DEFAULT '',PRIMARY KEY (Host, User))"] [2024/05/06 09:30:05.563 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=9] [category=ddl] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:05.545 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:05.575 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=3] [neededSchemaVersion=4] ["start time"=329.589µs] [gotSchemaVersion=4] [phyTblIDs="[8]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:05.577 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:05.577 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=9] [version=4] [2024/05/06 09:30:05.579 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=4] ["take time"=4.531253ms] [job="ID:9, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:05.545 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:05.586 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=9] [job="ID:9, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:05.545 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:05.590 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=9] [2024/05/06 09:30:05.590 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:05.591 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=4] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.db (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tDB\t\t\t\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv \t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (Host, DB, User));"] [user=] [2024/05/06 09:30:05.597 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:05.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:05.597 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:05.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.db (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tDB\t\t\t\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv \t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (Host, DB, User));"] [2024/05/06 09:30:05.607 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=11] [category=ddl] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:05.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:05.615 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=4] [neededSchemaVersion=5] ["start time"=834.961µs] [gotSchemaVersion=5] [phyTblIDs="[10]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:05.616 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:05.616 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=11] [version=5] [2024/05/06 09:30:05.618 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=5] ["take time"=4.066217ms] [job="ID:11, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:05.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:05.625 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=11] [job="ID:11, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:05.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:05.632 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=11] [2024/05/06 09:30:05.632 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:05.633 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=5] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tables_priv (\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tGrantor\t\tCHAR(77),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tTable_priv\tSET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'),\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name));"] [user=] [2024/05/06 09:30:05.637 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:05.635 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:05.637 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:05.635 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tables_priv (\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tGrantor\t\tCHAR(77),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tTable_priv\tSET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'),\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name));"] [2024/05/06 09:30:05.647 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=13] [category=ddl] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:05.635 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:05.652 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=5] [neededSchemaVersion=6] ["start time"=358.835µs] [gotSchemaVersion=6] [phyTblIDs="[12]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:05.653 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:05.653 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=13] [version=6] [2024/05/06 09:30:05.654 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=6] ["take time"=2.235487ms] [job="ID:13, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:05.635 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:05.662 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=13] [job="ID:13, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:05.635 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:05.675 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=13] [2024/05/06 09:30:05.675 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:05.675 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=6] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.columns_priv(\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tColumn_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name, Column_name));"] [user=] [2024/05/06 09:30:05.683 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:05.681 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:05.683 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:05.681 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.columns_priv(\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tColumn_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name, Column_name));"] [2024/05/06 09:30:05.693 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=15] [category=ddl] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:05.681 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:05.697 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=7] ["start time"=321.851µs] [gotSchemaVersion=7] [phyTblIDs="[14]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:05.699 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:05.699 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=15] [version=7] [2024/05/06 09:30:05.700 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=7] ["take time"=3.269417ms] [job="ID:15, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:05.681 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:05.711 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=15] [job="ID:15, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:05.681 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:05.715 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=15] [2024/05/06 09:30:05.715 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:05.715 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=7] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.GLOBAL_VARIABLES(\n\t\tVARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE VARCHAR(16383) DEFAULT NULL);"] [user=] [2024/05/06 09:30:05.723 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:05.719 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:05.723 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:05.719 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.GLOBAL_VARIABLES(\n\t\tVARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE VARCHAR(16383) DEFAULT NULL);"] [2024/05/06 09:30:05.738 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=17] [category=ddl] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:05.719 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:05.742 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=7] [neededSchemaVersion=8] ["start time"=188.729µs] [gotSchemaVersion=8] [phyTblIDs="[16]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:05.743 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:05.743 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=17] [version=8] [2024/05/06 09:30:05.744 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=8] ["take time"=2.348661ms] [job="ID:17, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:05.719 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:05.750 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=17] [job="ID:17, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:05.719 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:05.753 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=17] [2024/05/06 09:30:05.753 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:05.754 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=8] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb(\n\t\tVARIABLE_NAME \tVARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE \tVARCHAR(1024) DEFAULT NULL,\n\t\tCOMMENT \t\tVARCHAR(1024));"] [user=] [2024/05/06 09:30:05.757 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:05.755 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:05.757 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:05.755 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb(\n\t\tVARIABLE_NAME \tVARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE \tVARCHAR(1024) DEFAULT NULL,\n\t\tCOMMENT \t\tVARCHAR(1024));"] [2024/05/06 09:30:05.770 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=19] [category=ddl] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:05.755 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:05.779 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=8] [neededSchemaVersion=9] ["start time"=212.343µs] [gotSchemaVersion=9] [phyTblIDs="[18]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:05.780 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:05.780 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=19] [version=9] [2024/05/06 09:30:05.781 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=9] ["take time"=2.588023ms] [job="ID:19, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:05.755 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:05.787 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=19] [job="ID:19, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:05.755 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:05.791 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=19] [2024/05/06 09:30:05.792 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:05.792 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=9] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.help_topic (\n \t\thelp_topic_id \t\tINT(10) UNSIGNED NOT NULL,\n \t\tname \t\t\t\tCHAR(64) NOT NULL,\n \t\thelp_category_id \tSMALLINT(5) UNSIGNED NOT NULL,\n \t\tdescription \t\tTEXT NOT NULL,\n \t\texample \t\t\tTEXT NOT NULL,\n \t\turl \t\t\t\tTEXT NOT NULL,\n \t\tPRIMARY KEY (help_topic_id) clustered,\n \t\tUNIQUE KEY name (name)\n\t\t) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] [user=] [2024/05/06 09:30:05.804 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:05.803 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:05.804 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:05.803 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.help_topic (\n \t\thelp_topic_id \t\tINT(10) UNSIGNED NOT NULL,\n \t\tname \t\t\t\tCHAR(64) NOT NULL,\n \t\thelp_category_id \tSMALLINT(5) UNSIGNED NOT NULL,\n \t\tdescription \t\tTEXT NOT NULL,\n \t\texample \t\t\tTEXT NOT NULL,\n \t\turl \t\t\t\tTEXT NOT NULL,\n \t\tPRIMARY KEY (help_topic_id) clustered,\n \t\tUNIQUE KEY name (name)\n\t\t) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] [2024/05/06 09:30:05.811 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=21] [category=ddl] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:05.803 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:05.814 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=9] [neededSchemaVersion=10] ["start time"=281.914µs] [gotSchemaVersion=10] [phyTblIDs="[20]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:05.815 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:05.815 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=21] [version=10] [2024/05/06 09:30:05.817 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=10] ["take time"=3.489491ms] [job="ID:21, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:05.803 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:05.826 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=21] [job="ID:21, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:05.803 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:05.830 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=21] [2024/05/06 09:30:05.830 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:05.830 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 09:30:05.830 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 09:30:05.830 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 09:30:05.830 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=10] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_meta (\n\t\tversion \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\ttable_id \t\tBIGINT(64) NOT NULL,\n\t\tmodify_count\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcount \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tsnapshot BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tINDEX idx_ver(version),\n\t\tUNIQUE INDEX tbl(table_id)\n\t);"] [user=] [2024/05/06 09:30:05.833 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:05.832 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:05.834 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:05.832 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_meta (\n\t\tversion \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\ttable_id \t\tBIGINT(64) NOT NULL,\n\t\tmodify_count\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcount \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tsnapshot BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tINDEX idx_ver(version),\n\t\tUNIQUE INDEX tbl(table_id)\n\t);"] [2024/05/06 09:30:05.841 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=23] [category=ddl] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:05.832 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:05.844 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=10] [neededSchemaVersion=11] ["start time"=467.977µs] [gotSchemaVersion=11] [phyTblIDs="[22]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:05.846 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:05.846 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=23] [version=11] [2024/05/06 09:30:05.848 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=11] ["take time"=4.682867ms] [job="ID:23, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:05.832 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:05.853 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=23] [job="ID:23, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:05.832 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:05.858 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=23] [2024/05/06 09:30:05.858 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:05.859 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=11] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_histograms (\n\t\ttable_id \t\t\tBIGINT(64) NOT NULL,\n\t\tis_index \t\t\tTINYINT(2) NOT NULL,\n\t\thist_id \t\t\tBIGINT(64) NOT NULL,\n\t\tdistinct_count \t\tBIGINT(64) NOT NULL,\n\t\tnull_count \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\ttot_col_size \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tmodify_count \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tversion \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tcm_sketch \t\t\tBLOB(6291456),\n\t\tstats_ver \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tflag \t\t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcorrelation \t\tDOUBLE NOT NULL DEFAULT 0,\n\t\tlast_analyze_pos \tLONGBLOB DEFAULT NULL,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] [2024/05/06 09:30:05.859 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(6291456) to MEDIUMBLOB"] [category=ddl] [2024/05/06 09:30:05.864 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:05.862 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:05.864 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:05.862 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_histograms (\n\t\ttable_id \t\t\tBIGINT(64) NOT NULL,\n\t\tis_index \t\t\tTINYINT(2) NOT NULL,\n\t\thist_id \t\t\tBIGINT(64) NOT NULL,\n\t\tdistinct_count \t\tBIGINT(64) NOT NULL,\n\t\tnull_count \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\ttot_col_size \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tmodify_count \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tversion \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tcm_sketch \t\t\tBLOB(6291456),\n\t\tstats_ver \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tflag \t\t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcorrelation \t\tDOUBLE NOT NULL DEFAULT 0,\n\t\tlast_analyze_pos \tLONGBLOB DEFAULT NULL,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id)\n\t);"] [2024/05/06 09:30:05.879 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=25] [category=ddl] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:05.862 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:05.886 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=11] [neededSchemaVersion=12] ["start time"=638.289µs] [gotSchemaVersion=12] [phyTblIDs="[24]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:05.888 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:05.888 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=25] [version=12] [2024/05/06 09:30:05.889 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=12] ["take time"=4.450852ms] [job="ID:25, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:05.862 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:05.898 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=25] [job="ID:25, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:05.862 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:05.906 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=25] [2024/05/06 09:30:05.906 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:05.907 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=12] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_buckets (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tbucket_id \tBIGINT(64) NOT NULL,\n\t\tcount \t\tBIGINT(64) NOT NULL,\n\t\trepeats \tBIGINT(64) NOT NULL,\n\t\tupper_bound LONGBLOB NOT NULL,\n\t\tlower_bound LONGBLOB ,\n\t\tndv BIGINT NOT NULL DEFAULT 0,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id)\n\t);"] [user=] [2024/05/06 09:30:05.912 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:05.909 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:05.912 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:05.909 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_buckets (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tbucket_id \tBIGINT(64) NOT NULL,\n\t\tcount \t\tBIGINT(64) NOT NULL,\n\t\trepeats \tBIGINT(64) NOT NULL,\n\t\tupper_bound LONGBLOB NOT NULL,\n\t\tlower_bound LONGBLOB ,\n\t\tndv BIGINT NOT NULL DEFAULT 0,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id)\n\t);"] [2024/05/06 09:30:05.922 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=27] [category=ddl] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:05.909 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:05.929 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=12] [neededSchemaVersion=13] ["start time"=482.609µs] [gotSchemaVersion=13] [phyTblIDs="[26]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:05.931 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:05.931 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=27] [version=13] [2024/05/06 09:30:05.933 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=13] ["take time"=4.667673ms] [job="ID:27, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:05.909 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:05.941 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=27] [job="ID:27, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:05.909 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:05.947 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=27] [2024/05/06 09:30:05.947 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:05.948 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=13] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_index (job_id, element_id)\n\t);"] [user=] [2024/05/06 09:30:05.952 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:05.95 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:05.952 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:05.95 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_index (job_id, element_id)\n\t);"] [2024/05/06 09:30:05.962 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=29] [category=ddl] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:05.95 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:05.970 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=13] [neededSchemaVersion=14] ["start time"=335.675µs] [gotSchemaVersion=14] [phyTblIDs="[28]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:05.972 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:05.972 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=29] [version=14] [2024/05/06 09:30:05.973 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=14] ["take time"=4.03872ms] [job="ID:29, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:05.95 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:05.987 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=29] [job="ID:29, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:05.95 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:05.995 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=29] [2024/05/06 09:30:05.995 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:05.996 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=14] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_done_index (job_id, element_id)\n\t);"] [user=] [2024/05/06 09:30:06.005 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:06.003 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:06.005 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:06.003 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_done_index (job_id, element_id)\n\t);"] [2024/05/06 09:30:06.019 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=31] [category=ddl] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:06.003 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:06.026 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=14] [neededSchemaVersion=15] ["start time"=364.506µs] [gotSchemaVersion=15] [phyTblIDs="[30]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:06.027 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:06.027 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=31] [version=15] [2024/05/06 09:30:06.029 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=15] ["take time"=4.252676ms] [job="ID:31, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:06.003 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:06.036 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=31] [job="ID:31, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:06.003 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:06.041 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=31] [2024/05/06 09:30:06.041 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:06.042 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=15] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_feedback (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tfeedback \tBLOB NOT NULL,\n\t\tINDEX hist(table_id, is_index, hist_id)\n\t);"] [user=] [2024/05/06 09:30:06.045 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:06.044 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:06.045 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:06.044 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_feedback (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tfeedback \tBLOB NOT NULL,\n\t\tINDEX hist(table_id, is_index, hist_id)\n\t);"] [2024/05/06 09:30:06.056 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=33] [category=ddl] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:06.044 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:06.061 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=15] [neededSchemaVersion=16] ["start time"=419.288µs] [gotSchemaVersion=16] [phyTblIDs="[32]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:06.067 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:06.067 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=33] [version=16] [2024/05/06 09:30:06.070 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=16] ["take time"=9.722275ms] [job="ID:33, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:06.044 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:06.079 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=33] [job="ID:33, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:06.044 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:06.084 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=33] [2024/05/06 09:30:06.084 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:06.085 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=16] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.role_edges (\n\t\tFROM_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tFROM_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tWITH_ADMIN_OPTION \tENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER)\n\t);"] [user=] [2024/05/06 09:30:06.088 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:06.087 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:06.089 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:06.087 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.role_edges (\n\t\tFROM_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tFROM_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tWITH_ADMIN_OPTION \tENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER)\n\t);"] [2024/05/06 09:30:06.099 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=35] [category=ddl] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:06.087 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:06.103 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=16] [neededSchemaVersion=17] ["start time"=339.264µs] [gotSchemaVersion=17] [phyTblIDs="[34]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:06.105 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:06.105 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=35] [version=17] [2024/05/06 09:30:06.106 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=17] ["take time"=2.988836ms] [job="ID:35, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:06.087 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:06.113 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=35] [job="ID:35, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:06.087 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:06.118 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=35] [2024/05/06 09:30:06.118 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:06.119 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=17] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.default_roles (\n\t\tHOST \t\t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tUSER \t\t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tDEFAULT_ROLE_HOST \tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%',\n\t\tDEFAULT_ROLE_USER \tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tPRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER)\n\t)"] [user=] [2024/05/06 09:30:06.123 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:06.121 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:06.123 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:06.121 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.default_roles (\n\t\tHOST \t\t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tUSER \t\t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tDEFAULT_ROLE_HOST \tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%',\n\t\tDEFAULT_ROLE_USER \tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tPRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER)\n\t)"] [2024/05/06 09:30:06.136 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=37] [category=ddl] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:06.121 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:06.141 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=18] ["start time"=335.744µs] [gotSchemaVersion=18] [phyTblIDs="[36]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:06.142 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:06.142 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=37] [version=18] [2024/05/06 09:30:06.145 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=18] ["take time"=5.023498ms] [job="ID:37, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:06.121 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:06.152 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=37] [job="ID:37, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:06.121 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:06.157 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=37] [2024/05/06 09:30:06.157 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:06.157 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=18] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql TEXT NOT NULL,\n\t\tbind_sql TEXT NOT NULL,\n\t\tdefault_db TEXT NOT NULL,\n\t\tstatus TEXT NOT NULL,\n\t\tcreate_time TIMESTAMP(3) NOT NULL,\n\t\tupdate_time TIMESTAMP(3) NOT NULL,\n\t\tcharset TEXT NOT NULL,\n\t\tcollation TEXT NOT NULL,\n\t\tsource VARCHAR(10) NOT NULL DEFAULT 'unknown',\n\t\tsql_digest varchar(64),\n\t\tplan_digest varchar(64),\n\t\tINDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\",\n\t\tINDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2024/05/06 09:30:06.166 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:06.16 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:06.166 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:06.16 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql TEXT NOT NULL,\n\t\tbind_sql TEXT NOT NULL,\n\t\tdefault_db TEXT NOT NULL,\n\t\tstatus TEXT NOT NULL,\n\t\tcreate_time TIMESTAMP(3) NOT NULL,\n\t\tupdate_time TIMESTAMP(3) NOT NULL,\n\t\tcharset TEXT NOT NULL,\n\t\tcollation TEXT NOT NULL,\n\t\tsource VARCHAR(10) NOT NULL DEFAULT 'unknown',\n\t\tsql_digest varchar(64),\n\t\tplan_digest varchar(64),\n\t\tINDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\",\n\t\tINDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2024/05/06 09:30:06.183 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=39] [category=ddl] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:06.16 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:06.193 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=18] [neededSchemaVersion=19] ["start time"=382.282µs] [gotSchemaVersion=19] [phyTblIDs="[38]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:06.195 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:06.195 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=39] [version=19] [2024/05/06 09:30:06.196 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=19] ["take time"=2.848168ms] [job="ID:39, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:06.16 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:06.203 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=39] [job="ID:39, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:06.16 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:06.208 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=39] [2024/05/06 09:30:06.208 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:06.208 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 09:30:06.208 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 09:30:06.208 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 09:30:06.208 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 09:30:06.208 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 09:30:06.208 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 09:30:06.210 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=19] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_top_n (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tcount \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] [2024/05/06 09:30:06.214 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:06.212 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:06.214 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:06.212 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_top_n (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tcount \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [2024/05/06 09:30:06.227 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=41] [category=ddl] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:06.212 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:06.231 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=19] [neededSchemaVersion=20] ["start time"=439.667µs] [gotSchemaVersion=20] [phyTblIDs="[40]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:06.233 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:06.233 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=41] [version=20] [2024/05/06 09:30:06.236 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=20] ["take time"=4.792034ms] [job="ID:41, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:06.212 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:06.247 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=41] [job="ID:41, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:06.212 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:06.253 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=41] [2024/05/06 09:30:06.253 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:06.254 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=20] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.expr_pushdown_blacklist (\n\t\tname \t\tCHAR(100) NOT NULL,\n\t\tstore_type \tCHAR(100) NOT NULL DEFAULT 'tikv,tiflash,tidb',\n\t\treason \t\tVARCHAR(200)\n\t);"] [user=] [2024/05/06 09:30:06.259 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:06.257 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:06.259 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:06.257 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.expr_pushdown_blacklist (\n\t\tname \t\tCHAR(100) NOT NULL,\n\t\tstore_type \tCHAR(100) NOT NULL DEFAULT 'tikv,tiflash,tidb',\n\t\treason \t\tVARCHAR(200)\n\t);"] [2024/05/06 09:30:06.280 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=43] [category=ddl] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:06.257 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:06.284 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=20] [neededSchemaVersion=21] ["start time"=270.227µs] [gotSchemaVersion=21] [phyTblIDs="[42]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:06.285 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:06.285 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=43] [version=21] [2024/05/06 09:30:06.286 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=21] ["take time"=2.417729ms] [job="ID:43, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:06.257 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:06.298 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=43] [job="ID:43, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:06.257 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:06.303 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=43] [2024/05/06 09:30:06.303 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:06.303 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=21] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] [user=] [2024/05/06 09:30:06.307 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:06.305 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:06.307 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:06.305 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] [2024/05/06 09:30:06.314 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=45] [category=ddl] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:06.305 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:06.318 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=21] [neededSchemaVersion=22] ["start time"=298.669µs] [gotSchemaVersion=22] [phyTblIDs="[44]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:06.319 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:06.319 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=45] [version=22] [2024/05/06 09:30:06.322 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=22] ["take time"=4.790078ms] [job="ID:45, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:06.305 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:06.332 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=45] [job="ID:45, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:06.305 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:06.336 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=45] [2024/05/06 09:30:06.336 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:06.337 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=22] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_extended (\n\t\tname varchar(32) NOT NULL,\n\t\ttype tinyint(4) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcolumn_ids varchar(32) NOT NULL,\n\t\tstats blob DEFAULT NULL,\n\t\tversion bigint(64) unsigned NOT NULL,\n\t\tstatus tinyint(4) NOT NULL,\n\t\tPRIMARY KEY(name, table_id),\n\t\tKEY idx_1 (table_id, status, version),\n\t\tKEY idx_2 (status, version)\n\t);"] [user=] [2024/05/06 09:30:06.340 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:06.338 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:06.340 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:06.338 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_extended (\n\t\tname varchar(32) NOT NULL,\n\t\ttype tinyint(4) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcolumn_ids varchar(32) NOT NULL,\n\t\tstats blob DEFAULT NULL,\n\t\tversion bigint(64) unsigned NOT NULL,\n\t\tstatus tinyint(4) NOT NULL,\n\t\tPRIMARY KEY(name, table_id),\n\t\tKEY idx_1 (table_id, status, version),\n\t\tKEY idx_2 (status, version)\n\t);"] [2024/05/06 09:30:06.348 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=47] [category=ddl] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:06.338 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:06.353 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=22] [neededSchemaVersion=23] ["start time"=375.041µs] [gotSchemaVersion=23] [phyTblIDs="[46]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:06.355 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:06.355 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=47] [version=23] [2024/05/06 09:30:06.355 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=23] ["take time"=2.151488ms] [job="ID:47, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:06.338 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:06.357 +00:00] [ERROR] [misc.go:114] ["panic in the recoverable goroutine"] [label=domain] [funcInfo=runawayStartLoop] [r="runtime error: invalid memory address or nil pointer dereference"] [stack="github.com/pingcap/tidb/pkg/util.Recover\n\tpkg/util/misc.go:118\nruntime.gopanic\n\tGOROOT/src/runtime/panic.go:914\nruntime.panicmem\n\tGOROOT/src/runtime/panic.go:261\nruntime.sigpanic\n\tGOROOT/src/runtime/signal_unix.go:861\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).updateNewAndDoneWatch\n\tpkg/domain/runaway.go:175\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).runawayStartLoop\n\tpkg/domain/runaway.go:156\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:99"] [stack="github.com/pingcap/tidb/pkg/util.Recover\n\tpkg/util/misc.go:114\nruntime.gopanic\n\tGOROOT/src/runtime/panic.go:914\nruntime.panicmem\n\tGOROOT/src/runtime/panic.go:261\nruntime.sigpanic\n\tGOROOT/src/runtime/signal_unix.go:861\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).updateNewAndDoneWatch\n\tpkg/domain/runaway.go:175\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).runawayStartLoop\n\tpkg/domain/runaway.go:156\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:99"] [2024/05/06 09:30:06.357 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayStartLoop] [2024/05/06 09:30:06.369 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=47] [job="ID:47, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:06.338 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:06.378 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=47] [2024/05/06 09:30:06.378 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:06.379 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=23] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] [2024/05/06 09:30:06.383 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:06.381 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:06.383 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:06.381 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [2024/05/06 09:30:06.397 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=49] [category=ddl] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:06.381 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:06.401 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=23] [neededSchemaVersion=24] ["start time"=361.364µs] [gotSchemaVersion=24] [phyTblIDs="[48]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:06.403 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:06.403 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=49] [version=24] [2024/05/06 09:30:06.405 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=24] ["take time"=4.452757ms] [job="ID:49, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:06.381 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:06.421 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=49] [job="ID:49, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:06.381 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:06.426 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=49] [2024/05/06 09:30:06.426 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:06.426 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=24] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.global_grants (\n\t\tUSER char(32) NOT NULL DEFAULT '',\n\t\tHOST char(255) NOT NULL DEFAULT '',\n\t\tPRIV char(32) NOT NULL DEFAULT '',\n\t\tWITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (USER,HOST,PRIV)\n\t);"] [user=] [2024/05/06 09:30:06.430 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:06.428 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:06.430 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:06.428 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.global_grants (\n\t\tUSER char(32) NOT NULL DEFAULT '',\n\t\tHOST char(255) NOT NULL DEFAULT '',\n\t\tPRIV char(32) NOT NULL DEFAULT '',\n\t\tWITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (USER,HOST,PRIV)\n\t);"] [2024/05/06 09:30:06.439 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=51] [category=ddl] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:06.428 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:06.442 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=24] [neededSchemaVersion=25] ["start time"=262.604µs] [gotSchemaVersion=25] [phyTblIDs="[50]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:06.443 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:06.443 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=51] [version=25] [2024/05/06 09:30:06.444 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=25] ["take time"=2.068876ms] [job="ID:51, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:06.428 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:06.452 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=51] [job="ID:51, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:06.428 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:06.455 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=51] [2024/05/06 09:30:06.455 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:06.456 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=25] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist (\n\t\tid bigint(64) auto_increment,\n\t\tfilter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\",\n\t\tfilter_value varchar(32) NOT NULL,\n\t\tkey idx(filter_type),\n\t\tprimary key(id)\n\t);"] [user=] [2024/05/06 09:30:06.460 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:06.458 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:06.460 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:06.458 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist (\n\t\tid bigint(64) auto_increment,\n\t\tfilter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\",\n\t\tfilter_value varchar(32) NOT NULL,\n\t\tkey idx(filter_type),\n\t\tprimary key(id)\n\t);"] [2024/05/06 09:30:06.482 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=53] [category=ddl] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:06.458 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:06.487 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=25] [neededSchemaVersion=26] ["start time"=405.904µs] [gotSchemaVersion=26] [phyTblIDs="[52]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:06.488 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:06.488 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=53] [version=26] [2024/05/06 09:30:06.490 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=26] ["take time"=4.387765ms] [job="ID:53, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:06.458 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:06.501 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=53] [job="ID:53, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:06.458 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:06.507 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=53] [2024/05/06 09:30:06.507 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:06.507 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=26] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.column_stats_usage (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tcolumn_id BIGINT(64) NOT NULL,\n\t\tlast_used_at TIMESTAMP,\n\t\tlast_analyzed_at TIMESTAMP,\n\t\tPRIMARY KEY (table_id, column_id) CLUSTERED\n\t);"] [user=] [2024/05/06 09:30:06.511 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:06.509 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:06.512 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:06.509 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.column_stats_usage (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tcolumn_id BIGINT(64) NOT NULL,\n\t\tlast_used_at TIMESTAMP,\n\t\tlast_analyzed_at TIMESTAMP,\n\t\tPRIMARY KEY (table_id, column_id) CLUSTERED\n\t);"] [2024/05/06 09:30:06.525 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=55] [category=ddl] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:06.509 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:06.529 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=26] [neededSchemaVersion=27] ["start time"=339.076µs] [gotSchemaVersion=27] [phyTblIDs="[54]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:06.531 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:06.531 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=55] [version=27] [2024/05/06 09:30:06.533 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=27] ["take time"=4.332707ms] [job="ID:55, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:06.509 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:06.544 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=55] [job="ID:55, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:06.509 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:06.548 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=55] [2024/05/06 09:30:06.548 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:06.549 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=27] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.table_cache_meta (\n\t\ttid bigint(11) NOT NULL DEFAULT 0,\n\t\tlock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE',\n\t\tlease bigint(20) NOT NULL DEFAULT 0,\n\t\toldReadLease bigint(20) NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (tid)\n\t);"] [user=] [2024/05/06 09:30:06.556 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:06.554 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:06.556 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:06.554 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.table_cache_meta (\n\t\ttid bigint(11) NOT NULL DEFAULT 0,\n\t\tlock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE',\n\t\tlease bigint(20) NOT NULL DEFAULT 0,\n\t\toldReadLease bigint(20) NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (tid)\n\t);"] [2024/05/06 09:30:06.576 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=57] [category=ddl] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:06.554 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:06.579 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=27] [neededSchemaVersion=28] ["start time"=253.123µs] [gotSchemaVersion=28] [phyTblIDs="[56]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:06.580 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:06.580 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=57] [version=28] [2024/05/06 09:30:06.581 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=28] ["take time"=2.726289ms] [job="ID:57, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:06.554 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:06.588 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=57] [job="ID:57, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:06.554 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:06.591 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=57] [2024/05/06 09:30:06.591 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:06.591 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=28] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_options (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tsample_num BIGINT(64) NOT NULL DEFAULT 0,\n\t\tsample_rate DOUBLE NOT NULL DEFAULT -1,\n\t\tbuckets BIGINT(64) NOT NULL DEFAULT 0,\n\t\ttopn BIGINT(64) NOT NULL DEFAULT -1,\n\t\tcolumn_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT',\n\t\tcolumn_ids TEXT(19372),\n\t\tPRIMARY KEY (table_id) CLUSTERED\n\t);"] [user=] [2024/05/06 09:30:06.591 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(19372) to MEDIUMBLOB"] [category=ddl] [2024/05/06 09:30:06.596 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:06.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:06.596 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:06.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.analyze_options (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tsample_num BIGINT(64) NOT NULL DEFAULT 0,\n\t\tsample_rate DOUBLE NOT NULL DEFAULT -1,\n\t\tbuckets BIGINT(64) NOT NULL DEFAULT 0,\n\t\ttopn BIGINT(64) NOT NULL DEFAULT -1,\n\t\tcolumn_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT',\n\t\tcolumn_ids TEXT(19372),\n\t\tPRIMARY KEY (table_id) CLUSTERED\n\t);"] [2024/05/06 09:30:06.605 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=59] [category=ddl] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:06.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:06.610 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=28] [neededSchemaVersion=29] ["start time"=422.392µs] [gotSchemaVersion=29] [phyTblIDs="[58]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:06.612 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:06.612 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=59] [version=29] [2024/05/06 09:30:06.613 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=29] ["take time"=4.502917ms] [job="ID:59, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:06.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:06.619 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=59] [job="ID:59, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:06.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:06.623 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=59] [2024/05/06 09:30:06.623 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:06.624 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=29] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tstats_data longblob NOT NULL,\n\t\tseq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice',\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version_seq (table_id, version, seq_no),\n\t\tKEY table_create_time (table_id, create_time, seq_no),\n \tKEY idx_create_time (create_time)\n\t);"] [user=] [2024/05/06 09:30:06.628 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:06.626 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:06.628 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:06.626 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tstats_data longblob NOT NULL,\n\t\tseq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice',\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version_seq (table_id, version, seq_no),\n\t\tKEY table_create_time (table_id, create_time, seq_no),\n \tKEY idx_create_time (create_time)\n\t);"] [2024/05/06 09:30:06.639 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=61] [category=ddl] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:06.626 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:06.644 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=29] [neededSchemaVersion=30] ["start time"=419.701µs] [gotSchemaVersion=30] [phyTblIDs="[60]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:06.645 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:06.645 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=61] [version=30] [2024/05/06 09:30:06.647 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=30] ["take time"=4.090996ms] [job="ID:61, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:06.626 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:06.655 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=61] [job="ID:61, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:06.626 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:06.659 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=61] [2024/05/06 09:30:06.659 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:06.660 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=30] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_meta_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL,\n\t\tcount bigint(64) NOT NULL,\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n \tsource varchar(40) NOT NULL,\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version (table_id, version),\n\t\tKEY table_create_time (table_id, create_time),\n \tKEY idx_create_time (create_time)\n\t);"] [user=] [2024/05/06 09:30:06.664 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:06.662 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:06.664 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:06.662 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_meta_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL,\n\t\tcount bigint(64) NOT NULL,\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n \tsource varchar(40) NOT NULL,\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version (table_id, version),\n\t\tKEY table_create_time (table_id, create_time),\n \tKEY idx_create_time (create_time)\n\t);"] [2024/05/06 09:30:06.682 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=63] [category=ddl] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:06.662 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:06.688 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=30] [neededSchemaVersion=31] ["start time"=442.147µs] [gotSchemaVersion=31] [phyTblIDs="[62]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:06.689 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:06.689 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=63] [version=31] [2024/05/06 09:30:06.694 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=31] ["take time"=7.15865ms] [job="ID:63, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:06.662 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:06.704 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=63] [job="ID:63, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:06.662 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:06.709 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=63] [2024/05/06 09:30:06.709 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:06.710 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=31] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_jobs (\n\t\tid BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\ttable_schema CHAR(64) NOT NULL DEFAULT '',\n\t\ttable_name CHAR(64) NOT NULL DEFAULT '',\n\t\tpartition_name CHAR(64) NOT NULL DEFAULT '',\n\t\tjob_info TEXT NOT NULL,\n\t\tprocessed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tstart_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tstate ENUM('pending', 'running', 'finished', 'failed') NOT NULL,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job',\n\t\tprocess_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job',\n\t\tPRIMARY KEY (id),\n\t\tKEY (update_time)\n\t);"] [user=] [2024/05/06 09:30:06.715 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:06.712 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:06.715 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:06.712 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.analyze_jobs (\n\t\tid BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\ttable_schema CHAR(64) NOT NULL DEFAULT '',\n\t\ttable_name CHAR(64) NOT NULL DEFAULT '',\n\t\tpartition_name CHAR(64) NOT NULL DEFAULT '',\n\t\tjob_info TEXT NOT NULL,\n\t\tprocessed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tstart_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tstate ENUM('pending', 'running', 'finished', 'failed') NOT NULL,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job',\n\t\tprocess_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job',\n\t\tPRIMARY KEY (id),\n\t\tKEY (update_time)\n\t);"] [2024/05/06 09:30:06.731 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=65] [category=ddl] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:06.712 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:06.737 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=31] [neededSchemaVersion=32] ["start time"=608.353µs] [gotSchemaVersion=32] [phyTblIDs="[64]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:06.739 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:06.739 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=65] [version=32] [2024/05/06 09:30:06.741 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=32] ["take time"=4.417623ms] [job="ID:65, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:06.712 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:06.748 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=65] [job="ID:65, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:06.712 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:06.754 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=65] [2024/05/06 09:30:06.754 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:06.754 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 09:30:06.754 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 09:30:06.754 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=32] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] [user=] [2024/05/06 09:30:06.759 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:06.756 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:06.759 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:06.756 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] [2024/05/06 09:30:06.777 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=67] [category=ddl] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:06.756 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:06.781 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=271.042µs] [gotSchemaVersion=33] [phyTblIDs="[66]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:06.783 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:06.783 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=67] [version=33] [2024/05/06 09:30:06.785 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=33] ["take time"=4.458238ms] [job="ID:67, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:06.756 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:06.792 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=67] [job="ID:67, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:06.756 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:06.796 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=67] [2024/05/06 09:30:06.796 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:06.800 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2024-05-06 09:30:06.798 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:06.800 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2024-05-06 09:30:06.798 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE OR REPLACE VIEW mysql.tidb_mdl_view as (\n\t\tSELECT tidb_mdl_info.job_id,\n\t\t\tJSON_UNQUOTE(JSON_EXTRACT(cast(cast(job_meta as char) as json), \"$.schema_name\")) as db_name,\n\t\t\tJSON_UNQUOTE(JSON_EXTRACT(cast(cast(job_meta as char) as json), \"$.table_name\")) as table_name,\n\t\t\tJSON_UNQUOTE(JSON_EXTRACT(cast(cast(job_meta as char) as json), \"$.query\")) as query,\n\t\t\tsession_id,\n\t\t\tcluster_tidb_trx.start_time,\n\t\t\ttidb_decode_sql_digests(all_sql_digests, 4096) AS SQL_DIGESTS\n\t\tFROM mysql.tidb_ddl_job,\n\t\t\tmysql.tidb_mdl_info,\n\t\t\tinformation_schema.cluster_tidb_trx\n\t\tWHERE tidb_ddl_job.job_id=tidb_mdl_info.job_id\n\t\t\tAND CONCAT(',', tidb_mdl_info.table_ids, ',') REGEXP CONCAT(',', REPLACE(cluster_tidb_trx.related_table_ids, ',', '|'), ',') != 0\n\t);"] [2024/05/06 09:30:06.813 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=69] [category=ddl] [job="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:06.798 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:06.821 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=33] [neededSchemaVersion=34] ["start time"=334.769µs] [gotSchemaVersion=34] [phyTblIDs="[68]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2024/05/06 09:30:06.822 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:06.822 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=69] [version=34] [2024/05/06 09:30:06.822 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=34] ["take time"=2.014305ms] [job="ID:69, Type:create view, State:done, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2024-05-06 09:30:06.798 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:06.828 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=69] [job="ID:69, Type:create view, State:synced, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:06.798 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:06.833 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=69] [2024/05/06 09:30:06.833 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:06.834 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=34] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_status (\n\t\tsql_digest VARCHAR(128),\n\t\tplan_digest VARCHAR(128),\n\t\torigin_sql TEXT,\n\t\ttoken VARCHAR(128),\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the plan replayer job');"] [user=] [2024/05/06 09:30:06.838 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:06.836 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:06.838 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:06.836 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_status (\n\t\tsql_digest VARCHAR(128),\n\t\tplan_digest VARCHAR(128),\n\t\torigin_sql TEXT,\n\t\ttoken VARCHAR(128),\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the plan replayer job');"] [2024/05/06 09:30:06.849 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=71] [category=ddl] [job="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:06.836 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:06.854 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=34] [neededSchemaVersion=35] ["start time"=412.143µs] [gotSchemaVersion=35] [phyTblIDs="[70]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:06.855 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:06.855 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=71] [version=35] [2024/05/06 09:30:06.858 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=35] ["take time"=4.200469ms] [job="ID:71, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:06.836 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:06.880 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=71] [job="ID:71, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:06.836 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:06.885 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=71] [2024/05/06 09:30:06.885 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:06.885 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 09:30:06.885 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 09:30:06.885 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=35] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_task (\n\t\tsql_digest VARCHAR(128) NOT NULL,\n\t\tplan_digest VARCHAR(128) NOT NULL,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tPRIMARY KEY (sql_digest,plan_digest));"] [user=] [2024/05/06 09:30:06.889 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:06.887 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:06.889 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:06.887 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_task (\n\t\tsql_digest VARCHAR(128) NOT NULL,\n\t\tplan_digest VARCHAR(128) NOT NULL,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tPRIMARY KEY (sql_digest,plan_digest));"] [2024/05/06 09:30:06.901 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=73] [category=ddl] [job="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:06.887 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:06.905 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=35] [neededSchemaVersion=36] ["start time"=368.528µs] [gotSchemaVersion=36] [phyTblIDs="[72]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:06.907 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:06.907 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=73] [version=36] [2024/05/06 09:30:06.907 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=36] ["take time"=2.48109ms] [job="ID:73, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:06.887 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:06.932 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=73] [job="ID:73, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:06.887 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:06.937 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=73] [2024/05/06 09:30:06.937 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:06.938 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=36] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_table_locked(\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL DEFAULT 0,\n\t\tcount bigint(64) NOT NULL DEFAULT 0,\n\t\tversion bigint(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (table_id));"] [user=] [2024/05/06 09:30:06.942 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:06.94 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:06.942 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:06.94 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_table_locked(\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL DEFAULT 0,\n\t\tcount bigint(64) NOT NULL DEFAULT 0,\n\t\tversion bigint(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (table_id));"] [2024/05/06 09:30:06.956 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=75] [category=ddl] [job="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:06.94 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:06.961 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=36] [neededSchemaVersion=37] ["start time"=385.477µs] [gotSchemaVersion=37] [phyTblIDs="[74]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:06.963 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:06.963 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=75] [version=37] [2024/05/06 09:30:06.968 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=37] ["take time"=7.525232ms] [job="ID:75, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:06.94 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:06.980 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=75] [job="ID:75, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:06.94 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:06.985 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=75] [2024/05/06 09:30:06.985 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:06.986 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=37] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_table_status (\n\t\ttable_id bigint(64) PRIMARY KEY,\n parent_table_id bigint(64),\n table_statistics text DEFAULT NULL,\n\t\tlast_job_id varchar(64) DEFAULT NULL,\n\t\tlast_job_start_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_finish_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_ttl_expire timestamp NULL DEFAULT NULL,\n last_job_summary text DEFAULT NULL,\n\t\tcurrent_job_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_addr varchar(256) DEFAULT NULL,\n\t\tcurrent_job_owner_hb_time timestamp,\n\t\tcurrent_job_start_time timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_ttl_expire timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_state text DEFAULT NULL,\n\t\tcurrent_job_status varchar(64) DEFAULT NULL,\n \t\tcurrent_job_status_update_time timestamp NULL DEFAULT NULL);"] [user=] [2024/05/06 09:30:07.002 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:06.988 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:07.002 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:06.988 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_table_status (\n\t\ttable_id bigint(64) PRIMARY KEY,\n parent_table_id bigint(64),\n table_statistics text DEFAULT NULL,\n\t\tlast_job_id varchar(64) DEFAULT NULL,\n\t\tlast_job_start_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_finish_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_ttl_expire timestamp NULL DEFAULT NULL,\n last_job_summary text DEFAULT NULL,\n\t\tcurrent_job_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_addr varchar(256) DEFAULT NULL,\n\t\tcurrent_job_owner_hb_time timestamp,\n\t\tcurrent_job_start_time timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_ttl_expire timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_state text DEFAULT NULL,\n\t\tcurrent_job_status varchar(64) DEFAULT NULL,\n \t\tcurrent_job_status_update_time timestamp NULL DEFAULT NULL);"] [2024/05/06 09:30:07.013 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=77] [category=ddl] [job="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:06.988 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:07.021 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=37] [neededSchemaVersion=38] ["start time"=766.821µs] [gotSchemaVersion=38] [phyTblIDs="[76]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:07.023 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:07.023 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=77] [version=38] [2024/05/06 09:30:07.025 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=38] ["take time"=4.860406ms] [job="ID:77, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:06.988 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:07.036 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=77] [job="ID:77, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:06.988 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:07.043 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=77] [2024/05/06 09:30:07.043 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:07.043 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 09:30:07.044 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 09:30:07.044 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 09:30:07.044 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=38] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_task (\n\t\tjob_id varchar(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tscan_id int NOT NULL,\n\t\tscan_range_start BLOB,\n\t\tscan_range_end BLOB,\n\t\texpire_time timestamp NOT NULL,\n\t\towner_id varchar(64) DEFAULT NULL,\n\t\towner_addr varchar(64) DEFAULT NULL,\n\t\towner_hb_time timestamp DEFAULT NULL,\n\t\tstatus varchar(64) DEFAULT 'waiting',\n\t\tstatus_update_time timestamp NULL DEFAULT NULL,\n\t\tstate text,\n\t\tcreated_time timestamp NOT NULL,\n\t\tprimary key(job_id, scan_id),\n\t\tkey(created_time));"] [user=] [2024/05/06 09:30:07.049 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:07.047 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:07.049 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:07.047 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_task (\n\t\tjob_id varchar(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tscan_id int NOT NULL,\n\t\tscan_range_start BLOB,\n\t\tscan_range_end BLOB,\n\t\texpire_time timestamp NOT NULL,\n\t\towner_id varchar(64) DEFAULT NULL,\n\t\towner_addr varchar(64) DEFAULT NULL,\n\t\towner_hb_time timestamp DEFAULT NULL,\n\t\tstatus varchar(64) DEFAULT 'waiting',\n\t\tstatus_update_time timestamp NULL DEFAULT NULL,\n\t\tstate text,\n\t\tcreated_time timestamp NOT NULL,\n\t\tprimary key(job_id, scan_id),\n\t\tkey(created_time));"] [2024/05/06 09:30:07.062 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=79] [category=ddl] [job="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:07.047 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:07.070 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=38] [neededSchemaVersion=39] ["start time"=657.806µs] [gotSchemaVersion=39] [phyTblIDs="[78]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:07.072 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:07.072 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=79] [version=39] [2024/05/06 09:30:07.074 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=39] ["take time"=4.282642ms] [job="ID:79, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:07.047 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:07.090 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=79] [job="ID:79, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:07.047 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:07.095 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=79] [2024/05/06 09:30:07.095 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:07.096 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 09:30:07.096 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=39] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_job_history (\n\t\tjob_id varchar(64) PRIMARY KEY,\n\t\ttable_id bigint(64) NOT NULL,\n parent_table_id bigint(64) NOT NULL,\n \ttable_schema varchar(64) NOT NULL,\n\t\ttable_name varchar(64) NOT NULL,\n \tpartition_name varchar(64) DEFAULT NULL,\n\t\tcreate_time timestamp NOT NULL,\n\t\tfinish_time timestamp NOT NULL,\n\t\tttl_expire timestamp NOT NULL,\n summary_text text,\n\t\texpired_rows bigint(64) DEFAULT NULL,\n \tdeleted_rows bigint(64) DEFAULT NULL,\n \terror_delete_rows bigint(64) DEFAULT NULL,\n \tstatus varchar(64) NOT NULL,\n \tkey(table_schema, table_name, create_time),\n \tkey(parent_table_id, create_time),\n \tkey(create_time)\n\t);"] [user=] [2024/05/06 09:30:07.101 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:07.098 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:07.101 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:07.098 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_job_history (\n\t\tjob_id varchar(64) PRIMARY KEY,\n\t\ttable_id bigint(64) NOT NULL,\n parent_table_id bigint(64) NOT NULL,\n \ttable_schema varchar(64) NOT NULL,\n\t\ttable_name varchar(64) NOT NULL,\n \tpartition_name varchar(64) DEFAULT NULL,\n\t\tcreate_time timestamp NOT NULL,\n\t\tfinish_time timestamp NOT NULL,\n\t\tttl_expire timestamp NOT NULL,\n summary_text text,\n\t\texpired_rows bigint(64) DEFAULT NULL,\n \tdeleted_rows bigint(64) DEFAULT NULL,\n \terror_delete_rows bigint(64) DEFAULT NULL,\n \tstatus varchar(64) NOT NULL,\n \tkey(table_schema, table_name, create_time),\n \tkey(parent_table_id, create_time),\n \tkey(create_time)\n\t);"] [2024/05/06 09:30:07.126 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=81] [category=ddl] [job="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:80, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:07.098 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:07.134 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=39] [neededSchemaVersion=40] ["start time"=861.679µs] [gotSchemaVersion=40] [phyTblIDs="[80]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:07.135 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:07.135 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=81] [version=40] [2024/05/06 09:30:07.137 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=40] ["take time"=4.417924ms] [job="ID:81, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:07.098 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:07.150 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=81] [job="ID:81, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:80, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:07.098 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:07.156 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=81] [2024/05/06 09:30:07.156 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:07.156 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 09:30:07.157 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=40] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(261),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tpriority INT DEFAULT 1,\n\t\tcreate_time TIMESTAMP,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\ttarget_scope VARCHAR(256) DEFAULT \"\",\n\t\terror BLOB,\n\t\tkey(state),\n \tUNIQUE KEY task_key(task_key)\n\t);"] [user=] [2024/05/06 09:30:07.162 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:07.159 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:07.162 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:07.159 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(261),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tpriority INT DEFAULT 1,\n\t\tcreate_time TIMESTAMP,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\ttarget_scope VARCHAR(256) DEFAULT \"\",\n\t\terror BLOB,\n\t\tkey(state),\n \tUNIQUE KEY task_key(task_key)\n\t);"] [2024/05/06 09:30:07.178 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=83] [category=ddl] [job="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:82, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:07.159 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:07.190 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=40] [neededSchemaVersion=41] ["start time"=663.975µs] [gotSchemaVersion=41] [phyTblIDs="[82]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:07.192 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:07.192 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=83] [version=41] [2024/05/06 09:30:07.194 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=41] ["take time"=4.66219ms] [job="ID:83, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:07.159 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:07.203 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=83] [job="ID:83, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:82, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:07.159 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:07.211 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=83] [2024/05/06 09:30:07.211 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:07.212 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=41] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task_history (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(261),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tpriority INT DEFAULT 1,\n\t\tcreate_time TIMESTAMP,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\ttarget_scope VARCHAR(256) DEFAULT \"\",\n\t\terror BLOB,\n\t\tkey(state),\n \tUNIQUE KEY task_key(task_key)\n\t);"] [user=] [2024/05/06 09:30:07.217 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:85, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:84, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:07.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:07.217 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:85, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:84, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:07.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task_history (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(261),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tpriority INT DEFAULT 1,\n\t\tcreate_time TIMESTAMP,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\ttarget_scope VARCHAR(256) DEFAULT \"\",\n\t\terror BLOB,\n\t\tkey(state),\n \tUNIQUE KEY task_key(task_key)\n\t);"] [2024/05/06 09:30:07.227 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=85] [category=ddl] [job="ID:85, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:84, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:07.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:07.232 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=41] [neededSchemaVersion=42] ["start time"=378.013µs] [gotSchemaVersion=42] [phyTblIDs="[84]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:07.233 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:07.233 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=85] [version=42] [2024/05/06 09:30:07.234 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=42] ["take time"=2.228637ms] [job="ID:85, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:84, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:07.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:07.240 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=85] [job="ID:85, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:84, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:07.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:07.245 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=85] [2024/05/06 09:30:07.245 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:07.246 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=42] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_import_jobs (\n\t\tid bigint(64) NOT NULL AUTO_INCREMENT,\n\t\tcreate_time TIMESTAMP(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n\t\tstart_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tupdate_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tend_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\ttable_schema VARCHAR(64) NOT NULL,\n\t\ttable_name VARCHAR(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcreated_by VARCHAR(300) NOT NULL,\n\t\tparameters text NOT NULL,\n\t\tsource_file_size bigint(64) NOT NULL,\n\t\tstatus VARCHAR(64) NOT NULL,\n\t\tstep VARCHAR(64) NOT NULL,\n\t\tsummary text DEFAULT NULL,\n\t\terror_message TEXT DEFAULT NULL,\n\t\tPRIMARY KEY (id),\n\t\tKEY (created_by),\n\t\tKEY (status));"] [user=] [2024/05/06 09:30:07.250 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:87, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:86, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:07.248 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:07.250 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:87, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:86, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:07.248 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_import_jobs (\n\t\tid bigint(64) NOT NULL AUTO_INCREMENT,\n\t\tcreate_time TIMESTAMP(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n\t\tstart_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tupdate_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tend_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\ttable_schema VARCHAR(64) NOT NULL,\n\t\ttable_name VARCHAR(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcreated_by VARCHAR(300) NOT NULL,\n\t\tparameters text NOT NULL,\n\t\tsource_file_size bigint(64) NOT NULL,\n\t\tstatus VARCHAR(64) NOT NULL,\n\t\tstep VARCHAR(64) NOT NULL,\n\t\tsummary text DEFAULT NULL,\n\t\terror_message TEXT DEFAULT NULL,\n\t\tPRIMARY KEY (id),\n\t\tKEY (created_by),\n\t\tKEY (status));"] [2024/05/06 09:30:07.261 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=87] [category=ddl] [job="ID:87, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:86, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:07.248 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:07.288 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=42] [neededSchemaVersion=43] ["start time"=385.524µs] [gotSchemaVersion=43] [phyTblIDs="[86]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:07.289 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:07.289 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=87] [version=43] [2024/05/06 09:30:07.292 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=43] ["take time"=4.777498ms] [job="ID:87, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:86, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:07.248 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:07.298 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=87] [job="ID:87, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:86, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:07.248 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:07.303 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=87] [2024/05/06 09:30:07.304 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:07.304 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 09:30:07.304 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 09:30:07.304 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 09:30:07.304 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=43] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tINDEX sql_index(resource_group_name,watch_text(700)) COMMENT \"accelerate the speed when select quarantined query\",\n\t\tINDEX time_index(end_time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2024/05/06 09:30:07.307 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:89, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:88, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:07.306 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:07.307 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:89, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:88, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:07.306 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tINDEX sql_index(resource_group_name,watch_text(700)) COMMENT \"accelerate the speed when select quarantined query\",\n\t\tINDEX time_index(end_time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2024/05/06 09:30:07.317 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=89] [category=ddl] [job="ID:89, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:88, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:07.306 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:07.322 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=43] [neededSchemaVersion=44] ["start time"=411.881µs] [gotSchemaVersion=44] [phyTblIDs="[88]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:07.323 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:07.323 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=89] [version=44] [2024/05/06 09:30:07.326 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=44] ["take time"=4.371982ms] [job="ID:89, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:88, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:07.306 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:07.333 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=89] [job="ID:89, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:88, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:07.306 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:07.337 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=89] [2024/05/06 09:30:07.337 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:07.338 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 09:30:07.338 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=44] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_queries (\n\t\tresource_group_name varchar(32) not null,\n\t\ttime TIMESTAMP NOT NULL,\n\t\tmatch_type varchar(12) NOT NULL,\n\t\taction varchar(12) NOT NULL,\n\t\toriginal_sql TEXT NOT NULL,\n\t\tplan_digest TEXT NOT NULL,\n\t\ttidb_server varchar(512),\n\t\tINDEX plan_index(plan_digest(64)) COMMENT \"accelerate the speed when select runaway query\",\n\t\tINDEX time_index(time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2024/05/06 09:30:07.344 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:91, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:90, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:07.342 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:07.344 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:91, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:90, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:07.342 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_queries (\n\t\tresource_group_name varchar(32) not null,\n\t\ttime TIMESTAMP NOT NULL,\n\t\tmatch_type varchar(12) NOT NULL,\n\t\taction varchar(12) NOT NULL,\n\t\toriginal_sql TEXT NOT NULL,\n\t\tplan_digest TEXT NOT NULL,\n\t\ttidb_server varchar(512),\n\t\tINDEX plan_index(plan_digest(64)) COMMENT \"accelerate the speed when select runaway query\",\n\t\tINDEX time_index(time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2024/05/06 09:30:07.351 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=91] [category=ddl] [job="ID:91, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:90, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:07.342 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:07.356 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=44] [neededSchemaVersion=45] ["start time"=408.334µs] [gotSchemaVersion=45] [phyTblIDs="[90]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:07.357 +00:00] [INFO] [info.go:1142] [SetTiFlashGroupConfig] [2024/05/06 09:30:07.358 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:07.358 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=91] [version=45] [2024/05/06 09:30:07.360 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=45] ["take time"=4.780251ms] [job="ID:91, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:90, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:07.342 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:07.373 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=91] [job="ID:91, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:90, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:07.342 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:07.381 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=91] [2024/05/06 09:30:07.381 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:07.381 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 09:30:07.381 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 09:30:07.382 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=45] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS `mysql`.`tidb_timers` (\n\t\tID BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tNAMESPACE VARCHAR(256) NOT NULL,\n\t\tTIMER_KEY VARCHAR(256) NOT NULL,\n\t\tTIMER_DATA BLOB,\n\t\tTIMEZONE VARCHAR(64) NOT NULL,\n\t\tSCHED_POLICY_TYPE VARCHAR(32) NOT NULL,\n\t\tSCHED_POLICY_EXPR VARCHAR(256) NOT NULL,\n\t\tHOOK_CLASS VARCHAR(64) NOT NULL,\n\t\tWATERMARK TIMESTAMP DEFAULT NULL,\n\t\tENABLE TINYINT(2) NOT NULL,\n\t\tTIMER_EXT JSON NOT NULL,\n\t\tEVENT_STATUS VARCHAR(32) NOT NULL,\n\t\tEVENT_ID VARCHAR(64) NOT NULL,\n\t\tEVENT_DATA BLOB,\n\t\tEVENT_START TIMESTAMP DEFAULT NULL,\n\t\tSUMMARY_DATA BLOB,\n\t\tCREATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,\n\t\tUPDATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tVERSION BIGINT(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (ID),\n\t\tUNIQUE KEY timer_key(NAMESPACE, TIMER_KEY),\n\t\tKEY hook_class(HOOK_CLASS)\n\t)"] [user=] [2024/05/06 09:30:07.387 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:93, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:92, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:07.384 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:07.387 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:93, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:92, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:07.384 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS `mysql`.`tidb_timers` (\n\t\tID BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tNAMESPACE VARCHAR(256) NOT NULL,\n\t\tTIMER_KEY VARCHAR(256) NOT NULL,\n\t\tTIMER_DATA BLOB,\n\t\tTIMEZONE VARCHAR(64) NOT NULL,\n\t\tSCHED_POLICY_TYPE VARCHAR(32) NOT NULL,\n\t\tSCHED_POLICY_EXPR VARCHAR(256) NOT NULL,\n\t\tHOOK_CLASS VARCHAR(64) NOT NULL,\n\t\tWATERMARK TIMESTAMP DEFAULT NULL,\n\t\tENABLE TINYINT(2) NOT NULL,\n\t\tTIMER_EXT JSON NOT NULL,\n\t\tEVENT_STATUS VARCHAR(32) NOT NULL,\n\t\tEVENT_ID VARCHAR(64) NOT NULL,\n\t\tEVENT_DATA BLOB,\n\t\tEVENT_START TIMESTAMP DEFAULT NULL,\n\t\tSUMMARY_DATA BLOB,\n\t\tCREATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,\n\t\tUPDATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tVERSION BIGINT(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (ID),\n\t\tUNIQUE KEY timer_key(NAMESPACE, TIMER_KEY),\n\t\tKEY hook_class(HOOK_CLASS)\n\t)"] [2024/05/06 09:30:07.396 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=93] [category=ddl] [job="ID:93, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:92, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:07.384 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:07.402 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=45] [neededSchemaVersion=46] ["start time"=621.872µs] [gotSchemaVersion=46] [phyTblIDs="[92]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:07.404 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:07.404 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=93] [version=46] [2024/05/06 09:30:07.406 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=46] ["take time"=4.914324ms] [job="ID:93, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:07.384 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:07.418 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=93] [job="ID:93, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:07.384 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:07.423 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=93] [2024/05/06 09:30:07.423 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:07.423 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=46] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch_done (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\trecord_id BIGINT(20) not null,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tdone_time TIMESTAMP(6) NOT NULL\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2024/05/06 09:30:07.426 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:95, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:94, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:07.425 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:07.426 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:95, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:94, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:07.425 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch_done (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\trecord_id BIGINT(20) not null,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tdone_time TIMESTAMP(6) NOT NULL\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2024/05/06 09:30:07.435 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=95] [category=ddl] [job="ID:95, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:94, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:07.425 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:07.440 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=46] [neededSchemaVersion=47] ["start time"=608.612µs] [gotSchemaVersion=47] [phyTblIDs="[94]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:07.442 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:07.442 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=95] [version=47] [2024/05/06 09:30:07.442 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=47] ["take time"=3.039455ms] [job="ID:95, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:94, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:07.425 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:07.450 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=95] [job="ID:95, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:94, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:07.425 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:07.455 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=95] [2024/05/06 09:30:07.455 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:07.455 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 09:30:07.455 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=47] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.dist_framework_meta (\n host VARCHAR(261) NOT NULL PRIMARY KEY,\n role VARCHAR(64),\n cpu_count int default 0,\n keyspace_id bigint(8) NOT NULL DEFAULT -1\n );"] [user=] [2024/05/06 09:30:07.464 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:97, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:96, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:07.459 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:07.464 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:97, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:96, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:07.459 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.dist_framework_meta (\n host VARCHAR(261) NOT NULL PRIMARY KEY,\n role VARCHAR(64),\n cpu_count int default 0,\n keyspace_id bigint(8) NOT NULL DEFAULT -1\n );"] [2024/05/06 09:30:07.479 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=97] [category=ddl] [job="ID:97, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:96, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:07.459 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:07.484 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=47] [neededSchemaVersion=48] ["start time"=439.582µs] [gotSchemaVersion=48] [phyTblIDs="[96]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:07.486 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:07.486 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=97] [version=48] [2024/05/06 09:30:07.488 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=48] ["take time"=4.628729ms] [job="ID:97, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:96, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:07.459 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:07.495 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=97] [job="ID:97, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:96, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:07.459 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:07.499 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=97] [2024/05/06 09:30:07.499 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:07.499 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=48] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.request_unit_by_group (\n\t\tstart_time TIMESTAMP(6) NOT NULL,\n\t\tend_time TIMESTAMP(6) NOT NULL,\n\t\tresource_group VARCHAR(32) NOT null,\n\t\ttotal_ru bigint(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (start_time, end_time, resource_group),\n\t\tKEY (resource_group)\n\t);"] [user=] [2024/05/06 09:30:07.502 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:99, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:98, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:07.501 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:07.502 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:99, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:98, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:07.501 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.request_unit_by_group (\n\t\tstart_time TIMESTAMP(6) NOT NULL,\n\t\tend_time TIMESTAMP(6) NOT NULL,\n\t\tresource_group VARCHAR(32) NOT null,\n\t\ttotal_ru bigint(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (start_time, end_time, resource_group),\n\t\tKEY (resource_group)\n\t);"] [2024/05/06 09:30:07.511 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=99] [category=ddl] [job="ID:99, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:98, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:07.501 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:07.515 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=48] [neededSchemaVersion=49] ["start time"=374.72µs] [gotSchemaVersion=49] [phyTblIDs="[98]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:07.516 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:07.516 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=99] [version=49] [2024/05/06 09:30:07.518 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=49] ["take time"=4.044378ms] [job="ID:99, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:98, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:07.501 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:07.523 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=99] [job="ID:99, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:98, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:07.501 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:07.526 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=99] [2024/05/06 09:30:07.526 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:07.527 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=49] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS sys;"] [user=] [2024/05/06 09:30:07.530 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:101, Type:create schema, State:queueing, SchemaState:none, SchemaID:100, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:30:07.529 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:07.530 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:101, Type:create schema, State:queueing, SchemaState:none, SchemaID:100, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:30:07.529 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE DATABASE IF NOT EXISTS sys;"] [2024/05/06 09:30:07.539 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=101] [category=ddl] [job="ID:101, Type:create schema, State:queueing, SchemaState:none, SchemaID:100, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:07.529 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:07.541 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=49] [neededSchemaVersion=50] ["start time"=75.319µs] [gotSchemaVersion=50] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2024/05/06 09:30:07.542 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:07.542 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=101] [version=50] [2024/05/06 09:30:07.543 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=50] ["take time"=2.306567ms] [job="ID:101, Type:create schema, State:done, SchemaState:public, SchemaID:100, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:30:07.529 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:07.548 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=101] [job="ID:101, Type:create schema, State:synced, SchemaState:public, SchemaID:100, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:07.529 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:07.554 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=101] [2024/05/06 09:30:07.554 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:07.559 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:103, Type:create view, State:queueing, SchemaState:none, SchemaID:100, TableID:102, RowCount:0, ArgLen:3, start time: 2024-05-06 09:30:07.557 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:07.559 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:103, Type:create view, State:queueing, SchemaState:none, SchemaID:100, TableID:102, RowCount:0, ArgLen:3, start time: 2024-05-06 09:30:07.557 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE OR REPLACE VIEW sys.schema_unused_indexes AS\n\t\tSELECT\n\t\t\ttable_schema as object_schema,\n\t\t\ttable_name as object_name,\n\t\t\tindex_name\n\t\tFROM information_schema.cluster_tidb_index_usage\n\t\tWHERE\n\t\t\ttable_schema not in ('sys', 'mysql', 'INFORMATION_SCHEMA', 'PERFORMANCE_SCHEMA') and\n\t\t\tindex_name != 'PRIMARY'\n\t\tGROUP BY table_schema, table_name, index_name\n\t\tHAVING\n\t\t\tsum(last_access_time) is null;"] [2024/05/06 09:30:07.576 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=103] [category=ddl] [job="ID:103, Type:create view, State:queueing, SchemaState:none, SchemaID:100, TableID:102, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:07.557 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:07.580 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=50] [neededSchemaVersion=51] ["start time"=310.229µs] [gotSchemaVersion=51] [phyTblIDs="[102]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2024/05/06 09:30:07.581 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:07.581 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=103] [version=51] [2024/05/06 09:30:07.584 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=51] ["take time"=4.932283ms] [job="ID:103, Type:create view, State:done, SchemaState:public, SchemaID:100, TableID:102, RowCount:0, ArgLen:3, start time: 2024-05-06 09:30:07.557 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:07.596 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=103] [job="ID:103, Type:create view, State:synced, SchemaState:public, SchemaID:100, TableID:102, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:07.557 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:07.601 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=103] [2024/05/06 09:30:07.601 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:07.639 +00:00] [INFO] [bootstrap.go:745] ["bootstrap successful"] ["take time"=2.282111222s] [2024/05/06 09:30:07.639 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=4d2e952c-a35d-4f1f-b78b-d257ea517f32] [ownerKey=/tidb/ddl/fg/owner] [2024/05/06 09:30:07.639 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/06 09:30:07.639 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 34, tp add index"] [category=ddl] ["take time"=16.876µs] [2024/05/06 09:30:07.639 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 35, tp add index"] [category=ddl] ["take time"=15.424µs] [2024/05/06 09:30:07.639 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 32, tp add index"] [category=ddl] ["take time"=2.497µs] [2024/05/06 09:30:07.639 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 33, tp add index"] [category=ddl] ["take time"=13.331µs] [2024/05/06 09:30:07.639 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/06 09:30:07.639 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 31, tp general"] [category=ddl] ["take time"=1.602µs] [2024/05/06 09:30:07.639 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/06 09:30:07.639 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2024/05/06 09:30:07.639 +00:00] [INFO] [session_pool.go:99] ["closing session pool"] [category=ddl] [2024/05/06 09:30:07.645 +00:00] [INFO] [ddl.go:951] ["DDL closed"] [category=ddl] [ID=4d2e952c-a35d-4f1f-b78b-d257ea517f32] ["take time"=5.986637ms] [2024/05/06 09:30:07.645 +00:00] [INFO] [ddl.go:769] ["stop DDL"] [category=ddl] [ID=4d2e952c-a35d-4f1f-b78b-d257ea517f32] [2024/05/06 09:30:07.645 +00:00] [INFO] [domain.go:907] ["loadSchemaInLoop exited."] [2024/05/06 09:30:07.645 +00:00] [INFO] [domain.go:683] ["topNSlowQueryLoop exited."] [2024/05/06 09:30:07.645 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2024/05/06 09:30:07.645 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2024/05/06 09:30:07.645 +00:00] [INFO] [domain.go:761] ["topologySyncerKeeper exited."] [2024/05/06 09:30:07.645 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2024/05/06 09:30:07.645 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2024/05/06 09:30:07.645 +00:00] [INFO] [domain.go:737] ["globalConfigSyncerKeeper exited."] [2024/05/06 09:30:07.645 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/06 09:30:07.645 +00:00] [INFO] [domain.go:711] ["infoSyncerKeeper exited."] [2024/05/06 09:30:07.645 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2024/05/06 09:30:07.645 +00:00] [INFO] [domain.go:1074] ["domain closed"] ["take time"=6.323936ms] [2024/05/06 09:30:07.645 +00:00] [INFO] [tidb.go:80] ["new domain"] [store=da5177d1-1265-48c2-83a1-fa05713417fb] ["ddl lease"=500ms] ["stats lease"=-1ns] [2024/05/06 09:30:07.651 +00:00] [WARN] [runaway.go:462] ["cannot setup up resource controller, not using tikv storage"] [2024/05/06 09:30:07.671 +00:00] [INFO] [domain.go:315] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=51] ["start time"=19.235176ms] [2024/05/06 09:30:07.671 +00:00] [INFO] [domain.go:635] ["full load and reset schema validator"] [2024/05/06 09:30:07.671 +00:00] [INFO] [ddl.go:818] ["start DDL"] [category=ddl] [ID=943cb903-9ddf-467f-b846-34d6ddd6cf78] [runWorker=true] [2024/05/06 09:30:07.674 +00:00] [INFO] [ddl.go:777] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=true] [2024/05/06 09:30:07.675 +00:00] [WARN] [env.go:51] ["initialize environment failed"] [category=ddl-ingest] ["storage limitation"="only support TiKV storage"] ["current storage"=unistore] ["lightning is initialized"=false] [2024/05/06 09:30:07.675 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2024/05/06 09:30:07.675 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=mdlCheckLoop] [2024/05/06 09:30:07.675 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2024/05/06 09:30:07.675 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2024/05/06 09:30:07.675 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/06 09:30:07.675 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayStartLoop] [2024/05/06 09:30:07.675 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/06 09:30:07.675 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2024/05/06 09:30:07.675 +00:00] [WARN] [domain.go:1326] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/06 09:30:07.675 +00:00] [INFO] [delete_range.go:172] ["start delRange emulator"] [category=ddl] [2024/05/06 09:30:07.675 +00:00] [INFO] [runaway.go:149] ["try to start runaway manager loop"] [2024/05/06 09:30:07.675 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/06 09:30:07.675 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/06 09:30:07.675 +00:00] [INFO] [job_table.go:349] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2024/05/06 09:30:07.680 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2024/05/06 09:30:07.680 +00:00] [WARN] [sysvar_cache.go:49] ["sysvar cache is empty, triggering rebuild"] [2024/05/06 09:30:07.696 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2024/05/06 09:30:07.699 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2024/05/06 09:30:07.701 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2024/05/06 09:30:07.701 +00:00] [INFO] [domain.go:2070] ["dumpFileGcChecker started"] [2024/05/06 09:30:07.702 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=indexUsageWorker] [2024/05/06 09:30:07.702 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=quitStatsOwner] [2024/05/06 09:30:07.703 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2024/05/06 09:30:07.704 +00:00] [INFO] [task_manager.go:217] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=0] [newCount=4] [2024/05/06 09:30:07.704 +00:00] [INFO] [task_manager.go:217] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=0] [newCount=4] [2024/05/06 09:30:07.704 +00:00] [INFO] [manager.go:113] ["build task executor manager"] [server-id=:4000] [total-cpu=16] [total-mem=342.3GiB] [2024/05/06 09:30:07.706 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2024/05/06 09:30:07.706 +00:00] [INFO] [manager.go:146] ["task executor manager start"] [server-id=:4000] [2024/05/06 09:30:07.706 +00:00] [INFO] [domain.go:1525] ["dist task executor manager started"] [2024/05/06 09:30:07.707 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=7] [schemaVersion=51] [cur_db=] [sql="DROP DATABASE IF EXISTS alterdb1"] [user=] [2024/05/06 09:30:07.708 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=7] [schemaVersion=51] [cur_db=] [sql="CREATE DATABASE alterdb1 CHARSET=utf8 COLLATE=utf8_unicode_ci"] [user=] [2024/05/06 09:30:07.710 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:105, Type:create schema, State:queueing, SchemaState:none, SchemaID:104, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:30:07.709 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:07.711 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:105, Type:create schema, State:queueing, SchemaState:none, SchemaID:104, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:30:07.709 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE DATABASE alterdb1 CHARSET=utf8 COLLATE=utf8_unicode_ci"] [2024/05/06 09:30:07.717 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 36, tp general"] [category=ddl] [jobID=105] [conn=7] [category=ddl] [job="ID:105, Type:create schema, State:queueing, SchemaState:none, SchemaID:104, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:07.709 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:07.720 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=51] [neededSchemaVersion=52] ["start time"=121.749µs] [gotSchemaVersion=52] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2024/05/06 09:30:07.721 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=105] [version=52] [2024/05/06 09:30:07.722 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=52] ["take time"=2.531667ms] [job="ID:105, Type:create schema, State:done, SchemaState:public, SchemaID:104, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:30:07.709 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:07.727 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 36, tp general"] [category=ddl] [jobID=105] [conn=7] [job="ID:105, Type:create schema, State:synced, SchemaState:public, SchemaID:104, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:07.709 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:07.732 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=105] [2024/05/06 09:30:07.732 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:07.733 +00:00] [WARN] [session.go:2111] ["compile SQL failed"] [error="[planner:1046]No database selected"] [SQL="ALTER DATABASE CHARACTER SET = 'utf8'"] [2024/05/06 09:30:07.733 +00:00] [WARN] [session.go:2111] ["compile SQL failed"] [error="[ddl:1102]Incorrect database name ''"] [errorVerbose="[ddl:1102]Incorrect database name ''\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs\n\texternal/com_github_pingcap_errors/normalize.go:175\ngithub.com/pingcap/tidb/pkg/planner/core.(*preprocessor).checkAlterDatabaseGrammar\n\tpkg/planner/core/preprocess.go:818\ngithub.com/pingcap/tidb/pkg/planner/core.(*preprocessor).Enter\n\tpkg/planner/core/preprocess.go:290\ngithub.com/pingcap/tidb/pkg/parser/ast.(*AlterDatabaseStmt).Accept\n\tpkg/parser/ast/ddl.go:216\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:138\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:67\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2089\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecToErr\n\tpkg/testkit/testkit.go:436\ngithub.com/pingcap/tidb/pkg/ddl_test.TestChangingDBCharset\n\tpkg/ddl/db_integration_test.go:1692\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [SQL="ALTER SCHEMA `` CHARACTER SET = 'utf8'"] [2024/05/06 09:30:07.736 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:106, Type:modify schema charset and collate, State:queueing, SchemaState:none, SchemaID:104, TableID:0, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:07.735 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:07.736 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:106, Type:modify schema charset and collate, State:queueing, SchemaState:none, SchemaID:104, TableID:0, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:07.735 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="ALTER SCHEMA alterdb1 COLLATE = utf8mb4_general_ci"] [2024/05/06 09:30:07.747 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 36, tp general"] [category=ddl] [jobID=106] [conn=7] [category=ddl] [job="ID:106, Type:modify schema charset and collate, State:queueing, SchemaState:none, SchemaID:104, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:07.735 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:07.750 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=52] [neededSchemaVersion=53] ["start time"=140.568µs] [gotSchemaVersion=53] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"modify schema charset and collate\"]"] [2024/05/06 09:30:07.752 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=106] [version=53] [2024/05/06 09:30:07.753 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=53] ["take time"=3.263529ms] [job="ID:106, Type:modify schema charset and collate, State:done, SchemaState:public, SchemaID:104, TableID:0, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:07.735 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:07.762 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 36, tp general"] [category=ddl] [jobID=106] [conn=7] [job="ID:106, Type:modify schema charset and collate, State:synced, SchemaState:public, SchemaID:104, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:07.735 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:07.768 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=106] [2024/05/06 09:30:07.769 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:07.774 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=7] [schemaVersion=53] [cur_db=] [sql="DROP DATABASE IF EXISTS alterdb2"] [user=] [2024/05/06 09:30:07.774 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=7] [schemaVersion=53] [cur_db=] [sql="CREATE DATABASE alterdb2 CHARSET=utf8 COLLATE=utf8_unicode_ci"] [user=] [2024/05/06 09:30:07.790 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:108, Type:create schema, State:queueing, SchemaState:none, SchemaID:107, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:30:07.782 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:07.790 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:108, Type:create schema, State:queueing, SchemaState:none, SchemaID:107, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:30:07.782 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE DATABASE alterdb2 CHARSET=utf8 COLLATE=utf8_unicode_ci"] [2024/05/06 09:30:07.803 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 36, tp general"] [category=ddl] [jobID=108] [conn=7] [category=ddl] [job="ID:108, Type:create schema, State:queueing, SchemaState:none, SchemaID:107, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:07.782 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:07.806 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=53] [neededSchemaVersion=54] ["start time"=191.708µs] [gotSchemaVersion=54] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2024/05/06 09:30:07.808 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=108] [version=54] [2024/05/06 09:30:07.810 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=54] ["take time"=4.769484ms] [job="ID:108, Type:create schema, State:done, SchemaState:public, SchemaID:107, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:30:07.782 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:07.816 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 36, tp general"] [category=ddl] [jobID=108] [conn=7] [job="ID:108, Type:create schema, State:synced, SchemaState:public, SchemaID:107, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:07.782 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:07.819 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=108] [2024/05/06 09:30:07.819 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:07.819 +00:00] [WARN] [session.go:2111] ["compile SQL failed"] [error="[ddl:1102]Incorrect database name ''"] [errorVerbose="[ddl:1102]Incorrect database name ''\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs\n\texternal/com_github_pingcap_errors/normalize.go:175\ngithub.com/pingcap/tidb/pkg/planner/core.(*preprocessor).checkAlterDatabaseGrammar\n\tpkg/planner/core/preprocess.go:818\ngithub.com/pingcap/tidb/pkg/planner/core.(*preprocessor).Enter\n\tpkg/planner/core/preprocess.go:290\ngithub.com/pingcap/tidb/pkg/parser/ast.(*AlterDatabaseStmt).Accept\n\tpkg/parser/ast/ddl.go:216\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:138\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:67\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2089\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecToErr\n\tpkg/testkit/testkit.go:436\ngithub.com/pingcap/tidb/pkg/ddl_test.TestChangingDBCharset\n\tpkg/ddl/db_integration_test.go:1764\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [SQL="ALTER SCHEMA `` CHARACTER SET = 'utf8'"] [2024/05/06 09:30:07.820 +00:00] [WARN] [session.go:1572] ["parse SQL failed"] [error="[parser:1115]Unknown character set: ''"] [errorVerbose="[parser:1115]Unknown character set: ''\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs\n\texternal/com_github_pingcap_errors/normalize.go:175\ngithub.com/pingcap/tidb/pkg/parser.yyParse\n\tpkg/parser/parser.go:20424\ngithub.com/pingcap/tidb/pkg/parser.(*Parser).ParseSQL\n\tpkg/parser/yy_parser.go:161\ngithub.com/pingcap/tidb/pkg/session.(*session).ParseSQL\n\tpkg/session/session.go:1390\ngithub.com/pingcap/tidb/pkg/session.(*session).Parse\n\tpkg/session/session.go:1564\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:375\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecToErr\n\tpkg/testkit/testkit.go:436\ngithub.com/pingcap/tidb/pkg/ddl_test.TestChangingDBCharset\n\tpkg/ddl/db_integration_test.go:1764\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [SQL="ALTER DATABASE CHARACTER SET = ''"] [2024/05/06 09:30:07.822 +00:00] [WARN] [session.go:1572] ["parse SQL failed"] [error="[parser:1115]Unknown character set: 'INVALID_CHARSET'"] [errorVerbose="[parser:1115]Unknown character set: 'INVALID_CHARSET'\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs\n\texternal/com_github_pingcap_errors/normalize.go:175\ngithub.com/pingcap/tidb/pkg/parser.yyParse\n\tpkg/parser/parser.go:20424\ngithub.com/pingcap/tidb/pkg/parser.(*Parser).ParseSQL\n\tpkg/parser/yy_parser.go:161\ngithub.com/pingcap/tidb/pkg/session.(*session).ParseSQL\n\tpkg/session/session.go:1390\ngithub.com/pingcap/tidb/pkg/session.(*session).Parse\n\tpkg/session/session.go:1564\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:375\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecToErr\n\tpkg/testkit/testkit.go:436\ngithub.com/pingcap/tidb/pkg/ddl_test.TestChangingDBCharset\n\tpkg/ddl/db_integration_test.go:1764\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [SQL="ALTER DATABASE CHARACTER SET = 'INVALID_CHARSET'"] [2024/05/06 09:30:07.823 +00:00] [WARN] [session.go:1572] ["parse SQL failed"] [error="[ddl:1273]Unknown collation: ''"] [errorVerbose="[ddl:1273]Unknown collation: ''\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs\n\texternal/com_github_pingcap_errors/normalize.go:175\ngithub.com/pingcap/tidb/pkg/parser/charset.GetCollationByName\n\tpkg/parser/charset/charset.go:202\ngithub.com/pingcap/tidb/pkg/parser.yyParse\n\tpkg/parser/parser.go:20437\ngithub.com/pingcap/tidb/pkg/parser.(*Parser).ParseSQL\n\tpkg/parser/yy_parser.go:161\ngithub.com/pingcap/tidb/pkg/session.(*session).ParseSQL\n\tpkg/session/session.go:1390\ngithub.com/pingcap/tidb/pkg/session.(*session).Parse\n\tpkg/session/session.go:1564\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:375\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecToErr\n\tpkg/testkit/testkit.go:436\ngithub.com/pingcap/tidb/pkg/ddl_test.TestChangingDBCharset\n\tpkg/ddl/db_integration_test.go:1764\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [SQL="ALTER SCHEMA COLLATE = ''"] [2024/05/06 09:30:07.824 +00:00] [WARN] [session.go:1572] ["parse SQL failed"] [error="[ddl:1273]Unknown collation: 'INVALID_COLLATION'"] [errorVerbose="[ddl:1273]Unknown collation: 'INVALID_COLLATION'\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs\n\texternal/com_github_pingcap_errors/normalize.go:175\ngithub.com/pingcap/tidb/pkg/parser/charset.GetCollationByName\n\tpkg/parser/charset/charset.go:202\ngithub.com/pingcap/tidb/pkg/parser.yyParse\n\tpkg/parser/parser.go:20437\ngithub.com/pingcap/tidb/pkg/parser.(*Parser).ParseSQL\n\tpkg/parser/yy_parser.go:161\ngithub.com/pingcap/tidb/pkg/session.(*session).ParseSQL\n\tpkg/session/session.go:1390\ngithub.com/pingcap/tidb/pkg/session.(*session).Parse\n\tpkg/session/session.go:1564\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:375\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecToErr\n\tpkg/testkit/testkit.go:436\ngithub.com/pingcap/tidb/pkg/ddl_test.TestChangingDBCharset\n\tpkg/ddl/db_integration_test.go:1764\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [SQL="ALTER DATABASE COLLATE = 'INVALID_COLLATION'"] [2024/05/06 09:30:07.825 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 09:30:07.826 +00:00] [WARN] [session.go:2153] ["run statement failed"] [schemaVersion=54] [error="[ddl:1302]Conflicting declarations: 'CHARACTER SET utf8' and 'CHARACTER SET utf8mb4'"] [errorVerbose="[ddl:1302]Conflicting declarations: 'CHARACTER SET utf8' and 'CHARACTER SET utf8mb4'\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs\n\texternal/com_github_pingcap_errors/normalize.go:175\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AlterSchema\n\tpkg/ddl/ddl_api.go:581\ngithub.com/pingcap/tidb/pkg/ddl/schematracker.(*Checker).AlterSchema\n\tpkg/ddl/schematracker/checker.go:186\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeAlterDatabase\n\tpkg/executor/ddl.go:263\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:150\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1211\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:960\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:794\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:559\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2280\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecToErr\n\tpkg/testkit/testkit.go:436\ngithub.com/pingcap/tidb/pkg/ddl_test.TestChangingDBCharset\n\tpkg/ddl/db_integration_test.go:1764\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"alterdb2\",\n \"id\": 7,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 09:30:07.826 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 09:30:07.826 +00:00] [WARN] [session.go:2153] ["run statement failed"] [schemaVersion=54] [error="[ddl:1302]Conflicting declarations: 'CHARACTER SET utf8' and 'CHARACTER SET utf8mb4'"] [errorVerbose="[ddl:1302]Conflicting declarations: 'CHARACTER SET utf8' and 'CHARACTER SET utf8mb4'\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs\n\texternal/com_github_pingcap_errors/normalize.go:175\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AlterSchema\n\tpkg/ddl/ddl_api.go:592\ngithub.com/pingcap/tidb/pkg/ddl/schematracker.(*Checker).AlterSchema\n\tpkg/ddl/schematracker/checker.go:186\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeAlterDatabase\n\tpkg/executor/ddl.go:263\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:150\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1211\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:960\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:794\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:559\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2280\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecToErr\n\tpkg/testkit/testkit.go:436\ngithub.com/pingcap/tidb/pkg/ddl_test.TestChangingDBCharset\n\tpkg/ddl/db_integration_test.go:1764\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"alterdb2\",\n \"id\": 7,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 09:30:07.826 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 09:30:07.827 +00:00] [WARN] [session.go:2153] ["run statement failed"] [schemaVersion=54] [error="[ddl:1302]Conflicting declarations: 'CHARACTER SET utf8mb4' and 'CHARACTER SET utf8'"] [errorVerbose="[ddl:1302]Conflicting declarations: 'CHARACTER SET utf8mb4' and 'CHARACTER SET utf8'\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs\n\texternal/com_github_pingcap_errors/normalize.go:175\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AlterSchema\n\tpkg/ddl/ddl_api.go:592\ngithub.com/pingcap/tidb/pkg/ddl/schematracker.(*Checker).AlterSchema\n\tpkg/ddl/schematracker/checker.go:186\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeAlterDatabase\n\tpkg/executor/ddl.go:263\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:150\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1211\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:960\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:794\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:559\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2280\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecToErr\n\tpkg/testkit/testkit.go:436\ngithub.com/pingcap/tidb/pkg/ddl_test.TestChangingDBCharset\n\tpkg/ddl/db_integration_test.go:1764\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"alterdb2\",\n \"id\": 7,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 09:30:07.831 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:109, Type:modify schema charset and collate, State:queueing, SchemaState:none, SchemaID:107, TableID:0, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:07.83 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:07.831 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:109, Type:modify schema charset and collate, State:queueing, SchemaState:none, SchemaID:107, TableID:0, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:07.83 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="ALTER SCHEMA CHARACTER SET = 'utf8mb4'"] [2024/05/06 09:30:07.842 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 36, tp general"] [category=ddl] [jobID=109] [conn=7] [category=ddl] [job="ID:109, Type:modify schema charset and collate, State:queueing, SchemaState:none, SchemaID:107, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:07.83 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:07.844 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=54] [neededSchemaVersion=55] ["start time"=98.298µs] [gotSchemaVersion=55] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"modify schema charset and collate\"]"] [2024/05/06 09:30:07.846 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=109] [version=55] [2024/05/06 09:30:07.847 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=55] ["take time"=3.0354ms] [job="ID:109, Type:modify schema charset and collate, State:done, SchemaState:public, SchemaID:107, TableID:0, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:07.83 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:07.853 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 36, tp general"] [category=ddl] [jobID=109] [conn=7] [job="ID:109, Type:modify schema charset and collate, State:synced, SchemaState:public, SchemaID:107, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:07.83 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:07.857 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=109] [2024/05/06 09:30:07.857 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:07.869 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:110, Type:modify schema charset and collate, State:queueing, SchemaState:none, SchemaID:107, TableID:0, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:07.866 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:07.869 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:110, Type:modify schema charset and collate, State:queueing, SchemaState:none, SchemaID:107, TableID:0, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:07.866 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="ALTER SCHEMA CHARACTER SET = 'utf8mb4' COLLATE = 'utf8mb4_general_ci'"] [2024/05/06 09:30:07.883 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 36, tp general"] [category=ddl] [jobID=110] [conn=7] [category=ddl] [job="ID:110, Type:modify schema charset and collate, State:queueing, SchemaState:none, SchemaID:107, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:07.866 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:07.886 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=55] [neededSchemaVersion=56] ["start time"=126.67µs] [gotSchemaVersion=56] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"modify schema charset and collate\"]"] [2024/05/06 09:30:07.888 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=110] [version=56] [2024/05/06 09:30:07.890 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=56] ["take time"=4.271902ms] [job="ID:110, Type:modify schema charset and collate, State:done, SchemaState:public, SchemaID:107, TableID:0, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:07.866 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:07.903 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 36, tp general"] [category=ddl] [jobID=110] [conn=7] [job="ID:110, Type:modify schema charset and collate, State:synced, SchemaState:public, SchemaID:107, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:07.866 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:07.910 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=110] [2024/05/06 09:30:07.910 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:07.912 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=7] [schemaVersion=56] [cur_db=alterdb2] [sql="drop database if exists TEST_UPPERCASE_DB_CHARSET;"] [user=] [2024/05/06 09:30:07.912 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=7] [schemaVersion=56] [cur_db=alterdb2] [sql="create database TEST_UPPERCASE_DB_CHARSET;"] [user=] [2024/05/06 09:30:07.915 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:112, Type:create schema, State:queueing, SchemaState:none, SchemaID:111, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:30:07.914 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:07.915 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:112, Type:create schema, State:queueing, SchemaState:none, SchemaID:111, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:30:07.914 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create database TEST_UPPERCASE_DB_CHARSET;"] [2024/05/06 09:30:07.923 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 36, tp general"] [category=ddl] [jobID=112] [conn=7] [category=ddl] [job="ID:112, Type:create schema, State:queueing, SchemaState:none, SchemaID:111, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:07.914 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:07.925 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=56] [neededSchemaVersion=57] ["start time"=121.898µs] [gotSchemaVersion=57] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2024/05/06 09:30:07.927 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=112] [version=57] [2024/05/06 09:30:07.927 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=57] ["take time"=2.071154ms] [job="ID:112, Type:create schema, State:done, SchemaState:public, SchemaID:111, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:30:07.914 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:07.939 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 36, tp general"] [category=ddl] [jobID=112] [conn=7] [job="ID:112, Type:create schema, State:synced, SchemaState:public, SchemaID:111, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:07.914 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:07.942 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=112] [2024/05/06 09:30:07.942 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:07.945 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:113, Type:modify schema charset and collate, State:queueing, SchemaState:none, SchemaID:111, TableID:0, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:07.944 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:07.945 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:113, Type:modify schema charset and collate, State:queueing, SchemaState:none, SchemaID:111, TableID:0, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:07.944 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter database TEST_UPPERCASE_DB_CHARSET default character set utf8;"] [2024/05/06 09:30:07.955 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 36, tp general"] [category=ddl] [jobID=113] [conn=7] [category=ddl] [job="ID:113, Type:modify schema charset and collate, State:queueing, SchemaState:none, SchemaID:111, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:07.944 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:07.958 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=57] [neededSchemaVersion=58] ["start time"=124.9µs] [gotSchemaVersion=58] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"modify schema charset and collate\"]"] [2024/05/06 09:30:07.962 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=113] [version=58] [2024/05/06 09:30:07.965 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=58] ["take time"=6.929435ms] [job="ID:113, Type:modify schema charset and collate, State:done, SchemaState:public, SchemaID:111, TableID:0, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:07.944 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:07.976 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 36, tp general"] [category=ddl] [jobID=113] [conn=7] [job="ID:113, Type:modify schema charset and collate, State:synced, SchemaState:public, SchemaID:111, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:07.944 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:07.981 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=113] [2024/05/06 09:30:07.981 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:07.985 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:114, Type:modify schema charset and collate, State:queueing, SchemaState:none, SchemaID:111, TableID:0, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:07.983 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:07.985 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:114, Type:modify schema charset and collate, State:queueing, SchemaState:none, SchemaID:111, TableID:0, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:07.983 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter database TEST_UPPERCASE_DB_CHARSET default character set utf8mb4;"] [2024/05/06 09:30:08.001 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 36, tp general"] [category=ddl] [jobID=114] [conn=7] [category=ddl] [job="ID:114, Type:modify schema charset and collate, State:queueing, SchemaState:none, SchemaID:111, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:07.983 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:08.003 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=58] [neededSchemaVersion=59] ["start time"=89.112µs] [gotSchemaVersion=59] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"modify schema charset and collate\"]"] [2024/05/06 09:30:08.005 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=114] [version=59] [2024/05/06 09:30:08.006 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=59] ["take time"=2.969873ms] [job="ID:114, Type:modify schema charset and collate, State:done, SchemaState:public, SchemaID:111, TableID:0, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:07.983 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:08.015 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 36, tp general"] [category=ddl] [jobID=114] [conn=7] [job="ID:114, Type:modify schema charset and collate, State:synced, SchemaState:public, SchemaID:111, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:07.983 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:08.018 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=114] [2024/05/06 09:30:08.018 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:08.025 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=943cb903-9ddf-467f-b846-34d6ddd6cf78] [ownerKey=/tidb/ddl/fg/owner] [2024/05/06 09:30:08.025 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/06 09:30:08.025 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 39, tp add index"] [category=ddl] ["take time"=2.061µs] [2024/05/06 09:30:08.025 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 40, tp add index"] [category=ddl] ["take time"=1.215µs] [2024/05/06 09:30:08.025 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 37, tp add index"] [category=ddl] ["take time"=1.243µs] [2024/05/06 09:30:08.025 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 38, tp add index"] [category=ddl] ["take time"=1.324µs] [2024/05/06 09:30:08.025 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/06 09:30:08.025 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 36, tp general"] [category=ddl] ["take time"=891ns] [2024/05/06 09:30:08.025 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/06 09:30:08.025 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2024/05/06 09:30:08.025 +00:00] [INFO] [session_pool.go:99] ["closing session pool"] [category=ddl] [2024/05/06 09:30:08.025 +00:00] [INFO] [ddl.go:951] ["DDL closed"] [category=ddl] [ID=943cb903-9ddf-467f-b846-34d6ddd6cf78] ["take time"=6.691639ms] [2024/05/06 09:30:08.025 +00:00] [INFO] [ddl.go:769] ["stop DDL"] [category=ddl] [ID=943cb903-9ddf-467f-b846-34d6ddd6cf78] [2024/05/06 09:30:08.025 +00:00] [INFO] [domain.go:1026] ["stopping ttlJobManager"] [2024/05/06 09:30:08.025 +00:00] [INFO] [task_manager.go:194] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=4] [newCount=0] [2024/05/06 09:30:08.026 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/06 09:30:08.026 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/06 09:30:08.026 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/06 09:30:08.026 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/06 09:30:08.026 +00:00] [INFO] [task_manager.go:194] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=4] [newCount=0] [2024/05/06 09:30:08.026 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/06 09:30:08.026 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/06 09:30:08.026 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/06 09:30:08.026 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/06 09:30:08.027 +00:00] [INFO] [job_manager.go:174] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [2024/05/06 09:30:08.027 +00:00] [INFO] [domain.go:1037] ["ttlJobManager exited."] [2024/05/06 09:30:08.027 +00:00] [INFO] [manager.go:280] ["recoverMetaLoop done"] [server-id=:4000] [2024/05/06 09:30:08.027 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2024/05/06 09:30:08.027 +00:00] [INFO] [domain.go:907] ["loadSchemaInLoop exited."] [2024/05/06 09:30:08.027 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2024/05/06 09:30:08.027 +00:00] [INFO] [domain.go:1527] ["stopping dist task executor manager"] [2024/05/06 09:30:08.027 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2024/05/06 09:30:08.027 +00:00] [INFO] [stats_syncload.go:202] ["SubLoadWorker exited."] [2024/05/06 09:30:08.027 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=943cb903-9ddf-467f-b846-34d6ddd6cf78] [ownerKey=/tidb/stats/owner] [2024/05/06 09:30:08.027 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=quitStatsOwner] [2024/05/06 09:30:08.027 +00:00] [INFO] [domain.go:2352] ["indexUsageWorker exited."] [2024/05/06 09:30:08.027 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=indexUsageWorker] [2024/05/06 09:30:08.027 +00:00] [INFO] [stats_syncload.go:202] ["SubLoadWorker exited."] [2024/05/06 09:30:08.027 +00:00] [INFO] [stats_syncload.go:202] ["SubLoadWorker exited."] [2024/05/06 09:30:08.027 +00:00] [INFO] [stats_syncload.go:202] ["SubLoadWorker exited."] [2024/05/06 09:30:08.027 +00:00] [INFO] [domain.go:737] ["globalConfigSyncerKeeper exited."] [2024/05/06 09:30:08.027 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/06 09:30:08.027 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayStartLoop] [2024/05/06 09:30:08.027 +00:00] [INFO] [domain.go:711] ["infoSyncerKeeper exited."] [2024/05/06 09:30:08.027 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2024/05/06 09:30:08.027 +00:00] [INFO] [stats_syncload.go:202] ["SubLoadWorker exited."] [2024/05/06 09:30:08.027 +00:00] [INFO] [domain.go:2074] ["dumpFileGcChecker exited."] [2024/05/06 09:30:08.027 +00:00] [INFO] [domain.go:761] ["topologySyncerKeeper exited."] [2024/05/06 09:30:08.027 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2024/05/06 09:30:08.027 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2024/05/06 09:30:08.027 +00:00] [INFO] [domain.go:683] ["topNSlowQueryLoop exited."] [2024/05/06 09:30:08.027 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2024/05/06 09:30:08.027 +00:00] [INFO] [manager.go:179] ["handle tasks loop done"] [server-id=:4000] [2024/05/06 09:30:08.027 +00:00] [INFO] [domain.go:1750] ["LoadSysVarCacheLoop exited."] [2024/05/06 09:30:08.027 +00:00] [INFO] [domain.go:1529] ["dist task executor manager stopped"] [2024/05/06 09:30:08.027 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2024/05/06 09:30:08.027 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2024/05/06 09:30:08.027 +00:00] [INFO] [domain.go:1700] ["loadPrivilegeInLoop exited."] [2024/05/06 09:30:08.027 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2024/05/06 09:30:08.027 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=943cb903-9ddf-467f-b846-34d6ddd6cf78] [ownerKey=/tidb/bindinfo/owner] [2024/05/06 09:30:08.027 +00:00] [INFO] [domain.go:1889] ["globalBindHandleWorkerLoop exited."] [2024/05/06 09:30:08.027 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2024/05/06 09:30:08.027 +00:00] [INFO] [domain.go:1074] ["domain closed"] ["take time"=8.790416ms] [2024/05/06 09:30:08.029 +00:00] [INFO] [db.go:567] ["Closing database"] [2024/05/06 09:30:08.029 +00:00] [INFO] [db.go:592] ["Memtable flushed"] [2024/05/06 09:30:08.029 +00:00] [INFO] [db.go:596] ["Compaction finished"] [2024/05/06 09:30:08.029 +00:00] [INFO] [db.go:615] ["BlobManager finished"] [2024/05/06 09:30:08.030 +00:00] [INFO] [db.go:619] ["ResourceManager finished"] [2024/05/06 09:30:08.030 +00:00] [INFO] [db.go:625] ["Waiting for closer"] --- PASS: TestChangingDBCharset (2.70s) === RUN TestCreateConstraintForTable [2024/05/06 09:30:08.033 +00:00] [INFO] [store_cache.go:510] ["change store resolve state"] [store=1] [addr=store1] [from=unresolved] [to=resolved] [liveness-state=reachable] [2024/05/06 09:30:08.033 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 09:30:08.033 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 09:30:08.034 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 09:30:08.034 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 09:30:08.035 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 09:30:08.036 +00:00] [INFO] [tidb.go:80] ["new domain"] [store=173fb52c-b1c3-457c-abde-e2e5bc4a8759] ["ddl lease"=500ms] ["stats lease"=-1ns] [2024/05/06 09:30:08.044 +00:00] [WARN] [runaway.go:462] ["cannot setup up resource controller, not using tikv storage"] [2024/05/06 09:30:08.044 +00:00] [WARN] [domain.go:245] ["failed to get schema version"] [error="There is no Write MVCC info for the schema version"] [errorVerbose="There is no Write MVCC info for the schema version\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:335\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:242\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:606\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init\n\tpkg/domain/domain.go:1260\ngithub.com/pingcap/tidb/pkg/session.(*domainMap).Get.func1\n\tpkg/session/tidb.go:92\ngithub.com/pingcap/tidb/pkg/util.RunWithRetry\n\tpkg/util/misc.go:70\ngithub.com/pingcap/tidb/pkg/session.(*domainMap).Get\n\tpkg/session/tidb.go:79\ngithub.com/pingcap/tidb/pkg/session.createSessionWithOpt\n\tpkg/session/session.go:3620\ngithub.com/pingcap/tidb/pkg/session.createSession\n\tpkg/session/session.go:3612\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3562\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3346\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3312\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:294\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomain\n\tpkg/testkit/mockstore.go:265\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStore\n\tpkg/testkit/mockstore.go:72\ngithub.com/pingcap/tidb/pkg/ddl_test.TestCreateConstraintForTable\n\tpkg/ddl/db_table_test.go:850\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=0] [2024/05/06 09:30:08.050 +00:00] [INFO] [domain.go:315] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=0] ["start time"=6.074664ms] [2024/05/06 09:30:08.050 +00:00] [INFO] [domain.go:635] ["full load and reset schema validator"] [2024/05/06 09:30:08.051 +00:00] [INFO] [ddl.go:818] ["start DDL"] [category=ddl] [ID=f0dddb28-b1fd-4eb3-829e-b8d67d5ac7ad] [runWorker=true] [2024/05/06 09:30:08.051 +00:00] [INFO] [ddl.go:777] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=true] [2024/05/06 09:30:08.051 +00:00] [WARN] [env.go:51] ["initialize environment failed"] [category=ddl-ingest] ["storage limitation"="only support TiKV storage"] ["current storage"=unistore] ["lightning is initialized"=false] [2024/05/06 09:30:08.051 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2024/05/06 09:30:08.051 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=mdlCheckLoop] [2024/05/06 09:30:08.051 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2024/05/06 09:30:08.051 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2024/05/06 09:30:08.051 +00:00] [INFO] [delete_range.go:172] ["start delRange emulator"] [category=ddl] [2024/05/06 09:30:08.051 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/06 09:30:08.051 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayStartLoop] [2024/05/06 09:30:08.051 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/06 09:30:08.051 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2024/05/06 09:30:08.051 +00:00] [WARN] [domain.go:1326] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/06 09:30:08.051 +00:00] [INFO] [runaway.go:149] ["try to start runaway manager loop"] [2024/05/06 09:30:08.051 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/06 09:30:08.051 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/06 09:30:08.051 +00:00] [INFO] [job_table.go:349] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2024/05/06 09:30:08.052 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=0] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS test"] [user=] [2024/05/06 09:30:08.055 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:30:08.054 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:08.055 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:30:08.054 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE DATABASE IF NOT EXISTS test"] [2024/05/06 09:30:08.064 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=3] [category=ddl] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:08.054 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:08.074 +00:00] [INFO] [domain.go:315] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=1] ["start time"=4.586577ms] [2024/05/06 09:30:08.075 +00:00] [INFO] [domain.go:635] ["full load and reset schema validator"] [2024/05/06 09:30:08.077 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:08.078 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=3] [version=1] [2024/05/06 09:30:08.080 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=1] ["take time"=10.54169ms] [job="ID:3, Type:create schema, State:done, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:30:08.054 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:08.087 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=3] [job="ID:3, Type:create schema, State:synced, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:08.054 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:08.091 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=3] [2024/05/06 09:30:08.091 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:08.092 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS `mysql`"] [user=] [2024/05/06 09:30:08.093 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.user (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tauthentication_string\tTEXT,\n\t\tplugin\t\t\t\t\tCHAR(64),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tProcess_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_db_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tSuper_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_user_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_slave_priv\t \tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_client_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_role_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_role_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAccount_locked\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShutdown_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReload_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tFILE_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tConfig_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_reuse_history smallint unsigned DEFAULT NULL,\n\t\tPassword_reuse_time smallint unsigned DEFAULT NULL,\n\t\tUser_attributes\t\t\tjson,\n\t\tToken_issuer\t\t\tVARCHAR(255),\n\t\tPassword_expired\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_last_changed\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP(),\n\t\tPassword_lifetime\t\tSMALLINT UNSIGNED DEFAULT NULL,\n\t\tPRIMARY KEY (Host, User));"] [user=] [2024/05/06 09:30:08.101 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:08.095 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:08.101 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:08.095 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.user (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tauthentication_string\tTEXT,\n\t\tplugin\t\t\t\t\tCHAR(64),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tProcess_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_db_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tSuper_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_user_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_slave_priv\t \tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_client_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_role_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_role_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAccount_locked\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShutdown_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReload_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tFILE_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tConfig_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_reuse_history smallint unsigned DEFAULT NULL,\n\t\tPassword_reuse_time smallint unsigned DEFAULT NULL,\n\t\tUser_attributes\t\t\tjson,\n\t\tToken_issuer\t\t\tVARCHAR(255),\n\t\tPassword_expired\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_last_changed\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP(),\n\t\tPassword_lifetime\t\tSMALLINT UNSIGNED DEFAULT NULL,\n\t\tPRIMARY KEY (Host, User));"] [2024/05/06 09:30:08.110 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=5] [category=ddl] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:08.095 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:08.121 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=1] [neededSchemaVersion=2] ["start time"=788.293µs] [gotSchemaVersion=2] [phyTblIDs="[4]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:08.123 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:08.123 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=5] [version=2] [2024/05/06 09:30:08.125 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=2] ["take time"=4.615292ms] [job="ID:5, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:08.095 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:08.133 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=5] [job="ID:5, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:08.095 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:08.140 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=5] [2024/05/06 09:30:08.140 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:08.140 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 09:30:08.141 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=2] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.password_history (\n Host char(255) NOT NULL DEFAULT '',\n User char(32) NOT NULL DEFAULT '',\n Password_timestamp timestamp(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n Password text,\n PRIMARY KEY (Host,User,Password_timestamp )\n ) COMMENT='Password history for user accounts' "] [user=] [2024/05/06 09:30:08.145 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:08.143 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:08.145 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:08.143 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.password_history (\n Host char(255) NOT NULL DEFAULT '',\n User char(32) NOT NULL DEFAULT '',\n Password_timestamp timestamp(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n Password text,\n PRIMARY KEY (Host,User,Password_timestamp )\n ) COMMENT='Password history for user accounts' "] [2024/05/06 09:30:08.153 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=7] [category=ddl] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:08.143 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:08.157 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=2] [neededSchemaVersion=3] ["start time"=363.169µs] [gotSchemaVersion=3] [phyTblIDs="[6]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:08.159 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:08.159 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=7] [version=3] [2024/05/06 09:30:08.161 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=3] ["take time"=4.3649ms] [job="ID:7, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:08.143 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:08.173 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=7] [job="ID:7, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:08.143 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:08.178 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=7] [2024/05/06 09:30:08.178 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:08.178 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 09:30:08.179 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=3] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.global_priv (Host CHAR(255) NOT NULL DEFAULT '',User CHAR(80) NOT NULL DEFAULT '',Priv LONGTEXT NOT NULL DEFAULT '',PRIMARY KEY (Host, User))"] [user=] [2024/05/06 09:30:08.183 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:08.181 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:08.183 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:08.181 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.global_priv (Host CHAR(255) NOT NULL DEFAULT '',User CHAR(80) NOT NULL DEFAULT '',Priv LONGTEXT NOT NULL DEFAULT '',PRIMARY KEY (Host, User))"] [2024/05/06 09:30:08.193 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=9] [category=ddl] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:08.181 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:08.198 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=3] [neededSchemaVersion=4] ["start time"=268.604µs] [gotSchemaVersion=4] [phyTblIDs="[8]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:08.199 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:08.199 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=9] [version=4] [2024/05/06 09:30:08.201 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=4] ["take time"=4.543873ms] [job="ID:9, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:08.181 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:08.214 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=9] [job="ID:9, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:08.181 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:08.217 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=9] [2024/05/06 09:30:08.217 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:08.218 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=4] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.db (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tDB\t\t\t\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv \t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (Host, DB, User));"] [user=] [2024/05/06 09:30:08.223 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:08.22 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:08.223 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:08.22 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.db (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tDB\t\t\t\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv \t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (Host, DB, User));"] [2024/05/06 09:30:08.233 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=11] [category=ddl] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:08.22 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:08.240 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=4] [neededSchemaVersion=5] ["start time"=617.973µs] [gotSchemaVersion=5] [phyTblIDs="[10]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:08.241 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:08.241 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=11] [version=5] [2024/05/06 09:30:08.244 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=5] ["take time"=4.512019ms] [job="ID:11, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:08.22 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:08.250 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=11] [job="ID:11, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:08.22 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:08.255 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=11] [2024/05/06 09:30:08.255 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:08.256 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=5] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tables_priv (\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tGrantor\t\tCHAR(77),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tTable_priv\tSET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'),\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name));"] [user=] [2024/05/06 09:30:08.260 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:08.257 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:08.260 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:08.257 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tables_priv (\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tGrantor\t\tCHAR(77),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tTable_priv\tSET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'),\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name));"] [2024/05/06 09:30:08.288 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=13] [category=ddl] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:08.257 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:08.293 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=5] [neededSchemaVersion=6] ["start time"=497.148µs] [gotSchemaVersion=6] [phyTblIDs="[12]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:08.294 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:08.294 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=13] [version=6] [2024/05/06 09:30:08.296 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=6] ["take time"=4.011511ms] [job="ID:13, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:08.257 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:08.303 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=13] [job="ID:13, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:08.257 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:08.307 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=13] [2024/05/06 09:30:08.307 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:08.308 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=6] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.columns_priv(\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tColumn_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name, Column_name));"] [user=] [2024/05/06 09:30:08.311 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:08.309 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:08.311 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:08.309 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.columns_priv(\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tColumn_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name, Column_name));"] [2024/05/06 09:30:08.321 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=15] [category=ddl] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:08.309 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:08.324 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=7] ["start time"=461.209µs] [gotSchemaVersion=7] [phyTblIDs="[14]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:08.326 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:08.326 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=15] [version=7] [2024/05/06 09:30:08.326 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=7] ["take time"=2.12374ms] [job="ID:15, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:08.309 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:08.330 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=15] [job="ID:15, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:08.309 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:08.335 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=15] [2024/05/06 09:30:08.335 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:08.336 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=7] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.GLOBAL_VARIABLES(\n\t\tVARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE VARCHAR(16383) DEFAULT NULL);"] [user=] [2024/05/06 09:30:08.338 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:08.337 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:08.338 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:08.337 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.GLOBAL_VARIABLES(\n\t\tVARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE VARCHAR(16383) DEFAULT NULL);"] [2024/05/06 09:30:08.344 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=17] [category=ddl] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:08.337 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:08.347 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=7] [neededSchemaVersion=8] ["start time"=258.219µs] [gotSchemaVersion=8] [phyTblIDs="[16]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:08.348 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:08.349 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=17] [version=8] [2024/05/06 09:30:08.350 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=8] ["take time"=3.02203ms] [job="ID:17, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:08.337 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:08.355 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=17] [job="ID:17, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:08.337 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:08.358 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=17] [2024/05/06 09:30:08.358 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:08.359 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=8] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb(\n\t\tVARIABLE_NAME \tVARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE \tVARCHAR(1024) DEFAULT NULL,\n\t\tCOMMENT \t\tVARCHAR(1024));"] [user=] [2024/05/06 09:30:08.363 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:08.361 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:08.363 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:08.361 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb(\n\t\tVARIABLE_NAME \tVARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE \tVARCHAR(1024) DEFAULT NULL,\n\t\tCOMMENT \t\tVARCHAR(1024));"] [2024/05/06 09:30:08.379 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=19] [category=ddl] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:08.361 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:08.384 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=8] [neededSchemaVersion=9] ["start time"=270.262µs] [gotSchemaVersion=9] [phyTblIDs="[18]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:08.386 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:08.386 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=19] [version=9] [2024/05/06 09:30:08.389 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=9] ["take time"=5.318661ms] [job="ID:19, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:08.361 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:08.398 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=19] [job="ID:19, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:08.361 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:08.402 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=19] [2024/05/06 09:30:08.402 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:08.403 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=9] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.help_topic (\n \t\thelp_topic_id \t\tINT(10) UNSIGNED NOT NULL,\n \t\tname \t\t\t\tCHAR(64) NOT NULL,\n \t\thelp_category_id \tSMALLINT(5) UNSIGNED NOT NULL,\n \t\tdescription \t\tTEXT NOT NULL,\n \t\texample \t\t\tTEXT NOT NULL,\n \t\turl \t\t\t\tTEXT NOT NULL,\n \t\tPRIMARY KEY (help_topic_id) clustered,\n \t\tUNIQUE KEY name (name)\n\t\t) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] [user=] [2024/05/06 09:30:08.409 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:08.408 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:08.409 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:08.408 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.help_topic (\n \t\thelp_topic_id \t\tINT(10) UNSIGNED NOT NULL,\n \t\tname \t\t\t\tCHAR(64) NOT NULL,\n \t\thelp_category_id \tSMALLINT(5) UNSIGNED NOT NULL,\n \t\tdescription \t\tTEXT NOT NULL,\n \t\texample \t\t\tTEXT NOT NULL,\n \t\turl \t\t\t\tTEXT NOT NULL,\n \t\tPRIMARY KEY (help_topic_id) clustered,\n \t\tUNIQUE KEY name (name)\n\t\t) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] [2024/05/06 09:30:08.417 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=21] [category=ddl] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:08.408 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:08.421 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=9] [neededSchemaVersion=10] ["start time"=287.001µs] [gotSchemaVersion=10] [phyTblIDs="[20]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:08.422 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:08.422 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=21] [version=10] [2024/05/06 09:30:08.425 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=10] ["take time"=4.633824ms] [job="ID:21, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:08.408 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:08.430 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=21] [job="ID:21, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:08.408 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:08.434 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=21] [2024/05/06 09:30:08.435 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:08.435 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 09:30:08.435 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 09:30:08.435 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 09:30:08.435 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=10] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_meta (\n\t\tversion \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\ttable_id \t\tBIGINT(64) NOT NULL,\n\t\tmodify_count\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcount \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tsnapshot BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tINDEX idx_ver(version),\n\t\tUNIQUE INDEX tbl(table_id)\n\t);"] [user=] [2024/05/06 09:30:08.439 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:08.437 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:08.439 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:08.437 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_meta (\n\t\tversion \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\ttable_id \t\tBIGINT(64) NOT NULL,\n\t\tmodify_count\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcount \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tsnapshot BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tINDEX idx_ver(version),\n\t\tUNIQUE INDEX tbl(table_id)\n\t);"] [2024/05/06 09:30:08.446 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=23] [category=ddl] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:08.437 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:08.449 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=10] [neededSchemaVersion=11] ["start time"=295.73µs] [gotSchemaVersion=11] [phyTblIDs="[22]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:08.451 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:08.451 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=23] [version=11] [2024/05/06 09:30:08.453 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=11] ["take time"=4.060387ms] [job="ID:23, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:08.437 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:08.463 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=23] [job="ID:23, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:08.437 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:08.470 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=23] [2024/05/06 09:30:08.470 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:08.471 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=11] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_histograms (\n\t\ttable_id \t\t\tBIGINT(64) NOT NULL,\n\t\tis_index \t\t\tTINYINT(2) NOT NULL,\n\t\thist_id \t\t\tBIGINT(64) NOT NULL,\n\t\tdistinct_count \t\tBIGINT(64) NOT NULL,\n\t\tnull_count \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\ttot_col_size \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tmodify_count \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tversion \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tcm_sketch \t\t\tBLOB(6291456),\n\t\tstats_ver \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tflag \t\t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcorrelation \t\tDOUBLE NOT NULL DEFAULT 0,\n\t\tlast_analyze_pos \tLONGBLOB DEFAULT NULL,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] [2024/05/06 09:30:08.471 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(6291456) to MEDIUMBLOB"] [category=ddl] [2024/05/06 09:30:08.485 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:08.481 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:08.485 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:08.481 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_histograms (\n\t\ttable_id \t\t\tBIGINT(64) NOT NULL,\n\t\tis_index \t\t\tTINYINT(2) NOT NULL,\n\t\thist_id \t\t\tBIGINT(64) NOT NULL,\n\t\tdistinct_count \t\tBIGINT(64) NOT NULL,\n\t\tnull_count \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\ttot_col_size \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tmodify_count \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tversion \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tcm_sketch \t\t\tBLOB(6291456),\n\t\tstats_ver \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tflag \t\t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcorrelation \t\tDOUBLE NOT NULL DEFAULT 0,\n\t\tlast_analyze_pos \tLONGBLOB DEFAULT NULL,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id)\n\t);"] [2024/05/06 09:30:08.516 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=25] [category=ddl] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:08.481 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:08.522 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=11] [neededSchemaVersion=12] ["start time"=447.846µs] [gotSchemaVersion=12] [phyTblIDs="[24]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:08.523 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:08.523 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=25] [version=12] [2024/05/06 09:30:08.526 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=12] ["take time"=4.305862ms] [job="ID:25, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:08.481 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:08.535 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=25] [job="ID:25, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:08.481 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:08.540 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=25] [2024/05/06 09:30:08.540 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:08.540 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=12] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_buckets (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tbucket_id \tBIGINT(64) NOT NULL,\n\t\tcount \t\tBIGINT(64) NOT NULL,\n\t\trepeats \tBIGINT(64) NOT NULL,\n\t\tupper_bound LONGBLOB NOT NULL,\n\t\tlower_bound LONGBLOB ,\n\t\tndv BIGINT NOT NULL DEFAULT 0,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id)\n\t);"] [user=] [2024/05/06 09:30:08.549 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:08.543 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:08.549 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:08.543 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_buckets (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tbucket_id \tBIGINT(64) NOT NULL,\n\t\tcount \t\tBIGINT(64) NOT NULL,\n\t\trepeats \tBIGINT(64) NOT NULL,\n\t\tupper_bound LONGBLOB NOT NULL,\n\t\tlower_bound LONGBLOB ,\n\t\tndv BIGINT NOT NULL DEFAULT 0,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id)\n\t);"] [2024/05/06 09:30:08.557 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=27] [category=ddl] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:08.543 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:08.562 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=12] [neededSchemaVersion=13] ["start time"=412.977µs] [gotSchemaVersion=13] [phyTblIDs="[26]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:08.568 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:08.568 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=27] [version=13] [2024/05/06 09:30:08.574 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=13] ["take time"=13.309635ms] [job="ID:27, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:08.543 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:08.589 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=27] [job="ID:27, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:08.543 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:08.593 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=27] [2024/05/06 09:30:08.593 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:08.599 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=13] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_index (job_id, element_id)\n\t);"] [user=] [2024/05/06 09:30:08.604 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:08.602 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:08.604 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:08.602 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_index (job_id, element_id)\n\t);"] [2024/05/06 09:30:08.610 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=29] [category=ddl] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:08.602 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:08.615 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=13] [neededSchemaVersion=14] ["start time"=375.573µs] [gotSchemaVersion=14] [phyTblIDs="[28]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:08.616 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:08.616 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=29] [version=14] [2024/05/06 09:30:08.617 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=14] ["take time"=2.035129ms] [job="ID:29, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:08.602 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:08.624 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=29] [job="ID:29, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:08.602 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:08.627 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=29] [2024/05/06 09:30:08.627 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:08.629 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=14] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_done_index (job_id, element_id)\n\t);"] [user=] [2024/05/06 09:30:08.632 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:08.63 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:08.632 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:08.63 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_done_index (job_id, element_id)\n\t);"] [2024/05/06 09:30:08.644 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=31] [category=ddl] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:08.63 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:08.648 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=14] [neededSchemaVersion=15] ["start time"=261.233µs] [gotSchemaVersion=15] [phyTblIDs="[30]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:08.649 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:08.649 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=31] [version=15] [2024/05/06 09:30:08.650 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=15] ["take time"=3.052207ms] [job="ID:31, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:08.63 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:08.670 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=31] [job="ID:31, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:08.63 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:08.676 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=31] [2024/05/06 09:30:08.676 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:08.677 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=15] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_feedback (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tfeedback \tBLOB NOT NULL,\n\t\tINDEX hist(table_id, is_index, hist_id)\n\t);"] [user=] [2024/05/06 09:30:08.680 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:08.678 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:08.680 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:08.678 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_feedback (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tfeedback \tBLOB NOT NULL,\n\t\tINDEX hist(table_id, is_index, hist_id)\n\t);"] [2024/05/06 09:30:08.694 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=33] [category=ddl] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:08.678 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:08.698 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=15] [neededSchemaVersion=16] ["start time"=299.796µs] [gotSchemaVersion=16] [phyTblIDs="[32]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:08.700 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:08.700 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=33] [version=16] [2024/05/06 09:30:08.703 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=16] ["take time"=5.682684ms] [job="ID:33, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:08.678 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:08.717 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=33] [job="ID:33, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:08.678 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:08.721 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=33] [2024/05/06 09:30:08.721 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:08.721 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=16] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.role_edges (\n\t\tFROM_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tFROM_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tWITH_ADMIN_OPTION \tENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER)\n\t);"] [user=] [2024/05/06 09:30:08.726 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:08.723 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:08.726 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:08.723 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.role_edges (\n\t\tFROM_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tFROM_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tWITH_ADMIN_OPTION \tENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER)\n\t);"] [2024/05/06 09:30:08.734 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=35] [category=ddl] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:08.723 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:08.738 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=16] [neededSchemaVersion=17] ["start time"=349.462µs] [gotSchemaVersion=17] [phyTblIDs="[34]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:08.740 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:08.740 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=35] [version=17] [2024/05/06 09:30:08.742 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=17] ["take time"=4.662153ms] [job="ID:35, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:08.723 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:08.748 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=35] [job="ID:35, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:08.723 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:08.751 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=35] [2024/05/06 09:30:08.751 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:08.752 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=17] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.default_roles (\n\t\tHOST \t\t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tUSER \t\t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tDEFAULT_ROLE_HOST \tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%',\n\t\tDEFAULT_ROLE_USER \tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tPRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER)\n\t)"] [user=] [2024/05/06 09:30:08.755 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:08.753 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:08.755 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:08.753 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.default_roles (\n\t\tHOST \t\t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tUSER \t\t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tDEFAULT_ROLE_HOST \tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%',\n\t\tDEFAULT_ROLE_USER \tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tPRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER)\n\t)"] [2024/05/06 09:30:08.763 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=37] [category=ddl] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:08.753 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:08.776 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=18] ["start time"=445.402µs] [gotSchemaVersion=18] [phyTblIDs="[36]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:08.778 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:08.778 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=37] [version=18] [2024/05/06 09:30:08.779 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=18] ["take time"=4.188304ms] [job="ID:37, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:08.753 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:08.788 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=37] [job="ID:37, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:08.753 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:08.794 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=37] [2024/05/06 09:30:08.794 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:08.794 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=18] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql TEXT NOT NULL,\n\t\tbind_sql TEXT NOT NULL,\n\t\tdefault_db TEXT NOT NULL,\n\t\tstatus TEXT NOT NULL,\n\t\tcreate_time TIMESTAMP(3) NOT NULL,\n\t\tupdate_time TIMESTAMP(3) NOT NULL,\n\t\tcharset TEXT NOT NULL,\n\t\tcollation TEXT NOT NULL,\n\t\tsource VARCHAR(10) NOT NULL DEFAULT 'unknown',\n\t\tsql_digest varchar(64),\n\t\tplan_digest varchar(64),\n\t\tINDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\",\n\t\tINDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2024/05/06 09:30:08.798 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:08.796 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:08.798 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:08.796 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql TEXT NOT NULL,\n\t\tbind_sql TEXT NOT NULL,\n\t\tdefault_db TEXT NOT NULL,\n\t\tstatus TEXT NOT NULL,\n\t\tcreate_time TIMESTAMP(3) NOT NULL,\n\t\tupdate_time TIMESTAMP(3) NOT NULL,\n\t\tcharset TEXT NOT NULL,\n\t\tcollation TEXT NOT NULL,\n\t\tsource VARCHAR(10) NOT NULL DEFAULT 'unknown',\n\t\tsql_digest varchar(64),\n\t\tplan_digest varchar(64),\n\t\tINDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\",\n\t\tINDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2024/05/06 09:30:08.805 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=39] [category=ddl] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:08.796 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:08.810 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=18] [neededSchemaVersion=19] ["start time"=396.691µs] [gotSchemaVersion=19] [phyTblIDs="[38]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:08.811 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:08.811 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=39] [version=19] [2024/05/06 09:30:08.812 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=19] ["take time"=2.688909ms] [job="ID:39, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:08.796 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:08.817 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=39] [job="ID:39, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:08.796 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:08.822 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=39] [2024/05/06 09:30:08.822 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:08.822 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 09:30:08.822 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 09:30:08.822 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 09:30:08.822 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 09:30:08.822 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 09:30:08.822 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 09:30:08.824 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=19] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_top_n (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tcount \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] [2024/05/06 09:30:08.829 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:08.827 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:08.829 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:08.827 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_top_n (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tcount \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [2024/05/06 09:30:08.841 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=41] [category=ddl] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:08.827 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:08.845 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=19] [neededSchemaVersion=20] ["start time"=367.019µs] [gotSchemaVersion=20] [phyTblIDs="[40]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:08.847 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:08.847 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=41] [version=20] [2024/05/06 09:30:08.849 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=20] ["take time"=4.577142ms] [job="ID:41, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:08.827 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:08.868 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=41] [job="ID:41, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:08.827 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:08.884 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=41] [2024/05/06 09:30:08.885 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:08.885 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=20] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.expr_pushdown_blacklist (\n\t\tname \t\tCHAR(100) NOT NULL,\n\t\tstore_type \tCHAR(100) NOT NULL DEFAULT 'tikv,tiflash,tidb',\n\t\treason \t\tVARCHAR(200)\n\t);"] [user=] [2024/05/06 09:30:08.889 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:08.888 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:08.889 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:08.888 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.expr_pushdown_blacklist (\n\t\tname \t\tCHAR(100) NOT NULL,\n\t\tstore_type \tCHAR(100) NOT NULL DEFAULT 'tikv,tiflash,tidb',\n\t\treason \t\tVARCHAR(200)\n\t);"] [2024/05/06 09:30:08.915 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=43] [category=ddl] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:08.888 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:08.918 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=20] [neededSchemaVersion=21] ["start time"=241.719µs] [gotSchemaVersion=21] [phyTblIDs="[42]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:08.920 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:08.920 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=43] [version=21] [2024/05/06 09:30:08.920 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=21] ["take time"=2.16891ms] [job="ID:43, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:08.888 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:08.928 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=43] [job="ID:43, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:08.888 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:08.932 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=43] [2024/05/06 09:30:08.932 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:08.932 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=21] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] [user=] [2024/05/06 09:30:08.936 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:08.934 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:08.936 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:08.934 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] [2024/05/06 09:30:08.944 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=45] [category=ddl] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:08.934 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:08.950 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=21] [neededSchemaVersion=22] ["start time"=218.367µs] [gotSchemaVersion=22] [phyTblIDs="[44]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:08.952 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:08.952 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=45] [version=22] [2024/05/06 09:30:08.952 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=22] ["take time"=2.009777ms] [job="ID:45, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:08.934 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:08.970 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=45] [job="ID:45, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:08.934 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:08.974 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=45] [2024/05/06 09:30:08.974 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:08.975 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=22] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_extended (\n\t\tname varchar(32) NOT NULL,\n\t\ttype tinyint(4) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcolumn_ids varchar(32) NOT NULL,\n\t\tstats blob DEFAULT NULL,\n\t\tversion bigint(64) unsigned NOT NULL,\n\t\tstatus tinyint(4) NOT NULL,\n\t\tPRIMARY KEY(name, table_id),\n\t\tKEY idx_1 (table_id, status, version),\n\t\tKEY idx_2 (status, version)\n\t);"] [user=] [2024/05/06 09:30:08.979 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:08.977 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:08.979 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:08.977 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_extended (\n\t\tname varchar(32) NOT NULL,\n\t\ttype tinyint(4) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcolumn_ids varchar(32) NOT NULL,\n\t\tstats blob DEFAULT NULL,\n\t\tversion bigint(64) unsigned NOT NULL,\n\t\tstatus tinyint(4) NOT NULL,\n\t\tPRIMARY KEY(name, table_id),\n\t\tKEY idx_1 (table_id, status, version),\n\t\tKEY idx_2 (status, version)\n\t);"] [2024/05/06 09:30:08.999 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=47] [category=ddl] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:08.977 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:09.012 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=22] [neededSchemaVersion=23] ["start time"=462.087µs] [gotSchemaVersion=23] [phyTblIDs="[46]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:09.014 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:09.014 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=47] [version=23] [2024/05/06 09:30:09.019 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=23] ["take time"=7.544612ms] [job="ID:47, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:08.977 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:09.026 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=47] [job="ID:47, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:08.977 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:09.030 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=47] [2024/05/06 09:30:09.030 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:09.031 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=23] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] [2024/05/06 09:30:09.034 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:09.032 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:09.034 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:09.032 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [2024/05/06 09:30:09.044 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=49] [category=ddl] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:09.032 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:09.048 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=23] [neededSchemaVersion=24] ["start time"=396.072µs] [gotSchemaVersion=24] [phyTblIDs="[48]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:09.049 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:09.049 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=49] [version=24] [2024/05/06 09:30:09.051 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=24] ["take time"=4.033789ms] [job="ID:49, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:09.032 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:09.052 +00:00] [ERROR] [misc.go:114] ["panic in the recoverable goroutine"] [label=domain] [funcInfo=runawayStartLoop] [r="runtime error: invalid memory address or nil pointer dereference"] [stack="github.com/pingcap/tidb/pkg/util.Recover\n\tpkg/util/misc.go:118\nruntime.gopanic\n\tGOROOT/src/runtime/panic.go:914\nruntime.panicmem\n\tGOROOT/src/runtime/panic.go:261\nruntime.sigpanic\n\tGOROOT/src/runtime/signal_unix.go:861\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).updateNewAndDoneWatch\n\tpkg/domain/runaway.go:175\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).runawayStartLoop\n\tpkg/domain/runaway.go:156\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:99"] [stack="github.com/pingcap/tidb/pkg/util.Recover\n\tpkg/util/misc.go:114\nruntime.gopanic\n\tGOROOT/src/runtime/panic.go:914\nruntime.panicmem\n\tGOROOT/src/runtime/panic.go:261\nruntime.sigpanic\n\tGOROOT/src/runtime/signal_unix.go:861\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).updateNewAndDoneWatch\n\tpkg/domain/runaway.go:175\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).runawayStartLoop\n\tpkg/domain/runaway.go:156\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:99"] [2024/05/06 09:30:09.052 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayStartLoop] [2024/05/06 09:30:09.064 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=49] [job="ID:49, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:09.032 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:09.068 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=49] [2024/05/06 09:30:09.068 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:09.069 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=24] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.global_grants (\n\t\tUSER char(32) NOT NULL DEFAULT '',\n\t\tHOST char(255) NOT NULL DEFAULT '',\n\t\tPRIV char(32) NOT NULL DEFAULT '',\n\t\tWITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (USER,HOST,PRIV)\n\t);"] [user=] [2024/05/06 09:30:09.072 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:09.07 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:09.072 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:09.07 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.global_grants (\n\t\tUSER char(32) NOT NULL DEFAULT '',\n\t\tHOST char(255) NOT NULL DEFAULT '',\n\t\tPRIV char(32) NOT NULL DEFAULT '',\n\t\tWITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (USER,HOST,PRIV)\n\t);"] [2024/05/06 09:30:09.079 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=51] [category=ddl] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:09.07 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:09.083 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=24] [neededSchemaVersion=25] ["start time"=390.748µs] [gotSchemaVersion=25] [phyTblIDs="[50]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:09.085 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:09.085 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=51] [version=25] [2024/05/06 09:30:09.087 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=25] ["take time"=4.186795ms] [job="ID:51, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:09.07 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:09.095 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=51] [job="ID:51, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:09.07 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:09.101 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=51] [2024/05/06 09:30:09.101 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:09.102 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=25] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist (\n\t\tid bigint(64) auto_increment,\n\t\tfilter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\",\n\t\tfilter_value varchar(32) NOT NULL,\n\t\tkey idx(filter_type),\n\t\tprimary key(id)\n\t);"] [user=] [2024/05/06 09:30:09.105 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:09.103 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:09.105 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:09.103 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist (\n\t\tid bigint(64) auto_increment,\n\t\tfilter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\",\n\t\tfilter_value varchar(32) NOT NULL,\n\t\tkey idx(filter_type),\n\t\tprimary key(id)\n\t);"] [2024/05/06 09:30:09.113 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=53] [category=ddl] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:09.103 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:09.117 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=25] [neededSchemaVersion=26] ["start time"=349.687µs] [gotSchemaVersion=26] [phyTblIDs="[52]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:09.119 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:09.119 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=53] [version=26] [2024/05/06 09:30:09.119 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=26] ["take time"=2.257255ms] [job="ID:53, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:09.103 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:09.123 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=53] [job="ID:53, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:09.103 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:09.127 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=53] [2024/05/06 09:30:09.127 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:09.128 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=26] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.column_stats_usage (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tcolumn_id BIGINT(64) NOT NULL,\n\t\tlast_used_at TIMESTAMP,\n\t\tlast_analyzed_at TIMESTAMP,\n\t\tPRIMARY KEY (table_id, column_id) CLUSTERED\n\t);"] [user=] [2024/05/06 09:30:09.131 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:09.129 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:09.131 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:09.129 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.column_stats_usage (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tcolumn_id BIGINT(64) NOT NULL,\n\t\tlast_used_at TIMESTAMP,\n\t\tlast_analyzed_at TIMESTAMP,\n\t\tPRIMARY KEY (table_id, column_id) CLUSTERED\n\t);"] [2024/05/06 09:30:09.139 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=55] [category=ddl] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:09.129 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:09.142 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=26] [neededSchemaVersion=27] ["start time"=268.752µs] [gotSchemaVersion=27] [phyTblIDs="[54]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:09.144 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:09.144 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=55] [version=27] [2024/05/06 09:30:09.145 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=27] ["take time"=3.005212ms] [job="ID:55, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:09.129 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:09.150 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=55] [job="ID:55, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:09.129 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:09.154 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=55] [2024/05/06 09:30:09.154 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:09.154 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=27] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.table_cache_meta (\n\t\ttid bigint(11) NOT NULL DEFAULT 0,\n\t\tlock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE',\n\t\tlease bigint(20) NOT NULL DEFAULT 0,\n\t\toldReadLease bigint(20) NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (tid)\n\t);"] [user=] [2024/05/06 09:30:09.157 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:09.156 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:09.157 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:09.156 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.table_cache_meta (\n\t\ttid bigint(11) NOT NULL DEFAULT 0,\n\t\tlock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE',\n\t\tlease bigint(20) NOT NULL DEFAULT 0,\n\t\toldReadLease bigint(20) NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (tid)\n\t);"] [2024/05/06 09:30:09.202 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=57] [category=ddl] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:09.156 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:09.211 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=27] [neededSchemaVersion=28] ["start time"=355.754µs] [gotSchemaVersion=28] [phyTblIDs="[56]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:09.213 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:09.213 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=57] [version=28] [2024/05/06 09:30:09.215 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=28] ["take time"=4.955817ms] [job="ID:57, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:09.156 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:09.222 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=57] [job="ID:57, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:09.156 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:09.228 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=57] [2024/05/06 09:30:09.229 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:09.229 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=28] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_options (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tsample_num BIGINT(64) NOT NULL DEFAULT 0,\n\t\tsample_rate DOUBLE NOT NULL DEFAULT -1,\n\t\tbuckets BIGINT(64) NOT NULL DEFAULT 0,\n\t\ttopn BIGINT(64) NOT NULL DEFAULT -1,\n\t\tcolumn_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT',\n\t\tcolumn_ids TEXT(19372),\n\t\tPRIMARY KEY (table_id) CLUSTERED\n\t);"] [user=] [2024/05/06 09:30:09.229 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(19372) to MEDIUMBLOB"] [category=ddl] [2024/05/06 09:30:09.234 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:09.232 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:09.234 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:09.232 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.analyze_options (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tsample_num BIGINT(64) NOT NULL DEFAULT 0,\n\t\tsample_rate DOUBLE NOT NULL DEFAULT -1,\n\t\tbuckets BIGINT(64) NOT NULL DEFAULT 0,\n\t\ttopn BIGINT(64) NOT NULL DEFAULT -1,\n\t\tcolumn_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT',\n\t\tcolumn_ids TEXT(19372),\n\t\tPRIMARY KEY (table_id) CLUSTERED\n\t);"] [2024/05/06 09:30:09.242 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=59] [category=ddl] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:09.232 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:09.246 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=28] [neededSchemaVersion=29] ["start time"=327.584µs] [gotSchemaVersion=29] [phyTblIDs="[58]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:09.247 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:09.247 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=59] [version=29] [2024/05/06 09:30:09.248 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=29] ["take time"=3.008368ms] [job="ID:59, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:09.232 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:09.254 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=59] [job="ID:59, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:09.232 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:09.258 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=59] [2024/05/06 09:30:09.258 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:09.259 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=29] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tstats_data longblob NOT NULL,\n\t\tseq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice',\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version_seq (table_id, version, seq_no),\n\t\tKEY table_create_time (table_id, create_time, seq_no),\n \tKEY idx_create_time (create_time)\n\t);"] [user=] [2024/05/06 09:30:09.270 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:09.261 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:09.270 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:09.261 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tstats_data longblob NOT NULL,\n\t\tseq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice',\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version_seq (table_id, version, seq_no),\n\t\tKEY table_create_time (table_id, create_time, seq_no),\n \tKEY idx_create_time (create_time)\n\t);"] [2024/05/06 09:30:09.278 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=61] [category=ddl] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:09.261 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:09.284 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=29] [neededSchemaVersion=30] ["start time"=450.278µs] [gotSchemaVersion=30] [phyTblIDs="[60]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:09.285 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:09.285 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=61] [version=30] [2024/05/06 09:30:09.288 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=30] ["take time"=4.483211ms] [job="ID:61, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:09.261 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:09.300 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=61] [job="ID:61, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:09.261 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:09.304 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=61] [2024/05/06 09:30:09.304 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:09.305 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=30] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_meta_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL,\n\t\tcount bigint(64) NOT NULL,\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n \tsource varchar(40) NOT NULL,\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version (table_id, version),\n\t\tKEY table_create_time (table_id, create_time),\n \tKEY idx_create_time (create_time)\n\t);"] [user=] [2024/05/06 09:30:09.308 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:09.306 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:09.308 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:09.306 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_meta_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL,\n\t\tcount bigint(64) NOT NULL,\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n \tsource varchar(40) NOT NULL,\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version (table_id, version),\n\t\tKEY table_create_time (table_id, create_time),\n \tKEY idx_create_time (create_time)\n\t);"] [2024/05/06 09:30:09.317 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=63] [category=ddl] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:09.306 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:09.329 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=30] [neededSchemaVersion=31] ["start time"=355.371µs] [gotSchemaVersion=31] [phyTblIDs="[62]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:09.330 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:09.330 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=63] [version=31] [2024/05/06 09:30:09.333 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=31] ["take time"=4.560882ms] [job="ID:63, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:09.306 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:09.338 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=63] [job="ID:63, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:09.306 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:09.343 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=63] [2024/05/06 09:30:09.343 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:09.343 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=31] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_jobs (\n\t\tid BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\ttable_schema CHAR(64) NOT NULL DEFAULT '',\n\t\ttable_name CHAR(64) NOT NULL DEFAULT '',\n\t\tpartition_name CHAR(64) NOT NULL DEFAULT '',\n\t\tjob_info TEXT NOT NULL,\n\t\tprocessed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tstart_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tstate ENUM('pending', 'running', 'finished', 'failed') NOT NULL,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job',\n\t\tprocess_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job',\n\t\tPRIMARY KEY (id),\n\t\tKEY (update_time)\n\t);"] [user=] [2024/05/06 09:30:09.350 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:09.348 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:09.350 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:09.348 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.analyze_jobs (\n\t\tid BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\ttable_schema CHAR(64) NOT NULL DEFAULT '',\n\t\ttable_name CHAR(64) NOT NULL DEFAULT '',\n\t\tpartition_name CHAR(64) NOT NULL DEFAULT '',\n\t\tjob_info TEXT NOT NULL,\n\t\tprocessed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tstart_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tstate ENUM('pending', 'running', 'finished', 'failed') NOT NULL,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job',\n\t\tprocess_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job',\n\t\tPRIMARY KEY (id),\n\t\tKEY (update_time)\n\t);"] [2024/05/06 09:30:09.362 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=65] [category=ddl] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:09.348 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:09.369 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=31] [neededSchemaVersion=32] ["start time"=547.548µs] [gotSchemaVersion=32] [phyTblIDs="[64]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:09.370 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:09.371 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=65] [version=32] [2024/05/06 09:30:09.372 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=32] ["take time"=4.303575ms] [job="ID:65, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:09.348 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:09.384 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=65] [job="ID:65, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:09.348 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:09.388 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=65] [2024/05/06 09:30:09.388 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:09.388 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 09:30:09.388 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 09:30:09.389 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=32] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] [user=] [2024/05/06 09:30:09.392 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:09.39 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:09.392 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:09.39 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] [2024/05/06 09:30:09.404 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=67] [category=ddl] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:09.39 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:09.407 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=234.932µs] [gotSchemaVersion=33] [phyTblIDs="[66]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:09.409 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:09.409 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=67] [version=33] [2024/05/06 09:30:09.410 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=33] ["take time"=4.034182ms] [job="ID:67, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:09.39 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:09.419 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=67] [job="ID:67, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:09.39 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:09.422 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=67] [2024/05/06 09:30:09.422 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:09.428 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2024-05-06 09:30:09.425 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:09.428 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2024-05-06 09:30:09.425 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE OR REPLACE VIEW mysql.tidb_mdl_view as (\n\t\tSELECT tidb_mdl_info.job_id,\n\t\t\tJSON_UNQUOTE(JSON_EXTRACT(cast(cast(job_meta as char) as json), \"$.schema_name\")) as db_name,\n\t\t\tJSON_UNQUOTE(JSON_EXTRACT(cast(cast(job_meta as char) as json), \"$.table_name\")) as table_name,\n\t\t\tJSON_UNQUOTE(JSON_EXTRACT(cast(cast(job_meta as char) as json), \"$.query\")) as query,\n\t\t\tsession_id,\n\t\t\tcluster_tidb_trx.start_time,\n\t\t\ttidb_decode_sql_digests(all_sql_digests, 4096) AS SQL_DIGESTS\n\t\tFROM mysql.tidb_ddl_job,\n\t\t\tmysql.tidb_mdl_info,\n\t\t\tinformation_schema.cluster_tidb_trx\n\t\tWHERE tidb_ddl_job.job_id=tidb_mdl_info.job_id\n\t\t\tAND CONCAT(',', tidb_mdl_info.table_ids, ',') REGEXP CONCAT(',', REPLACE(cluster_tidb_trx.related_table_ids, ',', '|'), ',') != 0\n\t);"] [2024/05/06 09:30:09.435 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=69] [category=ddl] [job="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:09.425 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:09.440 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=33] [neededSchemaVersion=34] ["start time"=331.189µs] [gotSchemaVersion=34] [phyTblIDs="[68]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2024/05/06 09:30:09.441 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:09.441 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=69] [version=34] [2024/05/06 09:30:09.442 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=34] ["take time"=2.847234ms] [job="ID:69, Type:create view, State:done, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2024-05-06 09:30:09.425 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:09.448 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=69] [job="ID:69, Type:create view, State:synced, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:09.425 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:09.451 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=69] [2024/05/06 09:30:09.451 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:09.452 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=34] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_status (\n\t\tsql_digest VARCHAR(128),\n\t\tplan_digest VARCHAR(128),\n\t\torigin_sql TEXT,\n\t\ttoken VARCHAR(128),\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the plan replayer job');"] [user=] [2024/05/06 09:30:09.454 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:09.453 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:09.454 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:09.453 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_status (\n\t\tsql_digest VARCHAR(128),\n\t\tplan_digest VARCHAR(128),\n\t\torigin_sql TEXT,\n\t\ttoken VARCHAR(128),\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the plan replayer job');"] [2024/05/06 09:30:09.462 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=71] [category=ddl] [job="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:09.453 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:09.467 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=34] [neededSchemaVersion=35] ["start time"=344.798µs] [gotSchemaVersion=35] [phyTblIDs="[70]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:09.468 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:09.468 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=71] [version=35] [2024/05/06 09:30:09.473 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=35] ["take time"=6.93106ms] [job="ID:71, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:09.453 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:09.481 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=71] [job="ID:71, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:09.453 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:09.486 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=71] [2024/05/06 09:30:09.486 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:09.486 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 09:30:09.486 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 09:30:09.486 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=35] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_task (\n\t\tsql_digest VARCHAR(128) NOT NULL,\n\t\tplan_digest VARCHAR(128) NOT NULL,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tPRIMARY KEY (sql_digest,plan_digest));"] [user=] [2024/05/06 09:30:09.491 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:09.489 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:09.491 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:09.489 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_task (\n\t\tsql_digest VARCHAR(128) NOT NULL,\n\t\tplan_digest VARCHAR(128) NOT NULL,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tPRIMARY KEY (sql_digest,plan_digest));"] [2024/05/06 09:30:09.496 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=73] [category=ddl] [job="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:09.489 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:09.499 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=35] [neededSchemaVersion=36] ["start time"=293.379µs] [gotSchemaVersion=36] [phyTblIDs="[72]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:09.501 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:09.501 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=73] [version=36] [2024/05/06 09:30:09.503 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=36] ["take time"=4.310376ms] [job="ID:73, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:09.489 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:09.512 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=73] [job="ID:73, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:09.489 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:09.516 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=73] [2024/05/06 09:30:09.516 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:09.517 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=36] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_table_locked(\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL DEFAULT 0,\n\t\tcount bigint(64) NOT NULL DEFAULT 0,\n\t\tversion bigint(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (table_id));"] [user=] [2024/05/06 09:30:09.520 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:09.518 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:09.520 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:09.518 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_table_locked(\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL DEFAULT 0,\n\t\tcount bigint(64) NOT NULL DEFAULT 0,\n\t\tversion bigint(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (table_id));"] [2024/05/06 09:30:09.530 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=75] [category=ddl] [job="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:09.518 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:09.534 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=36] [neededSchemaVersion=37] ["start time"=274.456µs] [gotSchemaVersion=37] [phyTblIDs="[74]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:09.535 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:09.535 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=75] [version=37] [2024/05/06 09:30:09.538 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=37] ["take time"=5.038922ms] [job="ID:75, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:09.518 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:09.545 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=75] [job="ID:75, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:09.518 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:09.549 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=75] [2024/05/06 09:30:09.549 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:09.549 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=37] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_table_status (\n\t\ttable_id bigint(64) PRIMARY KEY,\n parent_table_id bigint(64),\n table_statistics text DEFAULT NULL,\n\t\tlast_job_id varchar(64) DEFAULT NULL,\n\t\tlast_job_start_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_finish_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_ttl_expire timestamp NULL DEFAULT NULL,\n last_job_summary text DEFAULT NULL,\n\t\tcurrent_job_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_addr varchar(256) DEFAULT NULL,\n\t\tcurrent_job_owner_hb_time timestamp,\n\t\tcurrent_job_start_time timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_ttl_expire timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_state text DEFAULT NULL,\n\t\tcurrent_job_status varchar(64) DEFAULT NULL,\n \t\tcurrent_job_status_update_time timestamp NULL DEFAULT NULL);"] [user=] [2024/05/06 09:30:09.598 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:09.551 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:09.598 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:09.551 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_table_status (\n\t\ttable_id bigint(64) PRIMARY KEY,\n parent_table_id bigint(64),\n table_statistics text DEFAULT NULL,\n\t\tlast_job_id varchar(64) DEFAULT NULL,\n\t\tlast_job_start_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_finish_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_ttl_expire timestamp NULL DEFAULT NULL,\n last_job_summary text DEFAULT NULL,\n\t\tcurrent_job_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_addr varchar(256) DEFAULT NULL,\n\t\tcurrent_job_owner_hb_time timestamp,\n\t\tcurrent_job_start_time timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_ttl_expire timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_state text DEFAULT NULL,\n\t\tcurrent_job_status varchar(64) DEFAULT NULL,\n \t\tcurrent_job_status_update_time timestamp NULL DEFAULT NULL);"] [2024/05/06 09:30:09.630 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=77] [category=ddl] [job="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:09.551 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:09.639 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=37] [neededSchemaVersion=38] ["start time"=650.045µs] [gotSchemaVersion=38] [phyTblIDs="[76]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:09.641 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:09.641 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=77] [version=38] [2024/05/06 09:30:09.643 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=38] ["take time"=4.942126ms] [job="ID:77, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:09.551 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:09.653 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=77] [job="ID:77, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:09.551 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:09.665 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=77] [2024/05/06 09:30:09.665 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:09.665 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 09:30:09.665 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 09:30:09.665 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 09:30:09.667 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=38] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_task (\n\t\tjob_id varchar(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tscan_id int NOT NULL,\n\t\tscan_range_start BLOB,\n\t\tscan_range_end BLOB,\n\t\texpire_time timestamp NOT NULL,\n\t\towner_id varchar(64) DEFAULT NULL,\n\t\towner_addr varchar(64) DEFAULT NULL,\n\t\towner_hb_time timestamp DEFAULT NULL,\n\t\tstatus varchar(64) DEFAULT 'waiting',\n\t\tstatus_update_time timestamp NULL DEFAULT NULL,\n\t\tstate text,\n\t\tcreated_time timestamp NOT NULL,\n\t\tprimary key(job_id, scan_id),\n\t\tkey(created_time));"] [user=] [2024/05/06 09:30:09.673 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:09.67 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:09.673 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:09.67 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_task (\n\t\tjob_id varchar(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tscan_id int NOT NULL,\n\t\tscan_range_start BLOB,\n\t\tscan_range_end BLOB,\n\t\texpire_time timestamp NOT NULL,\n\t\towner_id varchar(64) DEFAULT NULL,\n\t\towner_addr varchar(64) DEFAULT NULL,\n\t\towner_hb_time timestamp DEFAULT NULL,\n\t\tstatus varchar(64) DEFAULT 'waiting',\n\t\tstatus_update_time timestamp NULL DEFAULT NULL,\n\t\tstate text,\n\t\tcreated_time timestamp NOT NULL,\n\t\tprimary key(job_id, scan_id),\n\t\tkey(created_time));"] [2024/05/06 09:30:09.685 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=79] [category=ddl] [job="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:09.67 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:09.690 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=38] [neededSchemaVersion=39] ["start time"=676.008µs] [gotSchemaVersion=39] [phyTblIDs="[78]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:09.692 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:09.692 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=79] [version=39] [2024/05/06 09:30:09.694 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=39] ["take time"=4.082762ms] [job="ID:79, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:09.67 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:09.701 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=79] [job="ID:79, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:09.67 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:09.707 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=79] [2024/05/06 09:30:09.707 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:09.707 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 09:30:09.708 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=39] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_job_history (\n\t\tjob_id varchar(64) PRIMARY KEY,\n\t\ttable_id bigint(64) NOT NULL,\n parent_table_id bigint(64) NOT NULL,\n \ttable_schema varchar(64) NOT NULL,\n\t\ttable_name varchar(64) NOT NULL,\n \tpartition_name varchar(64) DEFAULT NULL,\n\t\tcreate_time timestamp NOT NULL,\n\t\tfinish_time timestamp NOT NULL,\n\t\tttl_expire timestamp NOT NULL,\n summary_text text,\n\t\texpired_rows bigint(64) DEFAULT NULL,\n \tdeleted_rows bigint(64) DEFAULT NULL,\n \terror_delete_rows bigint(64) DEFAULT NULL,\n \tstatus varchar(64) NOT NULL,\n \tkey(table_schema, table_name, create_time),\n \tkey(parent_table_id, create_time),\n \tkey(create_time)\n\t);"] [user=] [2024/05/06 09:30:09.713 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:09.71 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:09.713 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:09.71 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_job_history (\n\t\tjob_id varchar(64) PRIMARY KEY,\n\t\ttable_id bigint(64) NOT NULL,\n parent_table_id bigint(64) NOT NULL,\n \ttable_schema varchar(64) NOT NULL,\n\t\ttable_name varchar(64) NOT NULL,\n \tpartition_name varchar(64) DEFAULT NULL,\n\t\tcreate_time timestamp NOT NULL,\n\t\tfinish_time timestamp NOT NULL,\n\t\tttl_expire timestamp NOT NULL,\n summary_text text,\n\t\texpired_rows bigint(64) DEFAULT NULL,\n \tdeleted_rows bigint(64) DEFAULT NULL,\n \terror_delete_rows bigint(64) DEFAULT NULL,\n \tstatus varchar(64) NOT NULL,\n \tkey(table_schema, table_name, create_time),\n \tkey(parent_table_id, create_time),\n \tkey(create_time)\n\t);"] [2024/05/06 09:30:09.723 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=81] [category=ddl] [job="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:80, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:09.71 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:09.729 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=39] [neededSchemaVersion=40] ["start time"=601.497µs] [gotSchemaVersion=40] [phyTblIDs="[80]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:09.730 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:09.730 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=81] [version=40] [2024/05/06 09:30:09.733 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=40] ["take time"=4.707635ms] [job="ID:81, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:09.71 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:09.739 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=81] [job="ID:81, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:80, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:09.71 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:09.744 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=81] [2024/05/06 09:30:09.744 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:09.744 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 09:30:09.745 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=40] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(261),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tpriority INT DEFAULT 1,\n\t\tcreate_time TIMESTAMP,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\ttarget_scope VARCHAR(256) DEFAULT \"\",\n\t\terror BLOB,\n\t\tkey(state),\n \tUNIQUE KEY task_key(task_key)\n\t);"] [user=] [2024/05/06 09:30:09.749 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:09.746 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:09.749 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:09.746 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(261),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tpriority INT DEFAULT 1,\n\t\tcreate_time TIMESTAMP,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\ttarget_scope VARCHAR(256) DEFAULT \"\",\n\t\terror BLOB,\n\t\tkey(state),\n \tUNIQUE KEY task_key(task_key)\n\t);"] [2024/05/06 09:30:09.757 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=83] [category=ddl] [job="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:82, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:09.746 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:09.769 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=40] [neededSchemaVersion=41] ["start time"=627.062µs] [gotSchemaVersion=41] [phyTblIDs="[82]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:09.770 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:09.770 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=83] [version=41] [2024/05/06 09:30:09.772 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=41] ["take time"=4.198933ms] [job="ID:83, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:09.746 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:09.779 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=83] [job="ID:83, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:82, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:09.746 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:09.784 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=83] [2024/05/06 09:30:09.784 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:09.785 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=41] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task_history (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(261),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tpriority INT DEFAULT 1,\n\t\tcreate_time TIMESTAMP,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\ttarget_scope VARCHAR(256) DEFAULT \"\",\n\t\terror BLOB,\n\t\tkey(state),\n \tUNIQUE KEY task_key(task_key)\n\t);"] [user=] [2024/05/06 09:30:09.789 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:85, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:84, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:09.787 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:09.789 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:85, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:84, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:09.787 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task_history (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(261),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tpriority INT DEFAULT 1,\n\t\tcreate_time TIMESTAMP,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\ttarget_scope VARCHAR(256) DEFAULT \"\",\n\t\terror BLOB,\n\t\tkey(state),\n \tUNIQUE KEY task_key(task_key)\n\t);"] [2024/05/06 09:30:09.796 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=85] [category=ddl] [job="ID:85, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:84, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:09.787 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:09.802 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=41] [neededSchemaVersion=42] ["start time"=615.478µs] [gotSchemaVersion=42] [phyTblIDs="[84]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:09.804 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:09.804 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=85] [version=42] [2024/05/06 09:30:09.806 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=42] ["take time"=4.997254ms] [job="ID:85, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:84, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:09.787 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:09.813 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=85] [job="ID:85, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:84, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:09.787 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:09.817 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=85] [2024/05/06 09:30:09.817 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:09.818 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=42] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_import_jobs (\n\t\tid bigint(64) NOT NULL AUTO_INCREMENT,\n\t\tcreate_time TIMESTAMP(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n\t\tstart_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tupdate_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tend_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\ttable_schema VARCHAR(64) NOT NULL,\n\t\ttable_name VARCHAR(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcreated_by VARCHAR(300) NOT NULL,\n\t\tparameters text NOT NULL,\n\t\tsource_file_size bigint(64) NOT NULL,\n\t\tstatus VARCHAR(64) NOT NULL,\n\t\tstep VARCHAR(64) NOT NULL,\n\t\tsummary text DEFAULT NULL,\n\t\terror_message TEXT DEFAULT NULL,\n\t\tPRIMARY KEY (id),\n\t\tKEY (created_by),\n\t\tKEY (status));"] [user=] [2024/05/06 09:30:09.823 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:87, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:86, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:09.821 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:09.824 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:87, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:86, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:09.821 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_import_jobs (\n\t\tid bigint(64) NOT NULL AUTO_INCREMENT,\n\t\tcreate_time TIMESTAMP(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n\t\tstart_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tupdate_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tend_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\ttable_schema VARCHAR(64) NOT NULL,\n\t\ttable_name VARCHAR(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcreated_by VARCHAR(300) NOT NULL,\n\t\tparameters text NOT NULL,\n\t\tsource_file_size bigint(64) NOT NULL,\n\t\tstatus VARCHAR(64) NOT NULL,\n\t\tstep VARCHAR(64) NOT NULL,\n\t\tsummary text DEFAULT NULL,\n\t\terror_message TEXT DEFAULT NULL,\n\t\tPRIMARY KEY (id),\n\t\tKEY (created_by),\n\t\tKEY (status));"] [2024/05/06 09:30:09.831 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=87] [category=ddl] [job="ID:87, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:86, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:09.821 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:09.835 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=42] [neededSchemaVersion=43] ["start time"=598.629µs] [gotSchemaVersion=43] [phyTblIDs="[86]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:09.837 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:09.837 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=87] [version=43] [2024/05/06 09:30:09.840 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=43] ["take time"=5.004549ms] [job="ID:87, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:86, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:09.821 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:09.846 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=87] [job="ID:87, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:86, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:09.821 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:09.851 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=87] [2024/05/06 09:30:09.851 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:09.851 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 09:30:09.851 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 09:30:09.851 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 09:30:09.851 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=43] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tINDEX sql_index(resource_group_name,watch_text(700)) COMMENT \"accelerate the speed when select quarantined query\",\n\t\tINDEX time_index(end_time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2024/05/06 09:30:09.855 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:89, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:88, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:09.853 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:09.855 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:89, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:88, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:09.853 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tINDEX sql_index(resource_group_name,watch_text(700)) COMMENT \"accelerate the speed when select quarantined query\",\n\t\tINDEX time_index(end_time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2024/05/06 09:30:09.870 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=89] [category=ddl] [job="ID:89, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:88, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:09.853 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:09.876 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=43] [neededSchemaVersion=44] ["start time"=373.674µs] [gotSchemaVersion=44] [phyTblIDs="[88]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:09.877 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:09.877 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=89] [version=44] [2024/05/06 09:30:09.878 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=44] ["take time"=2.626937ms] [job="ID:89, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:88, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:09.853 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:09.883 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=89] [job="ID:89, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:88, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:09.853 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:09.887 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=89] [2024/05/06 09:30:09.887 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:09.887 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 09:30:09.888 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=44] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_queries (\n\t\tresource_group_name varchar(32) not null,\n\t\ttime TIMESTAMP NOT NULL,\n\t\tmatch_type varchar(12) NOT NULL,\n\t\taction varchar(12) NOT NULL,\n\t\toriginal_sql TEXT NOT NULL,\n\t\tplan_digest TEXT NOT NULL,\n\t\ttidb_server varchar(512),\n\t\tINDEX plan_index(plan_digest(64)) COMMENT \"accelerate the speed when select runaway query\",\n\t\tINDEX time_index(time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2024/05/06 09:30:09.891 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:91, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:90, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:09.89 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:09.891 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:91, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:90, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:09.89 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_queries (\n\t\tresource_group_name varchar(32) not null,\n\t\ttime TIMESTAMP NOT NULL,\n\t\tmatch_type varchar(12) NOT NULL,\n\t\taction varchar(12) NOT NULL,\n\t\toriginal_sql TEXT NOT NULL,\n\t\tplan_digest TEXT NOT NULL,\n\t\ttidb_server varchar(512),\n\t\tINDEX plan_index(plan_digest(64)) COMMENT \"accelerate the speed when select runaway query\",\n\t\tINDEX time_index(time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2024/05/06 09:30:09.900 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=91] [category=ddl] [job="ID:91, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:90, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:09.89 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:09.903 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=44] [neededSchemaVersion=45] ["start time"=359.376µs] [gotSchemaVersion=45] [phyTblIDs="[90]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:09.904 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:09.904 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=91] [version=45] [2024/05/06 09:30:09.905 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=45] ["take time"=2.092758ms] [job="ID:91, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:90, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:09.89 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:09.909 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=91] [job="ID:91, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:90, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:09.89 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:09.913 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=91] [2024/05/06 09:30:09.913 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:09.913 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 09:30:09.913 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 09:30:09.914 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=45] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS `mysql`.`tidb_timers` (\n\t\tID BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tNAMESPACE VARCHAR(256) NOT NULL,\n\t\tTIMER_KEY VARCHAR(256) NOT NULL,\n\t\tTIMER_DATA BLOB,\n\t\tTIMEZONE VARCHAR(64) NOT NULL,\n\t\tSCHED_POLICY_TYPE VARCHAR(32) NOT NULL,\n\t\tSCHED_POLICY_EXPR VARCHAR(256) NOT NULL,\n\t\tHOOK_CLASS VARCHAR(64) NOT NULL,\n\t\tWATERMARK TIMESTAMP DEFAULT NULL,\n\t\tENABLE TINYINT(2) NOT NULL,\n\t\tTIMER_EXT JSON NOT NULL,\n\t\tEVENT_STATUS VARCHAR(32) NOT NULL,\n\t\tEVENT_ID VARCHAR(64) NOT NULL,\n\t\tEVENT_DATA BLOB,\n\t\tEVENT_START TIMESTAMP DEFAULT NULL,\n\t\tSUMMARY_DATA BLOB,\n\t\tCREATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,\n\t\tUPDATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tVERSION BIGINT(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (ID),\n\t\tUNIQUE KEY timer_key(NAMESPACE, TIMER_KEY),\n\t\tKEY hook_class(HOOK_CLASS)\n\t)"] [user=] [2024/05/06 09:30:09.918 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:93, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:92, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:09.915 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:09.918 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:93, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:92, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:09.915 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS `mysql`.`tidb_timers` (\n\t\tID BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tNAMESPACE VARCHAR(256) NOT NULL,\n\t\tTIMER_KEY VARCHAR(256) NOT NULL,\n\t\tTIMER_DATA BLOB,\n\t\tTIMEZONE VARCHAR(64) NOT NULL,\n\t\tSCHED_POLICY_TYPE VARCHAR(32) NOT NULL,\n\t\tSCHED_POLICY_EXPR VARCHAR(256) NOT NULL,\n\t\tHOOK_CLASS VARCHAR(64) NOT NULL,\n\t\tWATERMARK TIMESTAMP DEFAULT NULL,\n\t\tENABLE TINYINT(2) NOT NULL,\n\t\tTIMER_EXT JSON NOT NULL,\n\t\tEVENT_STATUS VARCHAR(32) NOT NULL,\n\t\tEVENT_ID VARCHAR(64) NOT NULL,\n\t\tEVENT_DATA BLOB,\n\t\tEVENT_START TIMESTAMP DEFAULT NULL,\n\t\tSUMMARY_DATA BLOB,\n\t\tCREATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,\n\t\tUPDATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tVERSION BIGINT(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (ID),\n\t\tUNIQUE KEY timer_key(NAMESPACE, TIMER_KEY),\n\t\tKEY hook_class(HOOK_CLASS)\n\t)"] [2024/05/06 09:30:09.925 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=93] [category=ddl] [job="ID:93, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:92, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:09.915 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:09.931 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=45] [neededSchemaVersion=46] ["start time"=462.822µs] [gotSchemaVersion=46] [phyTblIDs="[92]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:09.932 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:09.932 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=93] [version=46] [2024/05/06 09:30:09.933 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=46] ["take time"=2.507908ms] [job="ID:93, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:09.915 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:09.938 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=93] [job="ID:93, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:09.915 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:09.942 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=93] [2024/05/06 09:30:09.943 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:09.943 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=46] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch_done (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\trecord_id BIGINT(20) not null,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tdone_time TIMESTAMP(6) NOT NULL\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2024/05/06 09:30:09.946 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:95, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:94, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:09.944 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:09.946 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:95, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:94, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:09.944 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch_done (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\trecord_id BIGINT(20) not null,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tdone_time TIMESTAMP(6) NOT NULL\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2024/05/06 09:30:09.953 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=95] [category=ddl] [job="ID:95, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:94, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:09.944 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:09.958 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=46] [neededSchemaVersion=47] ["start time"=486.747µs] [gotSchemaVersion=47] [phyTblIDs="[94]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:09.960 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:09.960 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=95] [version=47] [2024/05/06 09:30:09.962 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=47] ["take time"=4.07943ms] [job="ID:95, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:94, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:09.944 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:09.970 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=95] [job="ID:95, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:94, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:09.944 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:09.974 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=95] [2024/05/06 09:30:09.974 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:09.975 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 09:30:09.975 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=47] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.dist_framework_meta (\n host VARCHAR(261) NOT NULL PRIMARY KEY,\n role VARCHAR(64),\n cpu_count int default 0,\n keyspace_id bigint(8) NOT NULL DEFAULT -1\n );"] [user=] [2024/05/06 09:30:09.978 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:97, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:96, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:09.977 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:09.978 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:97, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:96, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:09.977 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.dist_framework_meta (\n host VARCHAR(261) NOT NULL PRIMARY KEY,\n role VARCHAR(64),\n cpu_count int default 0,\n keyspace_id bigint(8) NOT NULL DEFAULT -1\n );"] [2024/05/06 09:30:09.986 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=97] [category=ddl] [job="ID:97, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:96, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:09.977 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:09.989 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=47] [neededSchemaVersion=48] ["start time"=358.9µs] [gotSchemaVersion=48] [phyTblIDs="[96]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:09.990 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:09.990 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=97] [version=48] [2024/05/06 09:30:09.991 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=48] ["take time"=2.454181ms] [job="ID:97, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:96, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:09.977 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:09.995 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=97] [job="ID:97, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:96, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:09.977 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:09.998 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=97] [2024/05/06 09:30:09.998 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:09.999 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=48] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.request_unit_by_group (\n\t\tstart_time TIMESTAMP(6) NOT NULL,\n\t\tend_time TIMESTAMP(6) NOT NULL,\n\t\tresource_group VARCHAR(32) NOT null,\n\t\ttotal_ru bigint(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (start_time, end_time, resource_group),\n\t\tKEY (resource_group)\n\t);"] [user=] [2024/05/06 09:30:10.001 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:99, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:98, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:10 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:10.002 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:99, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:98, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:10 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.request_unit_by_group (\n\t\tstart_time TIMESTAMP(6) NOT NULL,\n\t\tend_time TIMESTAMP(6) NOT NULL,\n\t\tresource_group VARCHAR(32) NOT null,\n\t\ttotal_ru bigint(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (start_time, end_time, resource_group),\n\t\tKEY (resource_group)\n\t);"] [2024/05/06 09:30:10.009 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=99] [category=ddl] [job="ID:99, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:98, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:10 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:10.012 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=48] [neededSchemaVersion=49] ["start time"=296.328µs] [gotSchemaVersion=49] [phyTblIDs="[98]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:10.013 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:10.013 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=99] [version=49] [2024/05/06 09:30:10.014 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=49] ["take time"=2.166655ms] [job="ID:99, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:98, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:10 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:10.018 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=99] [job="ID:99, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:98, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:10 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:10.022 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=99] [2024/05/06 09:30:10.022 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:10.022 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=49] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS sys;"] [user=] [2024/05/06 09:30:10.024 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:101, Type:create schema, State:queueing, SchemaState:none, SchemaID:100, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:30:10.023 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:10.024 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:101, Type:create schema, State:queueing, SchemaState:none, SchemaID:100, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:30:10.023 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE DATABASE IF NOT EXISTS sys;"] [2024/05/06 09:30:10.034 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=101] [category=ddl] [job="ID:101, Type:create schema, State:queueing, SchemaState:none, SchemaID:100, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:10.023 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:10.046 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=49] [neededSchemaVersion=50] ["start time"=67.783µs] [gotSchemaVersion=50] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2024/05/06 09:30:10.048 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:10.048 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=101] [version=50] [2024/05/06 09:30:10.048 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=50] ["take time"=2.288698ms] [job="ID:101, Type:create schema, State:done, SchemaState:public, SchemaID:100, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:30:10.023 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:10.052 +00:00] [INFO] [info.go:1142] [SetTiFlashGroupConfig] [2024/05/06 09:30:10.053 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=101] [job="ID:101, Type:create schema, State:synced, SchemaState:public, SchemaID:100, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:10.023 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:10.055 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=101] [2024/05/06 09:30:10.055 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:10.062 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:103, Type:create view, State:queueing, SchemaState:none, SchemaID:100, TableID:102, RowCount:0, ArgLen:3, start time: 2024-05-06 09:30:10.06 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:10.062 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:103, Type:create view, State:queueing, SchemaState:none, SchemaID:100, TableID:102, RowCount:0, ArgLen:3, start time: 2024-05-06 09:30:10.06 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE OR REPLACE VIEW sys.schema_unused_indexes AS\n\t\tSELECT\n\t\t\ttable_schema as object_schema,\n\t\t\ttable_name as object_name,\n\t\t\tindex_name\n\t\tFROM information_schema.cluster_tidb_index_usage\n\t\tWHERE\n\t\t\ttable_schema not in ('sys', 'mysql', 'INFORMATION_SCHEMA', 'PERFORMANCE_SCHEMA') and\n\t\t\tindex_name != 'PRIMARY'\n\t\tGROUP BY table_schema, table_name, index_name\n\t\tHAVING\n\t\t\tsum(last_access_time) is null;"] [2024/05/06 09:30:10.074 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=103] [category=ddl] [job="ID:103, Type:create view, State:queueing, SchemaState:none, SchemaID:100, TableID:102, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:10.06 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:10.077 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=50] [neededSchemaVersion=51] ["start time"=274.806µs] [gotSchemaVersion=51] [phyTblIDs="[102]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2024/05/06 09:30:10.079 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:10.079 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=103] [version=51] [2024/05/06 09:30:10.079 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=51] ["take time"=2.043573ms] [job="ID:103, Type:create view, State:done, SchemaState:public, SchemaID:100, TableID:102, RowCount:0, ArgLen:3, start time: 2024-05-06 09:30:10.06 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:10.087 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=103] [job="ID:103, Type:create view, State:synced, SchemaState:public, SchemaID:100, TableID:102, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:10.06 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:10.090 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=103] [2024/05/06 09:30:10.090 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:10.126 +00:00] [INFO] [bootstrap.go:745] ["bootstrap successful"] ["take time"=2.074953851s] [2024/05/06 09:30:10.126 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=f0dddb28-b1fd-4eb3-829e-b8d67d5ac7ad] [ownerKey=/tidb/ddl/fg/owner] [2024/05/06 09:30:10.126 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/06 09:30:10.127 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 44, tp add index"] [category=ddl] ["take time"=2.946µs] [2024/05/06 09:30:10.127 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 45, tp add index"] [category=ddl] ["take time"=1.136µs] [2024/05/06 09:30:10.127 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 42, tp add index"] [category=ddl] ["take time"=1.366µs] [2024/05/06 09:30:10.127 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 43, tp add index"] [category=ddl] ["take time"=1.245µs] [2024/05/06 09:30:10.127 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/06 09:30:10.127 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 41, tp general"] [category=ddl] ["take time"=930ns] [2024/05/06 09:30:10.127 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/06 09:30:10.127 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2024/05/06 09:30:10.127 +00:00] [INFO] [session_pool.go:99] ["closing session pool"] [category=ddl] [2024/05/06 09:30:10.131 +00:00] [INFO] [ddl.go:951] ["DDL closed"] [category=ddl] [ID=f0dddb28-b1fd-4eb3-829e-b8d67d5ac7ad] ["take time"=4.612922ms] [2024/05/06 09:30:10.131 +00:00] [INFO] [ddl.go:769] ["stop DDL"] [category=ddl] [ID=f0dddb28-b1fd-4eb3-829e-b8d67d5ac7ad] [2024/05/06 09:30:10.131 +00:00] [INFO] [domain.go:683] ["topNSlowQueryLoop exited."] [2024/05/06 09:30:10.131 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2024/05/06 09:30:10.131 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2024/05/06 09:30:10.131 +00:00] [INFO] [domain.go:761] ["topologySyncerKeeper exited."] [2024/05/06 09:30:10.131 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2024/05/06 09:30:10.131 +00:00] [INFO] [domain.go:737] ["globalConfigSyncerKeeper exited."] [2024/05/06 09:30:10.131 +00:00] [INFO] [domain.go:711] ["infoSyncerKeeper exited."] [2024/05/06 09:30:10.131 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2024/05/06 09:30:10.131 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/06 09:30:10.131 +00:00] [INFO] [domain.go:907] ["loadSchemaInLoop exited."] [2024/05/06 09:30:10.131 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2024/05/06 09:30:10.131 +00:00] [INFO] [domain.go:1074] ["domain closed"] ["take time"=5.104464ms] [2024/05/06 09:30:10.132 +00:00] [INFO] [tidb.go:80] ["new domain"] [store=173fb52c-b1c3-457c-abde-e2e5bc4a8759] ["ddl lease"=500ms] ["stats lease"=-1ns] [2024/05/06 09:30:10.141 +00:00] [WARN] [runaway.go:462] ["cannot setup up resource controller, not using tikv storage"] [2024/05/06 09:30:10.158 +00:00] [INFO] [domain.go:315] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=51] ["start time"=17.226473ms] [2024/05/06 09:30:10.158 +00:00] [INFO] [domain.go:635] ["full load and reset schema validator"] [2024/05/06 09:30:10.159 +00:00] [INFO] [ddl.go:818] ["start DDL"] [category=ddl] [ID=dcdae827-f6a6-43c3-8805-a2c41e56c17d] [runWorker=true] [2024/05/06 09:30:10.160 +00:00] [INFO] [ddl.go:777] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=true] [2024/05/06 09:30:10.160 +00:00] [WARN] [env.go:51] ["initialize environment failed"] [category=ddl-ingest] ["storage limitation"="only support TiKV storage"] ["current storage"=unistore] ["lightning is initialized"=false] [2024/05/06 09:30:10.160 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2024/05/06 09:30:10.160 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=mdlCheckLoop] [2024/05/06 09:30:10.160 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2024/05/06 09:30:10.160 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2024/05/06 09:30:10.160 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/06 09:30:10.160 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayStartLoop] [2024/05/06 09:30:10.160 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/06 09:30:10.160 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2024/05/06 09:30:10.160 +00:00] [WARN] [domain.go:1326] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/06 09:30:10.162 +00:00] [INFO] [delete_range.go:172] ["start delRange emulator"] [category=ddl] [2024/05/06 09:30:10.162 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/06 09:30:10.162 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/06 09:30:10.162 +00:00] [INFO] [runaway.go:149] ["try to start runaway manager loop"] [2024/05/06 09:30:10.164 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2024/05/06 09:30:10.165 +00:00] [WARN] [sysvar_cache.go:49] ["sysvar cache is empty, triggering rebuild"] [2024/05/06 09:30:10.181 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2024/05/06 09:30:10.185 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2024/05/06 09:30:10.187 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2024/05/06 09:30:10.187 +00:00] [INFO] [domain.go:2070] ["dumpFileGcChecker started"] [2024/05/06 09:30:10.188 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=indexUsageWorker] [2024/05/06 09:30:10.188 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=quitStatsOwner] [2024/05/06 09:30:10.189 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2024/05/06 09:30:10.189 +00:00] [INFO] [task_manager.go:217] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=0] [newCount=4] [2024/05/06 09:30:10.189 +00:00] [INFO] [task_manager.go:217] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=0] [newCount=4] [2024/05/06 09:30:10.189 +00:00] [INFO] [manager.go:113] ["build task executor manager"] [server-id=:4000] [total-cpu=16] [total-mem=342.3GiB] [2024/05/06 09:30:10.191 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2024/05/06 09:30:10.191 +00:00] [INFO] [manager.go:146] ["task executor manager start"] [server-id=:4000] [2024/05/06 09:30:10.191 +00:00] [INFO] [domain.go:1525] ["dist task executor manager started"] [2024/05/06 09:30:10.196 +00:00] [INFO] [set.go:170] ["set global var"] [conn=8] [name=tidb_schema_cache_size] [val=1024] [2024/05/06 09:30:10.197 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=8] [schemaVersion=51] [cur_db=test] [sql="DROP TABLE IF EXISTS t1, t2"] [user=] [2024/05/06 09:30:10.202 +00:00] [INFO] [set.go:170] ["set global var"] [conn=8] [name=tidb_enable_check_constraint] [val=1] [2024/05/06 09:30:10.202 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=8] [schemaVersion=51] [cur_db=test] [sql="CREATE TABLE t1 (id INT PRIMARY KEY, CONSTRAINT c1 CHECK (id<50))"] [user=] [2024/05/06 09:30:10.205 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:105, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:10.204 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:10.205 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:105, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:10.204 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE t1 (id INT PRIMARY KEY, CONSTRAINT c1 CHECK (id<50))"] [2024/05/06 09:30:10.213 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/06 09:30:10.213 +00:00] [INFO] [job_table.go:349] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2024/05/06 09:30:10.220 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 46, tp general"] [category=ddl] [jobID=105] [conn=8] [category=ddl] [job="ID:105, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:10.204 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:10.224 +00:00] [ERROR] [domain.go:291] ["failed to load schema diff"] [error="builder's (v2=true) infoschema mismatch, return error to trigger full reload"] [errorVerbose="builder's (v2=true) infoschema mismatch, return error to trigger full reload\ngithub.com/pingcap/tidb/pkg/infoschema.(*Builder).InitWithOldInfoSchema\n\tpkg/infoschema/builder.go:798\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).tryLoadSchemaDiffs\n\tpkg/domain/domain.go:459\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:276\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:606\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:919\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1287\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:99\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [stack="github.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:291\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:606\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:919\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1287\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:99"] [2024/05/06 09:30:10.251 +00:00] [INFO] [domain.go:315] ["full load InfoSchema success"] [currentSchemaVersion=51] [neededSchemaVersion=52] ["start time"=27.6295ms] [2024/05/06 09:30:10.256 +00:00] [INFO] [domain.go:635] ["full load and reset schema validator"] [2024/05/06 09:30:10.258 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=105] [version=52] [2024/05/06 09:30:10.263 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=52] ["take time"=39.637869ms] [job="ID:105, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:10.204 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:10.279 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 46, tp general"] [category=ddl] [jobID=105] [conn=8] [job="ID:105, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:10.204 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:10.285 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=105] [2024/05/06 09:30:10.285 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:10.286 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=8] [schemaVersion=52] [cur_db=test] [sql="CREATE TABLE t2 (id INT PRIMARY KEY, CONSTRAINT c1 CHECK (id<50))"] [user=] [2024/05/06 09:30:10.293 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:107, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:106, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:10.288 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:10.293 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:107, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:106, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:10.288 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE t2 (id INT PRIMARY KEY, CONSTRAINT c1 CHECK (id<50))"] [2024/05/06 09:30:10.302 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 46, tp general"] [category=ddl] [jobID=107] [conn=8] [category=ddl] [job="ID:107, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:106, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:10.288 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:10.302 +00:00] [INFO] [ddl_worker.go:1144] ["DDL job is cancelled normally"] [worker="worker 46, tp general"] [category=ddl] [jobID=107] [conn=8] [error="[schema:3822]Duplicate check constraint name 'c1'."] [errorVerbose="[schema:3822]Duplicate check constraint name 'c1'.\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs\n\texternal/com_github_pingcap_errors/normalize.go:175\ngithub.com/pingcap/tidb/pkg/ddl.checkConstraintNamesNotExists\n\tpkg/ddl/table.go:1536\ngithub.com/pingcap/tidb/pkg/ddl.createTable\n\tpkg/ddl/table.go:74\ngithub.com/pingcap/tidb/pkg/ddl.onCreateTable\n\tpkg/ddl/table.go:176\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).runDDLJob\n\tpkg/ddl/ddl_worker.go:1232\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).HandleDDLJobTable\n\tpkg/ddl/ddl_worker.go:946\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2Worker.func1\n\tpkg/ddl/job_table.go:461\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:157\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [2024/05/06 09:30:10.303 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 46, tp general"] [category=ddl] [jobID=107] [conn=8] [job="ID:107, Type:create table, State:cancelled, SchemaState:none, SchemaID:2, TableID:106, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:10.288 +0000 UTC, Err:[schema:3822]Duplicate check constraint name 'c1'., ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:10.306 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=107] [2024/05/06 09:30:10.306 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 09:30:10.306 +00:00] [WARN] [session.go:2153] ["run statement failed"] [schemaVersion=52] [error="[schema:3822]Duplicate check constraint name 'c1'."] [errorVerbose="[schema:3822]Duplicate check constraint name 'c1'.\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).DoDDLJob\n\tpkg/ddl/ddl.go:1293\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTableWithInfo\n\tpkg/ddl/ddl_api.go:2879\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2717\ngithub.com/pingcap/tidb/pkg/ddl/schematracker.(*Checker).CreateTable\n\tpkg/ddl/schematracker/checker.go:221\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeCreateTable\n\tpkg/executor/ddl.go:268\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:160\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1211\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:960\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:794\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:559\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2280\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:469\ngithub.com/pingcap/tidb/pkg/ddl_test.TestCreateConstraintForTable\n\tpkg/ddl/db_table_test.go:859\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 8,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 09:30:10.306 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=8] [schemaVersion=52] [cur_db=test] [sql="CREATE TABLE t2 (id INT PRIMARY KEY)"] [user=] [2024/05/06 09:30:10.309 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:109, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:108, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:10.308 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:10.309 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:109, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:108, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:10.308 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE t2 (id INT PRIMARY KEY)"] [2024/05/06 09:30:10.318 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 46, tp general"] [category=ddl] [jobID=109] [conn=8] [category=ddl] [job="ID:109, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:108, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:10.308 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:10.321 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=52] [neededSchemaVersion=53] ["start time"=195.419µs] [gotSchemaVersion=53] [phyTblIDs="[108]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:10.322 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=109] [version=53] [2024/05/06 09:30:10.323 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=53] ["take time"=2.039144ms] [job="ID:109, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:108, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:10.308 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:10.331 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 46, tp general"] [category=ddl] [jobID=109] [conn=8] [job="ID:109, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:108, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:10.308 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:10.333 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=109] [2024/05/06 09:30:10.333 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:10.334 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=8] [schemaVersion=53] [cur_db=test] [sql="ALTER TABLE t2 ADD CONSTRAINT c1 CHECK (id<50)"] [user=] [2024/05/06 09:30:10.336 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:110, Type:add check constraint, State:queueing, SchemaState:none, SchemaID:2, TableID:108, RowCount:0, ArgLen:1, start time: 2024-05-06 09:30:10.335 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:10.336 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:110, Type:add check constraint, State:queueing, SchemaState:none, SchemaID:2, TableID:108, RowCount:0, ArgLen:1, start time: 2024-05-06 09:30:10.335 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="ALTER TABLE t2 ADD CONSTRAINT c1 CHECK (id<50)"] [2024/05/06 09:30:10.345 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 46, tp general"] [category=ddl] [jobID=110] [conn=8] [category=ddl] [job="ID:110, Type:add check constraint, State:queueing, SchemaState:none, SchemaID:2, TableID:108, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:10.335 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:10.345 +00:00] [INFO] [ddl_worker.go:1144] ["DDL job is cancelled normally"] [worker="worker 46, tp general"] [category=ddl] [jobID=110] [conn=8] [error="[schema:3822]Duplicate check constraint name 'c1'."] [errorVerbose="[schema:3822]Duplicate check constraint name 'c1'.\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs\n\texternal/com_github_pingcap_errors/normalize.go:175\ngithub.com/pingcap/tidb/pkg/ddl.checkConstraintNamesNotExists\n\tpkg/ddl/table.go:1536\ngithub.com/pingcap/tidb/pkg/ddl.checkAddCheckConstraint\n\tpkg/ddl/constraint.go:151\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).onAddCheckConstraint\n\tpkg/ddl/constraint.go:47\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).runDDLJob\n\tpkg/ddl/ddl_worker.go:1339\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).HandleDDLJobTable\n\tpkg/ddl/ddl_worker.go:946\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2Worker.func1\n\tpkg/ddl/job_table.go:461\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:157\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [2024/05/06 09:30:10.346 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 46, tp general"] [category=ddl] [jobID=110] [conn=8] [job="ID:110, Type:add check constraint, State:cancelled, SchemaState:none, SchemaID:2, TableID:108, RowCount:0, ArgLen:1, start time: 2024-05-06 09:30:10.335 +0000 UTC, Err:[schema:3822]Duplicate check constraint name 'c1'., ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:10.348 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=110] [2024/05/06 09:30:10.348 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 09:30:10.348 +00:00] [WARN] [session.go:2153] ["run statement failed"] [schemaVersion=53] [error="[schema:3822]Duplicate check constraint name 'c1'."] [errorVerbose="[schema:3822]Duplicate check constraint name 'c1'.\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).DoDDLJob\n\tpkg/ddl/ddl.go:1293\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateCheckConstraint\n\tpkg/ddl/ddl_api.go:9407\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AlterTable\n\tpkg/ddl/ddl_api.go:3952\ngithub.com/pingcap/tidb/pkg/ddl/schematracker.(*Checker).AlterTable\n\tpkg/ddl/schematracker/checker.go:330\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeAlterTable\n\tpkg/executor/ddl.go:388\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:152\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1211\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:960\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:794\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:559\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2280\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:469\ngithub.com/pingcap/tidb/pkg/ddl_test.TestCreateConstraintForTable\n\tpkg/ddl/db_table_test.go:863\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 8,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 09:30:10.348 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=8] [schemaVersion=53] [cur_db=test] [sql="DROP DATABASE IF EXISTS test2"] [user=] [2024/05/06 09:30:10.349 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=8] [schemaVersion=53] [cur_db=test] [sql="CREATE DATABASE test2"] [user=] [2024/05/06 09:30:10.352 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:112, Type:create schema, State:queueing, SchemaState:none, SchemaID:111, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:30:10.35 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:10.352 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:112, Type:create schema, State:queueing, SchemaState:none, SchemaID:111, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:30:10.35 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE DATABASE test2"] [2024/05/06 09:30:10.359 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 46, tp general"] [category=ddl] [jobID=112] [conn=8] [category=ddl] [job="ID:112, Type:create schema, State:queueing, SchemaState:none, SchemaID:111, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:10.35 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:10.368 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=53] [neededSchemaVersion=54] ["start time"=92.609µs] [gotSchemaVersion=54] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2024/05/06 09:30:10.370 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=112] [version=54] [2024/05/06 09:30:10.373 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=54] ["take time"=5.458422ms] [job="ID:112, Type:create schema, State:done, SchemaState:public, SchemaID:111, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:30:10.35 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:10.380 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 46, tp general"] [category=ddl] [jobID=112] [conn=8] [job="ID:112, Type:create schema, State:synced, SchemaState:public, SchemaID:111, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:10.35 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:10.383 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=112] [2024/05/06 09:30:10.383 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:10.383 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=8] [schemaVersion=54] [cur_db=test] [sql="CREATE TABLE test2.t1 (id INT PRIMARY KEY, CONSTRAINT c1 CHECK (id<50))"] [user=] [2024/05/06 09:30:10.385 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:114, Type:create table, State:queueing, SchemaState:none, SchemaID:111, TableID:113, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:10.384 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:10.386 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:114, Type:create table, State:queueing, SchemaState:none, SchemaID:111, TableID:113, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:10.384 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE test2.t1 (id INT PRIMARY KEY, CONSTRAINT c1 CHECK (id<50))"] [2024/05/06 09:30:10.393 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 46, tp general"] [category=ddl] [jobID=114] [conn=8] [category=ddl] [job="ID:114, Type:create table, State:queueing, SchemaState:none, SchemaID:111, TableID:113, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:10.384 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:10.396 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=54] [neededSchemaVersion=55] ["start time"=313.361µs] [gotSchemaVersion=55] [phyTblIDs="[113]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:10.397 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=114] [version=55] [2024/05/06 09:30:10.398 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=55] ["take time"=2.518391ms] [job="ID:114, Type:create table, State:done, SchemaState:public, SchemaID:111, TableID:113, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:10.384 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:10.404 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 46, tp general"] [category=ddl] [jobID=114] [conn=8] [job="ID:114, Type:create table, State:synced, SchemaState:public, SchemaID:111, TableID:113, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:10.384 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:10.407 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=114] [2024/05/06 09:30:10.407 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:10.412 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=dcdae827-f6a6-43c3-8805-a2c41e56c17d] [ownerKey=/tidb/ddl/fg/owner] [2024/05/06 09:30:10.412 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/06 09:30:10.412 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 47, tp add index"] [category=ddl] ["take time"=2.505µs] [2024/05/06 09:30:10.412 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 48, tp add index"] [category=ddl] ["take time"=1.231µs] [2024/05/06 09:30:10.412 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 49, tp add index"] [category=ddl] ["take time"=1.183µs] [2024/05/06 09:30:10.412 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 50, tp add index"] [category=ddl] ["take time"=1.245µs] [2024/05/06 09:30:10.412 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/06 09:30:10.412 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 46, tp general"] [category=ddl] ["take time"=1.209µs] [2024/05/06 09:30:10.412 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/06 09:30:10.412 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2024/05/06 09:30:10.412 +00:00] [INFO] [session_pool.go:99] ["closing session pool"] [category=ddl] [2024/05/06 09:30:10.412 +00:00] [INFO] [ddl.go:951] ["DDL closed"] [category=ddl] [ID=dcdae827-f6a6-43c3-8805-a2c41e56c17d] ["take time"=4.226909ms] [2024/05/06 09:30:10.412 +00:00] [INFO] [ddl.go:769] ["stop DDL"] [category=ddl] [ID=dcdae827-f6a6-43c3-8805-a2c41e56c17d] [2024/05/06 09:30:10.412 +00:00] [INFO] [domain.go:1026] ["stopping ttlJobManager"] [2024/05/06 09:30:10.413 +00:00] [INFO] [task_manager.go:194] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=4] [newCount=0] [2024/05/06 09:30:10.413 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/06 09:30:10.413 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/06 09:30:10.413 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/06 09:30:10.413 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/06 09:30:10.413 +00:00] [INFO] [task_manager.go:194] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=4] [newCount=0] [2024/05/06 09:30:10.413 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/06 09:30:10.413 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/06 09:30:10.413 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/06 09:30:10.413 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/06 09:30:10.413 +00:00] [INFO] [job_manager.go:174] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [2024/05/06 09:30:10.413 +00:00] [INFO] [domain.go:1037] ["ttlJobManager exited."] [2024/05/06 09:30:10.413 +00:00] [INFO] [manager.go:280] ["recoverMetaLoop done"] [server-id=:4000] [2024/05/06 09:30:10.413 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2024/05/06 09:30:10.413 +00:00] [INFO] [domain.go:2074] ["dumpFileGcChecker exited."] [2024/05/06 09:30:10.413 +00:00] [INFO] [domain.go:1750] ["LoadSysVarCacheLoop exited."] [2024/05/06 09:30:10.413 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2024/05/06 09:30:10.414 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2024/05/06 09:30:10.413 +00:00] [INFO] [stats_syncload.go:202] ["SubLoadWorker exited."] [2024/05/06 09:30:10.414 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=dcdae827-f6a6-43c3-8805-a2c41e56c17d] [ownerKey=/tidb/stats/owner] [2024/05/06 09:30:10.414 +00:00] [INFO] [stats_syncload.go:202] ["SubLoadWorker exited."] [2024/05/06 09:30:10.414 +00:00] [INFO] [stats_syncload.go:202] ["SubLoadWorker exited."] [2024/05/06 09:30:10.414 +00:00] [INFO] [domain.go:1700] ["loadPrivilegeInLoop exited."] [2024/05/06 09:30:10.414 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=quitStatsOwner] [2024/05/06 09:30:10.414 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2024/05/06 09:30:10.414 +00:00] [INFO] [domain.go:1527] ["stopping dist task executor manager"] [2024/05/06 09:30:10.414 +00:00] [INFO] [domain.go:737] ["globalConfigSyncerKeeper exited."] [2024/05/06 09:30:10.414 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2024/05/06 09:30:10.414 +00:00] [INFO] [stats_syncload.go:202] ["SubLoadWorker exited."] [2024/05/06 09:30:10.414 +00:00] [INFO] [domain.go:2352] ["indexUsageWorker exited."] [2024/05/06 09:30:10.414 +00:00] [INFO] [domain.go:711] ["infoSyncerKeeper exited."] [2024/05/06 09:30:10.414 +00:00] [INFO] [stats_syncload.go:202] ["SubLoadWorker exited."] [2024/05/06 09:30:10.414 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2024/05/06 09:30:10.414 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=indexUsageWorker] [2024/05/06 09:30:10.414 +00:00] [INFO] [domain.go:761] ["topologySyncerKeeper exited."] [2024/05/06 09:30:10.414 +00:00] [INFO] [domain.go:683] ["topNSlowQueryLoop exited."] [2024/05/06 09:30:10.414 +00:00] [INFO] [manager.go:179] ["handle tasks loop done"] [server-id=:4000] [2024/05/06 09:30:10.414 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2024/05/06 09:30:10.414 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2024/05/06 09:30:10.414 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/06 09:30:10.414 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayStartLoop] [2024/05/06 09:30:10.414 +00:00] [INFO] [domain.go:1529] ["dist task executor manager stopped"] [2024/05/06 09:30:10.414 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=dcdae827-f6a6-43c3-8805-a2c41e56c17d] [ownerKey=/tidb/bindinfo/owner] [2024/05/06 09:30:10.414 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2024/05/06 09:30:10.414 +00:00] [INFO] [domain.go:1889] ["globalBindHandleWorkerLoop exited."] [2024/05/06 09:30:10.414 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2024/05/06 09:30:10.414 +00:00] [INFO] [domain.go:907] ["loadSchemaInLoop exited."] [2024/05/06 09:30:10.414 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2024/05/06 09:30:10.414 +00:00] [INFO] [domain.go:1074] ["domain closed"] ["take time"=5.953954ms] [2024/05/06 09:30:10.668 +00:00] [INFO] [db.go:567] ["Closing database"] [2024/05/06 09:30:10.668 +00:00] [INFO] [db.go:592] ["Memtable flushed"] [2024/05/06 09:30:10.668 +00:00] [INFO] [db.go:596] ["Compaction finished"] [2024/05/06 09:30:10.669 +00:00] [INFO] [db.go:615] ["BlobManager finished"] [2024/05/06 09:30:10.669 +00:00] [INFO] [db.go:619] ["ResourceManager finished"] [2024/05/06 09:30:10.669 +00:00] [INFO] [db.go:625] ["Waiting for closer"] --- PASS: TestCreateConstraintForTable (2.65s) === RUN TestCheckOwner [2024/05/06 09:30:10.694 +00:00] [INFO] [store_cache.go:510] ["change store resolve state"] [store=1] [addr=store1] [from=unresolved] [to=resolved] [liveness-state=reachable] [2024/05/06 09:30:10.694 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 09:30:10.694 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 09:30:10.695 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 09:30:10.695 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 09:30:10.695 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 09:30:10.697 +00:00] [INFO] [tidb.go:80] ["new domain"] [store=3f59e537-7d37-403a-a6f2-4062c33df64e] ["ddl lease"=5s] ["stats lease"=-1ns] [2024/05/06 09:30:10.703 +00:00] [WARN] [controller.go:198] ["[resource group controller] server does not save config, load config failed"] [2024/05/06 09:30:10.703 +00:00] [INFO] [controller.go:185] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":10,\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\"}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":10,\"DegradedModeWaitDuration\":0}"] [2024/05/06 09:30:10.704 +00:00] [WARN] [domain.go:245] ["failed to get schema version"] [error="There is no Write MVCC info for the schema version"] [errorVerbose="There is no Write MVCC info for the schema version\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:335\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:242\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:606\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init\n\tpkg/domain/domain.go:1260\ngithub.com/pingcap/tidb/pkg/session.(*domainMap).Get.func1\n\tpkg/session/tidb.go:92\ngithub.com/pingcap/tidb/pkg/util.RunWithRetry\n\tpkg/util/misc.go:70\ngithub.com/pingcap/tidb/pkg/session.(*domainMap).Get\n\tpkg/session/tidb.go:79\ngithub.com/pingcap/tidb/pkg/session.createSessionWithOpt\n\tpkg/session/session.go:3620\ngithub.com/pingcap/tidb/pkg/session.createSession\n\tpkg/session/session.go:3612\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3562\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3346\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3312\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:294\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomainWithSchemaLease\n\tpkg/testkit/mockstore.go:319\ngithub.com/pingcap/tidb/pkg/ddl_test.TestCheckOwner\n\tpkg/ddl/ddl_worker_test.go:37\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=0] [2024/05/06 09:30:10.716 +00:00] [INFO] [domain.go:315] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=0] ["start time"=12.543579ms] [2024/05/06 09:30:10.717 +00:00] [INFO] [domain.go:635] ["full load and reset schema validator"] [2024/05/06 09:30:10.717 +00:00] [INFO] [ddl.go:818] ["start DDL"] [category=ddl] [ID=6fc3f2bf-ee3f-4336-95de-d477fbd2c67c] [runWorker=true] [2024/05/06 09:30:10.717 +00:00] [INFO] [ddl.go:777] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=true] [2024/05/06 09:30:10.717 +00:00] [WARN] [env.go:51] ["initialize environment failed"] [category=ddl-ingest] ["storage limitation"="only support TiKV storage"] ["current storage"=unistore] ["lightning is initialized"=false] [2024/05/06 09:30:10.717 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2024/05/06 09:30:10.717 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=mdlCheckLoop] [2024/05/06 09:30:10.717 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2024/05/06 09:30:10.717 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2024/05/06 09:30:10.717 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/06 09:30:10.717 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayStartLoop] [2024/05/06 09:30:10.717 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/06 09:30:10.717 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2024/05/06 09:30:10.717 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/06 09:30:10.717 +00:00] [WARN] [domain.go:1326] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/06 09:30:10.717 +00:00] [INFO] [delete_range.go:172] ["start delRange emulator"] [category=ddl] [2024/05/06 09:30:10.717 +00:00] [INFO] [runaway.go:149] ["try to start runaway manager loop"] [2024/05/06 09:30:10.717 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/06 09:30:10.717 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/06 09:30:10.717 +00:00] [INFO] [job_table.go:349] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2024/05/06 09:30:10.718 +00:00] [INFO] [controller.go:447] ["[resource group controller] create resource group cost controller"] [name=default] [2024/05/06 09:30:10.718 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=0] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS test"] [user=] [2024/05/06 09:30:10.720 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:30:10.719 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:10.720 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:30:10.719 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE DATABASE IF NOT EXISTS test"] [2024/05/06 09:30:10.727 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=3] [category=ddl] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:10.719 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:10.743 +00:00] [INFO] [domain.go:315] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=1] ["start time"=14.561961ms] [2024/05/06 09:30:10.745 +00:00] [INFO] [domain.go:635] ["full load and reset schema validator"] [2024/05/06 09:30:10.747 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:10.747 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=3] [version=1] [2024/05/06 09:30:10.749 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=1] ["take time"=20.320794ms] [job="ID:3, Type:create schema, State:done, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:30:10.719 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:10.755 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=3] [job="ID:3, Type:create schema, State:synced, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:10.719 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:10.758 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=3] [2024/05/06 09:30:10.758 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:10.758 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS `mysql`"] [user=] [2024/05/06 09:30:10.759 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.user (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tauthentication_string\tTEXT,\n\t\tplugin\t\t\t\t\tCHAR(64),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tProcess_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_db_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tSuper_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_user_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_slave_priv\t \tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_client_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_role_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_role_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAccount_locked\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShutdown_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReload_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tFILE_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tConfig_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_reuse_history smallint unsigned DEFAULT NULL,\n\t\tPassword_reuse_time smallint unsigned DEFAULT NULL,\n\t\tUser_attributes\t\t\tjson,\n\t\tToken_issuer\t\t\tVARCHAR(255),\n\t\tPassword_expired\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_last_changed\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP(),\n\t\tPassword_lifetime\t\tSMALLINT UNSIGNED DEFAULT NULL,\n\t\tPRIMARY KEY (Host, User));"] [user=] [2024/05/06 09:30:10.774 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:10.761 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:10.774 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:10.761 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.user (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tauthentication_string\tTEXT,\n\t\tplugin\t\t\t\t\tCHAR(64),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tProcess_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_db_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tSuper_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_user_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_slave_priv\t \tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_client_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_role_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_role_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAccount_locked\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShutdown_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReload_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tFILE_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tConfig_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_reuse_history smallint unsigned DEFAULT NULL,\n\t\tPassword_reuse_time smallint unsigned DEFAULT NULL,\n\t\tUser_attributes\t\t\tjson,\n\t\tToken_issuer\t\t\tVARCHAR(255),\n\t\tPassword_expired\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_last_changed\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP(),\n\t\tPassword_lifetime\t\tSMALLINT UNSIGNED DEFAULT NULL,\n\t\tPRIMARY KEY (Host, User));"] [2024/05/06 09:30:10.782 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=5] [category=ddl] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:10.761 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:10.792 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=1] [neededSchemaVersion=2] ["start time"=1.219912ms] [gotSchemaVersion=2] [phyTblIDs="[4]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:10.794 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:10.794 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=5] [version=2] [2024/05/06 09:30:10.795 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=2] ["take time"=4.375303ms] [job="ID:5, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:10.761 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:10.803 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=5] [job="ID:5, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:10.761 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:10.810 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=5] [2024/05/06 09:30:10.810 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:10.811 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=2] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.password_history (\n Host char(255) NOT NULL DEFAULT '',\n User char(32) NOT NULL DEFAULT '',\n Password_timestamp timestamp(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n Password text,\n PRIMARY KEY (Host,User,Password_timestamp )\n ) COMMENT='Password history for user accounts' "] [user=] [2024/05/06 09:30:10.813 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:10.812 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:10.813 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:10.812 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.password_history (\n Host char(255) NOT NULL DEFAULT '',\n User char(32) NOT NULL DEFAULT '',\n Password_timestamp timestamp(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n Password text,\n PRIMARY KEY (Host,User,Password_timestamp )\n ) COMMENT='Password history for user accounts' "] [2024/05/06 09:30:10.820 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=7] [category=ddl] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:10.812 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:10.823 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=2] [neededSchemaVersion=3] ["start time"=304.312µs] [gotSchemaVersion=3] [phyTblIDs="[6]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:10.824 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:10.825 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=7] [version=3] [2024/05/06 09:30:10.825 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=3] ["take time"=2.070776ms] [job="ID:7, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:10.812 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:10.833 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=7] [job="ID:7, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:10.812 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:10.837 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=7] [2024/05/06 09:30:10.837 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:10.837 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=3] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.global_priv (Host CHAR(255) NOT NULL DEFAULT '',User CHAR(80) NOT NULL DEFAULT '',Priv LONGTEXT NOT NULL DEFAULT '',PRIMARY KEY (Host, User))"] [user=] [2024/05/06 09:30:10.842 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:10.839 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:10.842 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:10.839 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.global_priv (Host CHAR(255) NOT NULL DEFAULT '',User CHAR(80) NOT NULL DEFAULT '',Priv LONGTEXT NOT NULL DEFAULT '',PRIMARY KEY (Host, User))"] [2024/05/06 09:30:10.850 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=9] [category=ddl] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:10.839 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:10.853 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=3] [neededSchemaVersion=4] ["start time"=293.712µs] [gotSchemaVersion=4] [phyTblIDs="[8]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:10.855 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:10.855 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=9] [version=4] [2024/05/06 09:30:10.857 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=4] ["take time"=4.519995ms] [job="ID:9, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:10.839 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:10.865 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=9] [job="ID:9, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:10.839 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:10.869 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=9] [2024/05/06 09:30:10.869 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:10.870 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=4] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.db (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tDB\t\t\t\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv \t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (Host, DB, User));"] [user=] [2024/05/06 09:30:10.875 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:10.872 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:10.875 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:10.872 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.db (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tDB\t\t\t\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv \t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (Host, DB, User));"] [2024/05/06 09:30:10.883 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=11] [category=ddl] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:10.872 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:10.889 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=4] [neededSchemaVersion=5] ["start time"=714.462µs] [gotSchemaVersion=5] [phyTblIDs="[10]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:10.890 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:10.890 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=11] [version=5] [2024/05/06 09:30:10.893 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=5] ["take time"=4.755175ms] [job="ID:11, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:10.872 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:10.900 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=11] [job="ID:11, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:10.872 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:10.906 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=11] [2024/05/06 09:30:10.906 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:10.906 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=5] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tables_priv (\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tGrantor\t\tCHAR(77),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tTable_priv\tSET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'),\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name));"] [user=] [2024/05/06 09:30:10.910 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:10.908 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:10.910 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:10.908 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tables_priv (\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tGrantor\t\tCHAR(77),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tTable_priv\tSET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'),\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name));"] [2024/05/06 09:30:10.917 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=13] [category=ddl] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:10.908 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:10.921 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=5] [neededSchemaVersion=6] ["start time"=283.903µs] [gotSchemaVersion=6] [phyTblIDs="[12]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:10.922 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:10.922 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=13] [version=6] [2024/05/06 09:30:10.922 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=6] ["take time"=2.012885ms] [job="ID:13, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:10.908 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:10.927 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=13] [job="ID:13, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:10.908 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:10.933 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=13] [2024/05/06 09:30:10.933 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:10.933 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=6] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.columns_priv(\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tColumn_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name, Column_name));"] [user=] [2024/05/06 09:30:10.937 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:10.935 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:10.937 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:10.935 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.columns_priv(\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tColumn_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name, Column_name));"] [2024/05/06 09:30:10.943 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=15] [category=ddl] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:10.935 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:10.947 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=7] ["start time"=408.598µs] [gotSchemaVersion=7] [phyTblIDs="[14]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:10.948 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:10.948 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=15] [version=7] [2024/05/06 09:30:10.951 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=7] ["take time"=4.355657ms] [job="ID:15, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:10.935 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:10.956 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=15] [job="ID:15, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:10.935 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:10.961 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=15] [2024/05/06 09:30:10.961 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:10.962 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=7] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.GLOBAL_VARIABLES(\n\t\tVARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE VARCHAR(16383) DEFAULT NULL);"] [user=] [2024/05/06 09:30:10.965 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:10.963 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:10.965 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:10.963 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.GLOBAL_VARIABLES(\n\t\tVARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE VARCHAR(16383) DEFAULT NULL);"] [2024/05/06 09:30:10.972 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=17] [category=ddl] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:10.963 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:10.976 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=7] [neededSchemaVersion=8] ["start time"=287.273µs] [gotSchemaVersion=8] [phyTblIDs="[16]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:10.977 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:10.977 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=17] [version=8] [2024/05/06 09:30:10.978 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=8] ["take time"=2.059101ms] [job="ID:17, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:10.963 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:10.989 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=17] [job="ID:17, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:10.963 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:10.997 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=17] [2024/05/06 09:30:10.997 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:10.998 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=8] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb(\n\t\tVARIABLE_NAME \tVARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE \tVARCHAR(1024) DEFAULT NULL,\n\t\tCOMMENT \t\tVARCHAR(1024));"] [user=] [2024/05/06 09:30:11.000 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:10.999 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:11.000 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:10.999 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb(\n\t\tVARIABLE_NAME \tVARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE \tVARCHAR(1024) DEFAULT NULL,\n\t\tCOMMENT \t\tVARCHAR(1024));"] [2024/05/06 09:30:11.008 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=19] [category=ddl] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:10.999 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:11.011 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=8] [neededSchemaVersion=9] ["start time"=210.001µs] [gotSchemaVersion=9] [phyTblIDs="[18]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:11.012 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:11.013 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=19] [version=9] [2024/05/06 09:30:11.013 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=9] ["take time"=2.239115ms] [job="ID:19, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:10.999 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:11.020 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=19] [job="ID:19, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:10.999 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:11.023 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=19] [2024/05/06 09:30:11.023 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:11.024 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=9] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.help_topic (\n \t\thelp_topic_id \t\tINT(10) UNSIGNED NOT NULL,\n \t\tname \t\t\t\tCHAR(64) NOT NULL,\n \t\thelp_category_id \tSMALLINT(5) UNSIGNED NOT NULL,\n \t\tdescription \t\tTEXT NOT NULL,\n \t\texample \t\t\tTEXT NOT NULL,\n \t\turl \t\t\t\tTEXT NOT NULL,\n \t\tPRIMARY KEY (help_topic_id) clustered,\n \t\tUNIQUE KEY name (name)\n\t\t) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] [user=] [2024/05/06 09:30:11.027 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:11.025 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:11.027 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:11.025 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.help_topic (\n \t\thelp_topic_id \t\tINT(10) UNSIGNED NOT NULL,\n \t\tname \t\t\t\tCHAR(64) NOT NULL,\n \t\thelp_category_id \tSMALLINT(5) UNSIGNED NOT NULL,\n \t\tdescription \t\tTEXT NOT NULL,\n \t\texample \t\t\tTEXT NOT NULL,\n \t\turl \t\t\t\tTEXT NOT NULL,\n \t\tPRIMARY KEY (help_topic_id) clustered,\n \t\tUNIQUE KEY name (name)\n\t\t) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] [2024/05/06 09:30:11.045 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=21] [category=ddl] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:11.025 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:11.051 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=9] [neededSchemaVersion=10] ["start time"=351.134µs] [gotSchemaVersion=10] [phyTblIDs="[20]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:11.052 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:11.052 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=21] [version=10] [2024/05/06 09:30:11.055 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=10] ["take time"=5.211578ms] [job="ID:21, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:11.025 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:11.066 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=21] [job="ID:21, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:11.025 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:11.081 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=21] [2024/05/06 09:30:11.081 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:11.081 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=10] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_meta (\n\t\tversion \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\ttable_id \t\tBIGINT(64) NOT NULL,\n\t\tmodify_count\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcount \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tsnapshot BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tINDEX idx_ver(version),\n\t\tUNIQUE INDEX tbl(table_id)\n\t);"] [user=] [2024/05/06 09:30:11.088 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:11.086 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:11.088 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:11.086 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_meta (\n\t\tversion \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\ttable_id \t\tBIGINT(64) NOT NULL,\n\t\tmodify_count\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcount \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tsnapshot BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tINDEX idx_ver(version),\n\t\tUNIQUE INDEX tbl(table_id)\n\t);"] [2024/05/06 09:30:11.095 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=23] [category=ddl] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:11.086 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:11.099 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=10] [neededSchemaVersion=11] ["start time"=297.047µs] [gotSchemaVersion=11] [phyTblIDs="[22]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:11.100 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:11.100 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=23] [version=11] [2024/05/06 09:30:11.101 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=11] ["take time"=2.257257ms] [job="ID:23, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:11.086 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:11.107 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=23] [job="ID:23, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:11.086 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:11.110 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=23] [2024/05/06 09:30:11.110 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:11.111 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=11] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_histograms (\n\t\ttable_id \t\t\tBIGINT(64) NOT NULL,\n\t\tis_index \t\t\tTINYINT(2) NOT NULL,\n\t\thist_id \t\t\tBIGINT(64) NOT NULL,\n\t\tdistinct_count \t\tBIGINT(64) NOT NULL,\n\t\tnull_count \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\ttot_col_size \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tmodify_count \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tversion \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tcm_sketch \t\t\tBLOB(6291456),\n\t\tstats_ver \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tflag \t\t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcorrelation \t\tDOUBLE NOT NULL DEFAULT 0,\n\t\tlast_analyze_pos \tLONGBLOB DEFAULT NULL,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] [2024/05/06 09:30:11.111 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(6291456) to MEDIUMBLOB"] [category=ddl] [2024/05/06 09:30:11.114 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:11.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:11.114 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:11.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_histograms (\n\t\ttable_id \t\t\tBIGINT(64) NOT NULL,\n\t\tis_index \t\t\tTINYINT(2) NOT NULL,\n\t\thist_id \t\t\tBIGINT(64) NOT NULL,\n\t\tdistinct_count \t\tBIGINT(64) NOT NULL,\n\t\tnull_count \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\ttot_col_size \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tmodify_count \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tversion \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tcm_sketch \t\t\tBLOB(6291456),\n\t\tstats_ver \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tflag \t\t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcorrelation \t\tDOUBLE NOT NULL DEFAULT 0,\n\t\tlast_analyze_pos \tLONGBLOB DEFAULT NULL,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id)\n\t);"] [2024/05/06 09:30:11.122 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=25] [category=ddl] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:11.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:11.126 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=11] [neededSchemaVersion=12] ["start time"=409.712µs] [gotSchemaVersion=12] [phyTblIDs="[24]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:11.127 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:11.127 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=25] [version=12] [2024/05/06 09:30:11.128 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=12] ["take time"=2.301844ms] [job="ID:25, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:11.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:11.133 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=25] [job="ID:25, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:11.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:11.138 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=25] [2024/05/06 09:30:11.138 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:11.138 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=12] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_buckets (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tbucket_id \tBIGINT(64) NOT NULL,\n\t\tcount \t\tBIGINT(64) NOT NULL,\n\t\trepeats \tBIGINT(64) NOT NULL,\n\t\tupper_bound LONGBLOB NOT NULL,\n\t\tlower_bound LONGBLOB ,\n\t\tndv BIGINT NOT NULL DEFAULT 0,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id)\n\t);"] [user=] [2024/05/06 09:30:11.141 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:11.14 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:11.141 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:11.14 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_buckets (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tbucket_id \tBIGINT(64) NOT NULL,\n\t\tcount \t\tBIGINT(64) NOT NULL,\n\t\trepeats \tBIGINT(64) NOT NULL,\n\t\tupper_bound LONGBLOB NOT NULL,\n\t\tlower_bound LONGBLOB ,\n\t\tndv BIGINT NOT NULL DEFAULT 0,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id)\n\t);"] [2024/05/06 09:30:11.150 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=27] [category=ddl] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:11.14 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:11.153 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=12] [neededSchemaVersion=13] ["start time"=274.059µs] [gotSchemaVersion=13] [phyTblIDs="[26]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:11.154 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:11.154 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=27] [version=13] [2024/05/06 09:30:11.156 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=13] ["take time"=2.500591ms] [job="ID:27, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:11.14 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:11.163 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=27] [job="ID:27, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:11.14 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:11.167 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=27] [2024/05/06 09:30:11.167 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:11.168 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=13] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_index (job_id, element_id)\n\t);"] [user=] [2024/05/06 09:30:11.176 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:11.174 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:11.176 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:11.174 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_index (job_id, element_id)\n\t);"] [2024/05/06 09:30:11.181 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=29] [category=ddl] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:11.174 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:11.185 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=13] [neededSchemaVersion=14] ["start time"=324.01µs] [gotSchemaVersion=14] [phyTblIDs="[28]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:11.186 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:11.186 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=29] [version=14] [2024/05/06 09:30:11.187 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=14] ["take time"=2.332102ms] [job="ID:29, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:11.174 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:11.195 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=29] [job="ID:29, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:11.174 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:11.199 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=29] [2024/05/06 09:30:11.199 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:11.199 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=14] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_done_index (job_id, element_id)\n\t);"] [user=] [2024/05/06 09:30:11.202 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:11.201 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:11.203 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:11.201 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_done_index (job_id, element_id)\n\t);"] [2024/05/06 09:30:11.210 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=31] [category=ddl] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:11.201 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:11.213 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=14] [neededSchemaVersion=15] ["start time"=241.683µs] [gotSchemaVersion=15] [phyTblIDs="[30]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:11.214 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:11.214 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=31] [version=15] [2024/05/06 09:30:11.214 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=15] ["take time"=2.100245ms] [job="ID:31, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:11.201 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:11.219 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=31] [job="ID:31, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:11.201 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:11.222 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=31] [2024/05/06 09:30:11.223 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:11.223 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=15] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_feedback (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tfeedback \tBLOB NOT NULL,\n\t\tINDEX hist(table_id, is_index, hist_id)\n\t);"] [user=] [2024/05/06 09:30:11.225 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:11.224 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:11.225 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:11.224 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_feedback (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tfeedback \tBLOB NOT NULL,\n\t\tINDEX hist(table_id, is_index, hist_id)\n\t);"] [2024/05/06 09:30:11.234 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=33] [category=ddl] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:11.224 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:11.237 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=15] [neededSchemaVersion=16] ["start time"=211.329µs] [gotSchemaVersion=16] [phyTblIDs="[32]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:11.238 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:11.238 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=33] [version=16] [2024/05/06 09:30:11.240 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=16] ["take time"=2.799761ms] [job="ID:33, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:11.224 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:11.246 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=33] [job="ID:33, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:11.224 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:11.249 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=33] [2024/05/06 09:30:11.249 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:11.250 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=16] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.role_edges (\n\t\tFROM_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tFROM_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tWITH_ADMIN_OPTION \tENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER)\n\t);"] [user=] [2024/05/06 09:30:11.253 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:11.251 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:11.253 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:11.251 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.role_edges (\n\t\tFROM_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tFROM_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tWITH_ADMIN_OPTION \tENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER)\n\t);"] [2024/05/06 09:30:11.262 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=35] [category=ddl] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:11.251 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:11.266 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=16] [neededSchemaVersion=17] ["start time"=412.102µs] [gotSchemaVersion=17] [phyTblIDs="[34]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:11.267 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:11.267 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=35] [version=17] [2024/05/06 09:30:11.269 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=17] ["take time"=4.066734ms] [job="ID:35, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:11.251 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:11.282 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=35] [job="ID:35, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:11.251 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:11.291 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=35] [2024/05/06 09:30:11.291 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:11.291 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=17] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.default_roles (\n\t\tHOST \t\t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tUSER \t\t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tDEFAULT_ROLE_HOST \tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%',\n\t\tDEFAULT_ROLE_USER \tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tPRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER)\n\t)"] [user=] [2024/05/06 09:30:11.294 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:11.293 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:11.294 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:11.293 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.default_roles (\n\t\tHOST \t\t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tUSER \t\t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tDEFAULT_ROLE_HOST \tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%',\n\t\tDEFAULT_ROLE_USER \tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tPRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER)\n\t)"] [2024/05/06 09:30:11.309 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=37] [category=ddl] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:11.293 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:11.312 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=18] ["start time"=326.869µs] [gotSchemaVersion=18] [phyTblIDs="[36]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:11.313 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:11.313 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=37] [version=18] [2024/05/06 09:30:11.315 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=18] ["take time"=3.015759ms] [job="ID:37, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:11.293 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:11.320 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=37] [job="ID:37, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:11.293 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:11.323 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=37] [2024/05/06 09:30:11.324 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:11.324 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=18] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql TEXT NOT NULL,\n\t\tbind_sql TEXT NOT NULL,\n\t\tdefault_db TEXT NOT NULL,\n\t\tstatus TEXT NOT NULL,\n\t\tcreate_time TIMESTAMP(3) NOT NULL,\n\t\tupdate_time TIMESTAMP(3) NOT NULL,\n\t\tcharset TEXT NOT NULL,\n\t\tcollation TEXT NOT NULL,\n\t\tsource VARCHAR(10) NOT NULL DEFAULT 'unknown',\n\t\tsql_digest varchar(64),\n\t\tplan_digest varchar(64),\n\t\tINDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\",\n\t\tINDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2024/05/06 09:30:11.327 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:11.325 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:11.327 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:11.325 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql TEXT NOT NULL,\n\t\tbind_sql TEXT NOT NULL,\n\t\tdefault_db TEXT NOT NULL,\n\t\tstatus TEXT NOT NULL,\n\t\tcreate_time TIMESTAMP(3) NOT NULL,\n\t\tupdate_time TIMESTAMP(3) NOT NULL,\n\t\tcharset TEXT NOT NULL,\n\t\tcollation TEXT NOT NULL,\n\t\tsource VARCHAR(10) NOT NULL DEFAULT 'unknown',\n\t\tsql_digest varchar(64),\n\t\tplan_digest varchar(64),\n\t\tINDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\",\n\t\tINDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2024/05/06 09:30:11.334 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=39] [category=ddl] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:11.325 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:11.339 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=18] [neededSchemaVersion=19] ["start time"=493.628µs] [gotSchemaVersion=19] [phyTblIDs="[38]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:11.340 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:11.340 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=39] [version=19] [2024/05/06 09:30:11.341 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=19] ["take time"=2.618644ms] [job="ID:39, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:11.325 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:11.348 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=39] [job="ID:39, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:11.325 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:11.352 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=39] [2024/05/06 09:30:11.352 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:11.354 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=19] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_top_n (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tcount \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] [2024/05/06 09:30:11.357 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:11.355 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:11.357 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:11.355 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_top_n (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tcount \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [2024/05/06 09:30:11.387 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=41] [category=ddl] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:11.355 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:11.391 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=19] [neededSchemaVersion=20] ["start time"=295.995µs] [gotSchemaVersion=20] [phyTblIDs="[40]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:11.392 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:11.392 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=41] [version=20] [2024/05/06 09:30:11.393 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=20] ["take time"=2.901602ms] [job="ID:41, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:11.355 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:11.398 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=41] [job="ID:41, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:11.355 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:11.402 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=41] [2024/05/06 09:30:11.402 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:11.402 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=20] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.expr_pushdown_blacklist (\n\t\tname \t\tCHAR(100) NOT NULL,\n\t\tstore_type \tCHAR(100) NOT NULL DEFAULT 'tikv,tiflash,tidb',\n\t\treason \t\tVARCHAR(200)\n\t);"] [user=] [2024/05/06 09:30:11.405 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:11.404 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:11.405 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:11.404 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.expr_pushdown_blacklist (\n\t\tname \t\tCHAR(100) NOT NULL,\n\t\tstore_type \tCHAR(100) NOT NULL DEFAULT 'tikv,tiflash,tidb',\n\t\treason \t\tVARCHAR(200)\n\t);"] [2024/05/06 09:30:11.412 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=43] [category=ddl] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:11.404 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:11.415 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=20] [neededSchemaVersion=21] ["start time"=213.998µs] [gotSchemaVersion=21] [phyTblIDs="[42]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:11.416 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:11.416 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=43] [version=21] [2024/05/06 09:30:11.417 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=21] ["take time"=2.043304ms] [job="ID:43, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:11.404 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:11.426 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=43] [job="ID:43, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:11.404 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:11.429 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=43] [2024/05/06 09:30:11.429 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:11.429 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=21] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] [user=] [2024/05/06 09:30:11.432 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:11.431 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:11.432 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:11.431 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] [2024/05/06 09:30:11.439 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=45] [category=ddl] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:11.431 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:11.441 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=21] [neededSchemaVersion=22] ["start time"=208.122µs] [gotSchemaVersion=22] [phyTblIDs="[44]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:11.443 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:11.443 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=45] [version=22] [2024/05/06 09:30:11.444 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=22] ["take time"=2.852009ms] [job="ID:45, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:11.431 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:11.449 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=45] [job="ID:45, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:11.431 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:11.451 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=45] [2024/05/06 09:30:11.451 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:11.452 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=22] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_extended (\n\t\tname varchar(32) NOT NULL,\n\t\ttype tinyint(4) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcolumn_ids varchar(32) NOT NULL,\n\t\tstats blob DEFAULT NULL,\n\t\tversion bigint(64) unsigned NOT NULL,\n\t\tstatus tinyint(4) NOT NULL,\n\t\tPRIMARY KEY(name, table_id),\n\t\tKEY idx_1 (table_id, status, version),\n\t\tKEY idx_2 (status, version)\n\t);"] [user=] [2024/05/06 09:30:11.455 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:11.453 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:11.455 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:11.453 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_extended (\n\t\tname varchar(32) NOT NULL,\n\t\ttype tinyint(4) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcolumn_ids varchar(32) NOT NULL,\n\t\tstats blob DEFAULT NULL,\n\t\tversion bigint(64) unsigned NOT NULL,\n\t\tstatus tinyint(4) NOT NULL,\n\t\tPRIMARY KEY(name, table_id),\n\t\tKEY idx_1 (table_id, status, version),\n\t\tKEY idx_2 (status, version)\n\t);"] [2024/05/06 09:30:11.465 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=47] [category=ddl] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:11.453 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:11.477 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=22] [neededSchemaVersion=23] ["start time"=378.5µs] [gotSchemaVersion=23] [phyTblIDs="[46]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:11.480 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:11.480 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=47] [version=23] [2024/05/06 09:30:11.481 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=23] ["take time"=4.082422ms] [job="ID:47, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:11.453 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:11.487 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=47] [job="ID:47, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:11.453 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:11.492 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=47] [2024/05/06 09:30:11.492 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:11.492 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=23] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] [2024/05/06 09:30:11.495 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:11.494 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:11.495 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:11.494 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [2024/05/06 09:30:11.505 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=49] [category=ddl] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:11.494 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:11.508 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=23] [neededSchemaVersion=24] ["start time"=342.888µs] [gotSchemaVersion=24] [phyTblIDs="[48]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:11.509 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:11.509 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=49] [version=24] [2024/05/06 09:30:11.510 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=24] ["take time"=2.031203ms] [job="ID:49, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:11.494 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:11.514 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=49] [job="ID:49, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:11.494 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:11.517 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=49] [2024/05/06 09:30:11.517 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:11.517 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=24] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.global_grants (\n\t\tUSER char(32) NOT NULL DEFAULT '',\n\t\tHOST char(255) NOT NULL DEFAULT '',\n\t\tPRIV char(32) NOT NULL DEFAULT '',\n\t\tWITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (USER,HOST,PRIV)\n\t);"] [user=] [2024/05/06 09:30:11.520 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:11.519 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:11.520 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:11.519 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.global_grants (\n\t\tUSER char(32) NOT NULL DEFAULT '',\n\t\tHOST char(255) NOT NULL DEFAULT '',\n\t\tPRIV char(32) NOT NULL DEFAULT '',\n\t\tWITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (USER,HOST,PRIV)\n\t);"] [2024/05/06 09:30:11.528 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=51] [category=ddl] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:11.519 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:11.532 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=24] [neededSchemaVersion=25] ["start time"=245.086µs] [gotSchemaVersion=25] [phyTblIDs="[50]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:11.533 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:11.533 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=51] [version=25] [2024/05/06 09:30:11.533 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=25] ["take time"=2.163562ms] [job="ID:51, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:11.519 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:11.538 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=51] [job="ID:51, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:11.519 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:11.540 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=51] [2024/05/06 09:30:11.540 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:11.541 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=25] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist (\n\t\tid bigint(64) auto_increment,\n\t\tfilter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\",\n\t\tfilter_value varchar(32) NOT NULL,\n\t\tkey idx(filter_type),\n\t\tprimary key(id)\n\t);"] [user=] [2024/05/06 09:30:11.544 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:11.542 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:11.544 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:11.542 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist (\n\t\tid bigint(64) auto_increment,\n\t\tfilter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\",\n\t\tfilter_value varchar(32) NOT NULL,\n\t\tkey idx(filter_type),\n\t\tprimary key(id)\n\t);"] [2024/05/06 09:30:11.551 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=53] [category=ddl] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:11.542 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:11.554 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=25] [neededSchemaVersion=26] ["start time"=229.578µs] [gotSchemaVersion=26] [phyTblIDs="[52]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:11.555 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:11.555 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=53] [version=26] [2024/05/06 09:30:11.561 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=26] ["take time"=6.937405ms] [job="ID:53, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:11.542 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:11.570 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=53] [job="ID:53, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:11.542 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:11.578 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=53] [2024/05/06 09:30:11.578 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:11.579 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=26] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.column_stats_usage (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tcolumn_id BIGINT(64) NOT NULL,\n\t\tlast_used_at TIMESTAMP,\n\t\tlast_analyzed_at TIMESTAMP,\n\t\tPRIMARY KEY (table_id, column_id) CLUSTERED\n\t);"] [user=] [2024/05/06 09:30:11.582 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:11.58 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:11.582 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:11.58 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.column_stats_usage (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tcolumn_id BIGINT(64) NOT NULL,\n\t\tlast_used_at TIMESTAMP,\n\t\tlast_analyzed_at TIMESTAMP,\n\t\tPRIMARY KEY (table_id, column_id) CLUSTERED\n\t);"] [2024/05/06 09:30:11.589 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=55] [category=ddl] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:11.58 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:11.592 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=26] [neededSchemaVersion=27] ["start time"=227.054µs] [gotSchemaVersion=27] [phyTblIDs="[54]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:11.593 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:11.593 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=55] [version=27] [2024/05/06 09:30:11.594 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=27] ["take time"=2.028103ms] [job="ID:55, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:11.58 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:11.599 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=55] [job="ID:55, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:11.58 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:11.602 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=55] [2024/05/06 09:30:11.602 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:11.603 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=27] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.table_cache_meta (\n\t\ttid bigint(11) NOT NULL DEFAULT 0,\n\t\tlock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE',\n\t\tlease bigint(20) NOT NULL DEFAULT 0,\n\t\toldReadLease bigint(20) NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (tid)\n\t);"] [user=] [2024/05/06 09:30:11.605 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:11.604 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:11.606 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:11.604 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.table_cache_meta (\n\t\ttid bigint(11) NOT NULL DEFAULT 0,\n\t\tlock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE',\n\t\tlease bigint(20) NOT NULL DEFAULT 0,\n\t\toldReadLease bigint(20) NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (tid)\n\t);"] [2024/05/06 09:30:11.616 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=57] [category=ddl] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:11.604 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:11.619 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=27] [neededSchemaVersion=28] ["start time"=254.331µs] [gotSchemaVersion=28] [phyTblIDs="[56]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:11.621 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:11.621 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=57] [version=28] [2024/05/06 09:30:11.621 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=28] ["take time"=2.069929ms] [job="ID:57, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:11.604 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:11.626 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=57] [job="ID:57, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:11.604 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:11.629 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=57] [2024/05/06 09:30:11.629 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:11.630 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=28] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_options (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tsample_num BIGINT(64) NOT NULL DEFAULT 0,\n\t\tsample_rate DOUBLE NOT NULL DEFAULT -1,\n\t\tbuckets BIGINT(64) NOT NULL DEFAULT 0,\n\t\ttopn BIGINT(64) NOT NULL DEFAULT -1,\n\t\tcolumn_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT',\n\t\tcolumn_ids TEXT(19372),\n\t\tPRIMARY KEY (table_id) CLUSTERED\n\t);"] [user=] [2024/05/06 09:30:11.630 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(19372) to MEDIUMBLOB"] [category=ddl] [2024/05/06 09:30:11.633 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:11.631 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:11.633 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:11.631 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.analyze_options (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tsample_num BIGINT(64) NOT NULL DEFAULT 0,\n\t\tsample_rate DOUBLE NOT NULL DEFAULT -1,\n\t\tbuckets BIGINT(64) NOT NULL DEFAULT 0,\n\t\ttopn BIGINT(64) NOT NULL DEFAULT -1,\n\t\tcolumn_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT',\n\t\tcolumn_ids TEXT(19372),\n\t\tPRIMARY KEY (table_id) CLUSTERED\n\t);"] [2024/05/06 09:30:11.641 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=59] [category=ddl] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:11.631 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:11.645 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=28] [neededSchemaVersion=29] ["start time"=337.411µs] [gotSchemaVersion=29] [phyTblIDs="[58]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:11.646 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:11.646 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=59] [version=29] [2024/05/06 09:30:11.647 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=29] ["take time"=2.954753ms] [job="ID:59, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:11.631 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:11.652 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=59] [job="ID:59, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:11.631 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:11.656 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=59] [2024/05/06 09:30:11.656 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:11.656 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=29] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tstats_data longblob NOT NULL,\n\t\tseq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice',\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version_seq (table_id, version, seq_no),\n\t\tKEY table_create_time (table_id, create_time, seq_no),\n \tKEY idx_create_time (create_time)\n\t);"] [user=] [2024/05/06 09:30:11.659 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:11.658 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:11.659 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:11.658 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tstats_data longblob NOT NULL,\n\t\tseq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice',\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version_seq (table_id, version, seq_no),\n\t\tKEY table_create_time (table_id, create_time, seq_no),\n \tKEY idx_create_time (create_time)\n\t);"] [2024/05/06 09:30:11.681 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=61] [category=ddl] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:11.658 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:11.685 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=29] [neededSchemaVersion=30] ["start time"=394.68µs] [gotSchemaVersion=30] [phyTblIDs="[60]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:11.686 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:11.686 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=61] [version=30] [2024/05/06 09:30:11.688 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=30] ["take time"=3.062167ms] [job="ID:61, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:11.658 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:11.694 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=61] [job="ID:61, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:11.658 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:11.701 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=61] [2024/05/06 09:30:11.701 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:11.702 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=30] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_meta_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL,\n\t\tcount bigint(64) NOT NULL,\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n \tsource varchar(40) NOT NULL,\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version (table_id, version),\n\t\tKEY table_create_time (table_id, create_time),\n \tKEY idx_create_time (create_time)\n\t);"] [user=] [2024/05/06 09:30:11.706 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:11.703 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:11.706 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:11.703 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_meta_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL,\n\t\tcount bigint(64) NOT NULL,\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n \tsource varchar(40) NOT NULL,\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version (table_id, version),\n\t\tKEY table_create_time (table_id, create_time),\n \tKEY idx_create_time (create_time)\n\t);"] [2024/05/06 09:30:11.712 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=63] [category=ddl] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:11.703 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:11.716 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=30] [neededSchemaVersion=31] ["start time"=405.992µs] [gotSchemaVersion=31] [phyTblIDs="[62]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:11.718 +00:00] [WARN] [runaway.go:166] ["failed to start runaway manager loop, please check whether the bootstrap or update is finished"] [error="[schema:1146]Table 'mysql.tidb_runaway_watch' doesn't exist"] [errorVerbose="[schema:1146]Table 'mysql.tidb_runaway_watch' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:141\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:67\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2089\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternalStmt\n\tpkg/session/session.go:1993\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL.func1\n\tpkg/session/session.go:1958\ngithub.com/pingcap/tidb/pkg/session.(*session).withRestrictedSQLExecutor\n\tpkg/session/session.go:1944\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL\n\tpkg/session/session.go:1948\ngithub.com/pingcap/tidb/pkg/domain.(*SystemTableReader).Read\n\tpkg/domain/runaway.go:655\ngithub.com/pingcap/tidb/pkg/domain.getRunawayWatchRecord\n\tpkg/domain/runaway.go:543\ngithub.com/pingcap/tidb/pkg/domain.(*runawaySyncer).getWatchRecord\n\tpkg/domain/runaway.go:526\ngithub.com/pingcap/tidb/pkg/domain.(*runawaySyncer).getNewWatchRecords\n\tpkg/domain/runaway.go:509\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).updateNewAndDoneWatch\n\tpkg/domain/runaway.go:177\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).runawayStartLoop\n\tpkg/domain/runaway.go:156\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:99\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [2024/05/06 09:30:11.718 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:11.718 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=63] [version=31] [2024/05/06 09:30:11.720 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=31] ["take time"=4.056739ms] [job="ID:63, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:11.703 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:11.726 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=63] [job="ID:63, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:11.703 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:11.730 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=63] [2024/05/06 09:30:11.730 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:11.730 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=31] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_jobs (\n\t\tid BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\ttable_schema CHAR(64) NOT NULL DEFAULT '',\n\t\ttable_name CHAR(64) NOT NULL DEFAULT '',\n\t\tpartition_name CHAR(64) NOT NULL DEFAULT '',\n\t\tjob_info TEXT NOT NULL,\n\t\tprocessed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tstart_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tstate ENUM('pending', 'running', 'finished', 'failed') NOT NULL,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job',\n\t\tprocess_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job',\n\t\tPRIMARY KEY (id),\n\t\tKEY (update_time)\n\t);"] [user=] [2024/05/06 09:30:11.734 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:11.732 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:11.734 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:11.732 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.analyze_jobs (\n\t\tid BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\ttable_schema CHAR(64) NOT NULL DEFAULT '',\n\t\ttable_name CHAR(64) NOT NULL DEFAULT '',\n\t\tpartition_name CHAR(64) NOT NULL DEFAULT '',\n\t\tjob_info TEXT NOT NULL,\n\t\tprocessed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tstart_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tstate ENUM('pending', 'running', 'finished', 'failed') NOT NULL,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job',\n\t\tprocess_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job',\n\t\tPRIMARY KEY (id),\n\t\tKEY (update_time)\n\t);"] [2024/05/06 09:30:11.740 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=65] [category=ddl] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:11.732 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:11.744 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=31] [neededSchemaVersion=32] ["start time"=415.561µs] [gotSchemaVersion=32] [phyTblIDs="[64]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:11.746 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:11.746 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=65] [version=32] [2024/05/06 09:30:11.746 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=32] ["take time"=2.298541ms] [job="ID:65, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:11.732 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:11.752 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=65] [job="ID:65, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:11.732 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:11.755 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=65] [2024/05/06 09:30:11.755 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:11.756 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=32] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] [user=] [2024/05/06 09:30:11.758 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:11.757 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:11.758 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:11.757 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] [2024/05/06 09:30:11.778 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=67] [category=ddl] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:11.757 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:11.781 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=241.881µs] [gotSchemaVersion=33] [phyTblIDs="[66]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:11.782 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:11.782 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=67] [version=33] [2024/05/06 09:30:11.783 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=33] ["take time"=3.014808ms] [job="ID:67, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:11.757 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:11.792 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=67] [job="ID:67, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:11.757 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:11.795 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=67] [2024/05/06 09:30:11.795 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:11.800 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2024-05-06 09:30:11.798 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:11.800 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2024-05-06 09:30:11.798 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE OR REPLACE VIEW mysql.tidb_mdl_view as (\n\t\tSELECT tidb_mdl_info.job_id,\n\t\t\tJSON_UNQUOTE(JSON_EXTRACT(cast(cast(job_meta as char) as json), \"$.schema_name\")) as db_name,\n\t\t\tJSON_UNQUOTE(JSON_EXTRACT(cast(cast(job_meta as char) as json), \"$.table_name\")) as table_name,\n\t\t\tJSON_UNQUOTE(JSON_EXTRACT(cast(cast(job_meta as char) as json), \"$.query\")) as query,\n\t\t\tsession_id,\n\t\t\tcluster_tidb_trx.start_time,\n\t\t\ttidb_decode_sql_digests(all_sql_digests, 4096) AS SQL_DIGESTS\n\t\tFROM mysql.tidb_ddl_job,\n\t\t\tmysql.tidb_mdl_info,\n\t\t\tinformation_schema.cluster_tidb_trx\n\t\tWHERE tidb_ddl_job.job_id=tidb_mdl_info.job_id\n\t\t\tAND CONCAT(',', tidb_mdl_info.table_ids, ',') REGEXP CONCAT(',', REPLACE(cluster_tidb_trx.related_table_ids, ',', '|'), ',') != 0\n\t);"] [2024/05/06 09:30:11.808 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=69] [category=ddl] [job="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:11.798 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:11.812 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=33] [neededSchemaVersion=34] ["start time"=320.118µs] [gotSchemaVersion=34] [phyTblIDs="[68]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2024/05/06 09:30:11.813 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:11.813 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=69] [version=34] [2024/05/06 09:30:11.813 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=34] ["take time"=2.085125ms] [job="ID:69, Type:create view, State:done, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2024-05-06 09:30:11.798 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:11.819 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=69] [job="ID:69, Type:create view, State:synced, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:11.798 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:11.823 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=69] [2024/05/06 09:30:11.823 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:11.823 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=34] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_status (\n\t\tsql_digest VARCHAR(128),\n\t\tplan_digest VARCHAR(128),\n\t\torigin_sql TEXT,\n\t\ttoken VARCHAR(128),\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the plan replayer job');"] [user=] [2024/05/06 09:30:11.827 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:11.825 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:11.827 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:11.825 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_status (\n\t\tsql_digest VARCHAR(128),\n\t\tplan_digest VARCHAR(128),\n\t\torigin_sql TEXT,\n\t\ttoken VARCHAR(128),\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the plan replayer job');"] [2024/05/06 09:30:11.836 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=71] [category=ddl] [job="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:11.825 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:11.839 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=34] [neededSchemaVersion=35] ["start time"=348.187µs] [gotSchemaVersion=35] [phyTblIDs="[70]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:11.841 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:11.841 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=71] [version=35] [2024/05/06 09:30:11.841 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=35] ["take time"=2.218661ms] [job="ID:71, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:11.825 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:11.846 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=71] [job="ID:71, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:11.825 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:11.849 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=71] [2024/05/06 09:30:11.849 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:11.850 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=35] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_task (\n\t\tsql_digest VARCHAR(128) NOT NULL,\n\t\tplan_digest VARCHAR(128) NOT NULL,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tPRIMARY KEY (sql_digest,plan_digest));"] [user=] [2024/05/06 09:30:11.852 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:11.851 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:11.852 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:11.851 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_task (\n\t\tsql_digest VARCHAR(128) NOT NULL,\n\t\tplan_digest VARCHAR(128) NOT NULL,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tPRIMARY KEY (sql_digest,plan_digest));"] [2024/05/06 09:30:11.860 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=73] [category=ddl] [job="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:11.851 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:11.865 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=35] [neededSchemaVersion=36] ["start time"=281.09µs] [gotSchemaVersion=36] [phyTblIDs="[72]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:11.866 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:11.866 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=73] [version=36] [2024/05/06 09:30:11.867 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=36] ["take time"=2.14873ms] [job="ID:73, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:11.851 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:11.874 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=73] [job="ID:73, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:11.851 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:11.882 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=73] [2024/05/06 09:30:11.882 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:11.882 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=36] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_table_locked(\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL DEFAULT 0,\n\t\tcount bigint(64) NOT NULL DEFAULT 0,\n\t\tversion bigint(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (table_id));"] [user=] [2024/05/06 09:30:11.885 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:11.883 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:11.885 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:11.883 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_table_locked(\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL DEFAULT 0,\n\t\tcount bigint(64) NOT NULL DEFAULT 0,\n\t\tversion bigint(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (table_id));"] [2024/05/06 09:30:11.892 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=75] [category=ddl] [job="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:11.883 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:11.895 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=36] [neededSchemaVersion=37] ["start time"=284.026µs] [gotSchemaVersion=37] [phyTblIDs="[74]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:11.897 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:11.897 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=75] [version=37] [2024/05/06 09:30:11.897 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=37] ["take time"=2.227278ms] [job="ID:75, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:11.883 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:11.902 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=75] [job="ID:75, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:11.883 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:11.906 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=75] [2024/05/06 09:30:11.906 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:11.906 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=37] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_table_status (\n\t\ttable_id bigint(64) PRIMARY KEY,\n parent_table_id bigint(64),\n table_statistics text DEFAULT NULL,\n\t\tlast_job_id varchar(64) DEFAULT NULL,\n\t\tlast_job_start_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_finish_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_ttl_expire timestamp NULL DEFAULT NULL,\n last_job_summary text DEFAULT NULL,\n\t\tcurrent_job_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_addr varchar(256) DEFAULT NULL,\n\t\tcurrent_job_owner_hb_time timestamp,\n\t\tcurrent_job_start_time timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_ttl_expire timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_state text DEFAULT NULL,\n\t\tcurrent_job_status varchar(64) DEFAULT NULL,\n \t\tcurrent_job_status_update_time timestamp NULL DEFAULT NULL);"] [user=] [2024/05/06 09:30:11.910 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:11.908 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:11.910 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:11.908 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_table_status (\n\t\ttable_id bigint(64) PRIMARY KEY,\n parent_table_id bigint(64),\n table_statistics text DEFAULT NULL,\n\t\tlast_job_id varchar(64) DEFAULT NULL,\n\t\tlast_job_start_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_finish_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_ttl_expire timestamp NULL DEFAULT NULL,\n last_job_summary text DEFAULT NULL,\n\t\tcurrent_job_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_addr varchar(256) DEFAULT NULL,\n\t\tcurrent_job_owner_hb_time timestamp,\n\t\tcurrent_job_start_time timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_ttl_expire timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_state text DEFAULT NULL,\n\t\tcurrent_job_status varchar(64) DEFAULT NULL,\n \t\tcurrent_job_status_update_time timestamp NULL DEFAULT NULL);"] [2024/05/06 09:30:11.917 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=77] [category=ddl] [job="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:11.908 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:11.922 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=37] [neededSchemaVersion=38] ["start time"=392.659µs] [gotSchemaVersion=38] [phyTblIDs="[76]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:11.923 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:11.923 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=77] [version=38] [2024/05/06 09:30:11.924 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=38] ["take time"=2.336497ms] [job="ID:77, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:11.908 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:11.928 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=77] [job="ID:77, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:11.908 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:11.932 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=77] [2024/05/06 09:30:11.932 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:11.933 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=38] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_task (\n\t\tjob_id varchar(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tscan_id int NOT NULL,\n\t\tscan_range_start BLOB,\n\t\tscan_range_end BLOB,\n\t\texpire_time timestamp NOT NULL,\n\t\towner_id varchar(64) DEFAULT NULL,\n\t\towner_addr varchar(64) DEFAULT NULL,\n\t\towner_hb_time timestamp DEFAULT NULL,\n\t\tstatus varchar(64) DEFAULT 'waiting',\n\t\tstatus_update_time timestamp NULL DEFAULT NULL,\n\t\tstate text,\n\t\tcreated_time timestamp NOT NULL,\n\t\tprimary key(job_id, scan_id),\n\t\tkey(created_time));"] [user=] [2024/05/06 09:30:11.935 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:11.934 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:11.935 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:11.934 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_task (\n\t\tjob_id varchar(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tscan_id int NOT NULL,\n\t\tscan_range_start BLOB,\n\t\tscan_range_end BLOB,\n\t\texpire_time timestamp NOT NULL,\n\t\towner_id varchar(64) DEFAULT NULL,\n\t\towner_addr varchar(64) DEFAULT NULL,\n\t\towner_hb_time timestamp DEFAULT NULL,\n\t\tstatus varchar(64) DEFAULT 'waiting',\n\t\tstatus_update_time timestamp NULL DEFAULT NULL,\n\t\tstate text,\n\t\tcreated_time timestamp NOT NULL,\n\t\tprimary key(job_id, scan_id),\n\t\tkey(created_time));"] [2024/05/06 09:30:11.943 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=79] [category=ddl] [job="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:11.934 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:11.947 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=38] [neededSchemaVersion=39] ["start time"=544.662µs] [gotSchemaVersion=39] [phyTblIDs="[78]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:11.949 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:11.949 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=79] [version=39] [2024/05/06 09:30:11.951 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=39] ["take time"=4.456561ms] [job="ID:79, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:11.934 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:11.956 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=79] [job="ID:79, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:11.934 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:11.965 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=79] [2024/05/06 09:30:11.965 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:11.966 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=39] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_job_history (\n\t\tjob_id varchar(64) PRIMARY KEY,\n\t\ttable_id bigint(64) NOT NULL,\n parent_table_id bigint(64) NOT NULL,\n \ttable_schema varchar(64) NOT NULL,\n\t\ttable_name varchar(64) NOT NULL,\n \tpartition_name varchar(64) DEFAULT NULL,\n\t\tcreate_time timestamp NOT NULL,\n\t\tfinish_time timestamp NOT NULL,\n\t\tttl_expire timestamp NOT NULL,\n summary_text text,\n\t\texpired_rows bigint(64) DEFAULT NULL,\n \tdeleted_rows bigint(64) DEFAULT NULL,\n \terror_delete_rows bigint(64) DEFAULT NULL,\n \tstatus varchar(64) NOT NULL,\n \tkey(table_schema, table_name, create_time),\n \tkey(parent_table_id, create_time),\n \tkey(create_time)\n\t);"] [user=] [2024/05/06 09:30:11.978 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:11.974 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:11.978 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:11.974 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_job_history (\n\t\tjob_id varchar(64) PRIMARY KEY,\n\t\ttable_id bigint(64) NOT NULL,\n parent_table_id bigint(64) NOT NULL,\n \ttable_schema varchar(64) NOT NULL,\n\t\ttable_name varchar(64) NOT NULL,\n \tpartition_name varchar(64) DEFAULT NULL,\n\t\tcreate_time timestamp NOT NULL,\n\t\tfinish_time timestamp NOT NULL,\n\t\tttl_expire timestamp NOT NULL,\n summary_text text,\n\t\texpired_rows bigint(64) DEFAULT NULL,\n \tdeleted_rows bigint(64) DEFAULT NULL,\n \terror_delete_rows bigint(64) DEFAULT NULL,\n \tstatus varchar(64) NOT NULL,\n \tkey(table_schema, table_name, create_time),\n \tkey(parent_table_id, create_time),\n \tkey(create_time)\n\t);"] [2024/05/06 09:30:11.988 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=81] [category=ddl] [job="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:80, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:11.974 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:11.994 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=39] [neededSchemaVersion=40] ["start time"=581.609µs] [gotSchemaVersion=40] [phyTblIDs="[80]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:11.995 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:11.995 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=81] [version=40] [2024/05/06 09:30:11.998 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=40] ["take time"=4.636136ms] [job="ID:81, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:11.974 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:12.003 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=81] [job="ID:81, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:80, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:11.974 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:12.007 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=81] [2024/05/06 09:30:12.007 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:12.008 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=40] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(261),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tpriority INT DEFAULT 1,\n\t\tcreate_time TIMESTAMP,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\ttarget_scope VARCHAR(256) DEFAULT \"\",\n\t\terror BLOB,\n\t\tkey(state),\n \tUNIQUE KEY task_key(task_key)\n\t);"] [user=] [2024/05/06 09:30:12.011 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:12.009 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:12.011 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:12.009 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(261),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tpriority INT DEFAULT 1,\n\t\tcreate_time TIMESTAMP,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\ttarget_scope VARCHAR(256) DEFAULT \"\",\n\t\terror BLOB,\n\t\tkey(state),\n \tUNIQUE KEY task_key(task_key)\n\t);"] [2024/05/06 09:30:12.018 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=83] [category=ddl] [job="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:82, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:12.009 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:12.023 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=40] [neededSchemaVersion=41] ["start time"=571.197µs] [gotSchemaVersion=41] [phyTblIDs="[82]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:12.024 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:12.024 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=83] [version=41] [2024/05/06 09:30:12.025 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=41] ["take time"=2.87206ms] [job="ID:83, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:12.009 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:12.030 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=83] [job="ID:83, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:82, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:12.009 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:12.035 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=83] [2024/05/06 09:30:12.035 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:12.035 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=41] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task_history (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(261),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tpriority INT DEFAULT 1,\n\t\tcreate_time TIMESTAMP,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\ttarget_scope VARCHAR(256) DEFAULT \"\",\n\t\terror BLOB,\n\t\tkey(state),\n \tUNIQUE KEY task_key(task_key)\n\t);"] [user=] [2024/05/06 09:30:12.038 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:85, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:84, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:12.036 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:12.038 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:85, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:84, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:12.036 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task_history (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(261),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tpriority INT DEFAULT 1,\n\t\tcreate_time TIMESTAMP,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\ttarget_scope VARCHAR(256) DEFAULT \"\",\n\t\terror BLOB,\n\t\tkey(state),\n \tUNIQUE KEY task_key(task_key)\n\t);"] [2024/05/06 09:30:12.046 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=85] [category=ddl] [job="ID:85, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:84, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:12.036 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:12.051 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=41] [neededSchemaVersion=42] ["start time"=616.755µs] [gotSchemaVersion=42] [phyTblIDs="[84]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:12.052 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:12.052 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=85] [version=42] [2024/05/06 09:30:12.053 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=42] ["take time"=2.880128ms] [job="ID:85, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:84, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:12.036 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:12.061 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=85] [job="ID:85, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:84, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:12.036 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:12.070 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=85] [2024/05/06 09:30:12.070 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:12.071 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=42] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_import_jobs (\n\t\tid bigint(64) NOT NULL AUTO_INCREMENT,\n\t\tcreate_time TIMESTAMP(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n\t\tstart_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tupdate_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tend_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\ttable_schema VARCHAR(64) NOT NULL,\n\t\ttable_name VARCHAR(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcreated_by VARCHAR(300) NOT NULL,\n\t\tparameters text NOT NULL,\n\t\tsource_file_size bigint(64) NOT NULL,\n\t\tstatus VARCHAR(64) NOT NULL,\n\t\tstep VARCHAR(64) NOT NULL,\n\t\tsummary text DEFAULT NULL,\n\t\terror_message TEXT DEFAULT NULL,\n\t\tPRIMARY KEY (id),\n\t\tKEY (created_by),\n\t\tKEY (status));"] [user=] [2024/05/06 09:30:12.077 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:87, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:86, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:12.075 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:12.077 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:87, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:86, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:12.075 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_import_jobs (\n\t\tid bigint(64) NOT NULL AUTO_INCREMENT,\n\t\tcreate_time TIMESTAMP(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n\t\tstart_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tupdate_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tend_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\ttable_schema VARCHAR(64) NOT NULL,\n\t\ttable_name VARCHAR(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcreated_by VARCHAR(300) NOT NULL,\n\t\tparameters text NOT NULL,\n\t\tsource_file_size bigint(64) NOT NULL,\n\t\tstatus VARCHAR(64) NOT NULL,\n\t\tstep VARCHAR(64) NOT NULL,\n\t\tsummary text DEFAULT NULL,\n\t\terror_message TEXT DEFAULT NULL,\n\t\tPRIMARY KEY (id),\n\t\tKEY (created_by),\n\t\tKEY (status));"] [2024/05/06 09:30:12.083 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=87] [category=ddl] [job="ID:87, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:86, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:12.075 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:12.087 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=42] [neededSchemaVersion=43] ["start time"=456.936µs] [gotSchemaVersion=43] [phyTblIDs="[86]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:12.088 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:12.088 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=87] [version=43] [2024/05/06 09:30:12.089 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=43] ["take time"=2.039874ms] [job="ID:87, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:86, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:12.075 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:12.094 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=87] [job="ID:87, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:86, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:12.075 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:12.099 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=87] [2024/05/06 09:30:12.099 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:12.099 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=43] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tINDEX sql_index(resource_group_name,watch_text(700)) COMMENT \"accelerate the speed when select quarantined query\",\n\t\tINDEX time_index(end_time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2024/05/06 09:30:12.103 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:89, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:88, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:12.101 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:12.103 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:89, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:88, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:12.101 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tINDEX sql_index(resource_group_name,watch_text(700)) COMMENT \"accelerate the speed when select quarantined query\",\n\t\tINDEX time_index(end_time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2024/05/06 09:30:12.110 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=89] [category=ddl] [job="ID:89, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:88, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:12.101 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:12.114 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=43] [neededSchemaVersion=44] ["start time"=426.707µs] [gotSchemaVersion=44] [phyTblIDs="[88]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:12.115 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:12.115 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=89] [version=44] [2024/05/06 09:30:12.115 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=44] ["take time"=2.086396ms] [job="ID:89, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:88, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:12.101 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:12.120 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=89] [job="ID:89, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:88, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:12.101 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:12.125 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=89] [2024/05/06 09:30:12.125 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:12.125 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=44] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_queries (\n\t\tresource_group_name varchar(32) not null,\n\t\ttime TIMESTAMP NOT NULL,\n\t\tmatch_type varchar(12) NOT NULL,\n\t\taction varchar(12) NOT NULL,\n\t\toriginal_sql TEXT NOT NULL,\n\t\tplan_digest TEXT NOT NULL,\n\t\ttidb_server varchar(512),\n\t\tINDEX plan_index(plan_digest(64)) COMMENT \"accelerate the speed when select runaway query\",\n\t\tINDEX time_index(time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2024/05/06 09:30:12.128 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:91, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:90, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:12.127 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:12.128 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:91, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:90, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:12.127 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_queries (\n\t\tresource_group_name varchar(32) not null,\n\t\ttime TIMESTAMP NOT NULL,\n\t\tmatch_type varchar(12) NOT NULL,\n\t\taction varchar(12) NOT NULL,\n\t\toriginal_sql TEXT NOT NULL,\n\t\tplan_digest TEXT NOT NULL,\n\t\ttidb_server varchar(512),\n\t\tINDEX plan_index(plan_digest(64)) COMMENT \"accelerate the speed when select runaway query\",\n\t\tINDEX time_index(time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2024/05/06 09:30:12.137 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=91] [category=ddl] [job="ID:91, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:90, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:12.127 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:12.140 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=44] [neededSchemaVersion=45] ["start time"=263.673µs] [gotSchemaVersion=45] [phyTblIDs="[90]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:12.141 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:12.141 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=91] [version=45] [2024/05/06 09:30:12.141 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=45] ["take time"=2.073738ms] [job="ID:91, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:90, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:12.127 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:12.146 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=91] [job="ID:91, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:90, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:12.127 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:12.149 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=91] [2024/05/06 09:30:12.149 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:12.150 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=45] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS `mysql`.`tidb_timers` (\n\t\tID BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tNAMESPACE VARCHAR(256) NOT NULL,\n\t\tTIMER_KEY VARCHAR(256) NOT NULL,\n\t\tTIMER_DATA BLOB,\n\t\tTIMEZONE VARCHAR(64) NOT NULL,\n\t\tSCHED_POLICY_TYPE VARCHAR(32) NOT NULL,\n\t\tSCHED_POLICY_EXPR VARCHAR(256) NOT NULL,\n\t\tHOOK_CLASS VARCHAR(64) NOT NULL,\n\t\tWATERMARK TIMESTAMP DEFAULT NULL,\n\t\tENABLE TINYINT(2) NOT NULL,\n\t\tTIMER_EXT JSON NOT NULL,\n\t\tEVENT_STATUS VARCHAR(32) NOT NULL,\n\t\tEVENT_ID VARCHAR(64) NOT NULL,\n\t\tEVENT_DATA BLOB,\n\t\tEVENT_START TIMESTAMP DEFAULT NULL,\n\t\tSUMMARY_DATA BLOB,\n\t\tCREATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,\n\t\tUPDATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tVERSION BIGINT(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (ID),\n\t\tUNIQUE KEY timer_key(NAMESPACE, TIMER_KEY),\n\t\tKEY hook_class(HOOK_CLASS)\n\t)"] [user=] [2024/05/06 09:30:12.159 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:93, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:92, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:12.157 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:12.159 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:93, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:92, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:12.157 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS `mysql`.`tidb_timers` (\n\t\tID BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tNAMESPACE VARCHAR(256) NOT NULL,\n\t\tTIMER_KEY VARCHAR(256) NOT NULL,\n\t\tTIMER_DATA BLOB,\n\t\tTIMEZONE VARCHAR(64) NOT NULL,\n\t\tSCHED_POLICY_TYPE VARCHAR(32) NOT NULL,\n\t\tSCHED_POLICY_EXPR VARCHAR(256) NOT NULL,\n\t\tHOOK_CLASS VARCHAR(64) NOT NULL,\n\t\tWATERMARK TIMESTAMP DEFAULT NULL,\n\t\tENABLE TINYINT(2) NOT NULL,\n\t\tTIMER_EXT JSON NOT NULL,\n\t\tEVENT_STATUS VARCHAR(32) NOT NULL,\n\t\tEVENT_ID VARCHAR(64) NOT NULL,\n\t\tEVENT_DATA BLOB,\n\t\tEVENT_START TIMESTAMP DEFAULT NULL,\n\t\tSUMMARY_DATA BLOB,\n\t\tCREATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,\n\t\tUPDATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tVERSION BIGINT(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (ID),\n\t\tUNIQUE KEY timer_key(NAMESPACE, TIMER_KEY),\n\t\tKEY hook_class(HOOK_CLASS)\n\t)"] [2024/05/06 09:30:12.168 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=93] [category=ddl] [job="ID:93, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:92, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:12.157 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:12.174 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=45] [neededSchemaVersion=46] ["start time"=629.665µs] [gotSchemaVersion=46] [phyTblIDs="[92]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:12.175 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:12.175 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=93] [version=46] [2024/05/06 09:30:12.180 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=46] ["take time"=7.030882ms] [job="ID:93, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:12.157 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:12.186 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=93] [job="ID:93, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:12.157 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:12.189 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=93] [2024/05/06 09:30:12.189 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:12.190 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=46] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch_done (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\trecord_id BIGINT(20) not null,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tdone_time TIMESTAMP(6) NOT NULL\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2024/05/06 09:30:12.192 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:95, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:94, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:12.191 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:12.192 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:95, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:94, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:12.191 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch_done (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\trecord_id BIGINT(20) not null,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tdone_time TIMESTAMP(6) NOT NULL\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2024/05/06 09:30:12.199 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=95] [category=ddl] [job="ID:95, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:94, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:12.191 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:12.203 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=46] [neededSchemaVersion=47] ["start time"=407.949µs] [gotSchemaVersion=47] [phyTblIDs="[94]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:12.204 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:12.204 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=95] [version=47] [2024/05/06 09:30:12.205 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=47] ["take time"=2.742686ms] [job="ID:95, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:94, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:12.191 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:12.210 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=95] [job="ID:95, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:94, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:12.191 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:12.213 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=95] [2024/05/06 09:30:12.213 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:12.213 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=47] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.dist_framework_meta (\n host VARCHAR(261) NOT NULL PRIMARY KEY,\n role VARCHAR(64),\n cpu_count int default 0,\n keyspace_id bigint(8) NOT NULL DEFAULT -1\n );"] [user=] [2024/05/06 09:30:12.220 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:97, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:96, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:12.215 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:12.220 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:97, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:96, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:12.215 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.dist_framework_meta (\n host VARCHAR(261) NOT NULL PRIMARY KEY,\n role VARCHAR(64),\n cpu_count int default 0,\n keyspace_id bigint(8) NOT NULL DEFAULT -1\n );"] [2024/05/06 09:30:12.228 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=97] [category=ddl] [job="ID:97, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:96, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:12.215 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:12.231 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=47] [neededSchemaVersion=48] ["start time"=328.692µs] [gotSchemaVersion=48] [phyTblIDs="[96]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:12.233 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:12.233 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=97] [version=48] [2024/05/06 09:30:12.233 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=48] ["take time"=2.018635ms] [job="ID:97, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:96, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:12.215 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:12.238 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=97] [job="ID:97, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:96, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:12.215 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:12.241 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=97] [2024/05/06 09:30:12.241 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:12.241 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=48] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.request_unit_by_group (\n\t\tstart_time TIMESTAMP(6) NOT NULL,\n\t\tend_time TIMESTAMP(6) NOT NULL,\n\t\tresource_group VARCHAR(32) NOT null,\n\t\ttotal_ru bigint(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (start_time, end_time, resource_group),\n\t\tKEY (resource_group)\n\t);"] [user=] [2024/05/06 09:30:12.244 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:99, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:98, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:12.243 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:12.244 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:99, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:98, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:12.243 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.request_unit_by_group (\n\t\tstart_time TIMESTAMP(6) NOT NULL,\n\t\tend_time TIMESTAMP(6) NOT NULL,\n\t\tresource_group VARCHAR(32) NOT null,\n\t\ttotal_ru bigint(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (start_time, end_time, resource_group),\n\t\tKEY (resource_group)\n\t);"] [2024/05/06 09:30:12.254 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=99] [category=ddl] [job="ID:99, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:98, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:12.243 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:12.257 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=48] [neededSchemaVersion=49] ["start time"=323.33µs] [gotSchemaVersion=49] [phyTblIDs="[98]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:12.259 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:12.259 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=99] [version=49] [2024/05/06 09:30:12.268 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=49] ["take time"=11.252677ms] [job="ID:99, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:98, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:12.243 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:12.277 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=99] [job="ID:99, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:98, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:12.243 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:12.281 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=99] [2024/05/06 09:30:12.281 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:12.281 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=49] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS sys;"] [user=] [2024/05/06 09:30:12.284 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:101, Type:create schema, State:queueing, SchemaState:none, SchemaID:100, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:30:12.283 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:12.284 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:101, Type:create schema, State:queueing, SchemaState:none, SchemaID:100, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:30:12.283 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE DATABASE IF NOT EXISTS sys;"] [2024/05/06 09:30:12.295 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=101] [category=ddl] [job="ID:101, Type:create schema, State:queueing, SchemaState:none, SchemaID:100, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:12.283 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:12.297 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=49] [neededSchemaVersion=50] ["start time"=75.648µs] [gotSchemaVersion=50] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2024/05/06 09:30:12.298 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:12.298 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=101] [version=50] [2024/05/06 09:30:12.301 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=50] ["take time"=4.107229ms] [job="ID:101, Type:create schema, State:done, SchemaState:public, SchemaID:100, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:30:12.283 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:12.307 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=101] [job="ID:101, Type:create schema, State:synced, SchemaState:public, SchemaID:100, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:12.283 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:12.311 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=101] [2024/05/06 09:30:12.311 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:12.314 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:103, Type:create view, State:queueing, SchemaState:none, SchemaID:100, TableID:102, RowCount:0, ArgLen:3, start time: 2024-05-06 09:30:12.313 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:12.315 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:103, Type:create view, State:queueing, SchemaState:none, SchemaID:100, TableID:102, RowCount:0, ArgLen:3, start time: 2024-05-06 09:30:12.313 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE OR REPLACE VIEW sys.schema_unused_indexes AS\n\t\tSELECT\n\t\t\ttable_schema as object_schema,\n\t\t\ttable_name as object_name,\n\t\t\tindex_name\n\t\tFROM information_schema.cluster_tidb_index_usage\n\t\tWHERE\n\t\t\ttable_schema not in ('sys', 'mysql', 'INFORMATION_SCHEMA', 'PERFORMANCE_SCHEMA') and\n\t\t\tindex_name != 'PRIMARY'\n\t\tGROUP BY table_schema, table_name, index_name\n\t\tHAVING\n\t\t\tsum(last_access_time) is null;"] [2024/05/06 09:30:12.322 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=103] [category=ddl] [job="ID:103, Type:create view, State:queueing, SchemaState:none, SchemaID:100, TableID:102, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:12.313 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:12.326 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=50] [neededSchemaVersion=51] ["start time"=223.495µs] [gotSchemaVersion=51] [phyTblIDs="[102]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2024/05/06 09:30:12.327 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:12.327 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=103] [version=51] [2024/05/06 09:30:12.327 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=51] ["take time"=2.155938ms] [job="ID:103, Type:create view, State:done, SchemaState:public, SchemaID:100, TableID:102, RowCount:0, ArgLen:3, start time: 2024-05-06 09:30:12.313 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:12.333 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=103] [job="ID:103, Type:create view, State:synced, SchemaState:public, SchemaID:100, TableID:102, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:12.313 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:12.337 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=103] [2024/05/06 09:30:12.337 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:12.376 +00:00] [INFO] [bootstrap.go:745] ["bootstrap successful"] ["take time"=1.659006775s] [2024/05/06 09:30:12.377 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=6fc3f2bf-ee3f-4336-95de-d477fbd2c67c] [ownerKey=/tidb/ddl/fg/owner] [2024/05/06 09:30:12.377 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/06 09:30:12.377 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 54, tp add index"] [category=ddl] ["take time"=4.868µs] [2024/05/06 09:30:12.377 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 55, tp add index"] [category=ddl] ["take time"=3.964µs] [2024/05/06 09:30:12.377 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 52, tp add index"] [category=ddl] ["take time"=3.877µs] [2024/05/06 09:30:12.377 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 53, tp add index"] [category=ddl] ["take time"=3.853µs] [2024/05/06 09:30:12.377 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/06 09:30:12.377 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 51, tp general"] [category=ddl] ["take time"=1.215µs] [2024/05/06 09:30:12.377 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/06 09:30:12.377 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2024/05/06 09:30:12.377 +00:00] [INFO] [session_pool.go:99] ["closing session pool"] [category=ddl] [2024/05/06 09:30:12.381 +00:00] [INFO] [ddl.go:951] ["DDL closed"] [category=ddl] [ID=6fc3f2bf-ee3f-4336-95de-d477fbd2c67c] ["take time"=4.256269ms] [2024/05/06 09:30:12.381 +00:00] [INFO] [ddl.go:769] ["stop DDL"] [category=ddl] [ID=6fc3f2bf-ee3f-4336-95de-d477fbd2c67c] [2024/05/06 09:30:12.381 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2024/05/06 09:30:12.381 +00:00] [INFO] [domain.go:907] ["loadSchemaInLoop exited."] [2024/05/06 09:30:12.381 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2024/05/06 09:30:12.381 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayStartLoop] [2024/05/06 09:30:12.381 +00:00] [INFO] [domain.go:761] ["topologySyncerKeeper exited."] [2024/05/06 09:30:12.381 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2024/05/06 09:30:12.381 +00:00] [INFO] [domain.go:737] ["globalConfigSyncerKeeper exited."] [2024/05/06 09:30:12.381 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/06 09:30:12.381 +00:00] [INFO] [domain.go:711] ["infoSyncerKeeper exited."] [2024/05/06 09:30:12.381 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2024/05/06 09:30:12.381 +00:00] [INFO] [domain.go:683] ["topNSlowQueryLoop exited."] [2024/05/06 09:30:12.381 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2024/05/06 09:30:12.381 +00:00] [INFO] [domain.go:1361] ["closestReplicaReadCheckLoop exited."] [2024/05/06 09:30:12.381 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/06 09:30:12.381 +00:00] [INFO] [domain.go:1074] ["domain closed"] ["take time"=4.70327ms] [2024/05/06 09:30:12.381 +00:00] [INFO] [tidb.go:80] ["new domain"] [store=3f59e537-7d37-403a-a6f2-4062c33df64e] ["ddl lease"=5s] ["stats lease"=-1ns] [2024/05/06 09:30:12.389 +00:00] [WARN] [controller.go:198] ["[resource group controller] server does not save config, load config failed"] [2024/05/06 09:30:12.389 +00:00] [INFO] [controller.go:185] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":10,\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\"}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":10,\"DegradedModeWaitDuration\":0}"] [2024/05/06 09:30:12.423 +00:00] [INFO] [domain.go:315] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=51] ["start time"=33.363898ms] [2024/05/06 09:30:12.428 +00:00] [INFO] [domain.go:635] ["full load and reset schema validator"] [2024/05/06 09:30:12.428 +00:00] [INFO] [ddl.go:818] ["start DDL"] [category=ddl] [ID=5166f97c-3310-4273-a6f1-bf7792d82756] [runWorker=true] [2024/05/06 09:30:12.428 +00:00] [INFO] [ddl.go:777] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=true] [2024/05/06 09:30:12.428 +00:00] [WARN] [env.go:51] ["initialize environment failed"] [category=ddl-ingest] ["storage limitation"="only support TiKV storage"] ["current storage"=unistore] ["lightning is initialized"=false] [2024/05/06 09:30:12.428 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2024/05/06 09:30:12.429 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=mdlCheckLoop] [2024/05/06 09:30:12.429 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2024/05/06 09:30:12.429 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2024/05/06 09:30:12.429 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/06 09:30:12.429 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayStartLoop] [2024/05/06 09:30:12.429 +00:00] [INFO] [delete_range.go:172] ["start delRange emulator"] [category=ddl] [2024/05/06 09:30:12.429 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/06 09:30:12.429 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2024/05/06 09:30:12.429 +00:00] [INFO] [runaway.go:149] ["try to start runaway manager loop"] [2024/05/06 09:30:12.429 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/06 09:30:12.429 +00:00] [WARN] [domain.go:1326] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/06 09:30:12.429 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/06 09:30:12.429 +00:00] [INFO] [job_table.go:349] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2024/05/06 09:30:12.429 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/06 09:30:12.429 +00:00] [INFO] [controller.go:447] ["[resource group controller] create resource group cost controller"] [name=default] [2024/05/06 09:30:12.436 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2024/05/06 09:30:12.436 +00:00] [WARN] [sysvar_cache.go:49] ["sysvar cache is empty, triggering rebuild"] [2024/05/06 09:30:12.451 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2024/05/06 09:30:12.454 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2024/05/06 09:30:12.456 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2024/05/06 09:30:12.457 +00:00] [INFO] [domain.go:2070] ["dumpFileGcChecker started"] [2024/05/06 09:30:12.457 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=indexUsageWorker] [2024/05/06 09:30:12.457 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=quitStatsOwner] [2024/05/06 09:30:12.458 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2024/05/06 09:30:12.458 +00:00] [INFO] [manager.go:113] ["build task executor manager"] [server-id=:4000] [total-cpu=16] [total-mem=342.3GiB] [2024/05/06 09:30:12.460 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2024/05/06 09:30:12.460 +00:00] [INFO] [manager.go:146] ["task executor manager start"] [server-id=:4000] [2024/05/06 09:30:12.460 +00:00] [INFO] [domain.go:1525] ["dist task executor manager started"] [2024/05/06 09:30:12.461 +00:00] [INFO] [task_manager.go:217] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=0] [newCount=4] [2024/05/06 09:30:12.461 +00:00] [INFO] [task_manager.go:217] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=0] [newCount=4] [2024/05/06 09:30:13.433 +00:00] [INFO] [runaway.go:158] ["preparations for the runaway manager are finished and start runaway manager loop"] [2024/05/06 09:30:13.433 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2024/05/06 09:30:13.433 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2024/05/06 09:30:13.433 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayStartLoop] [2024/05/06 09:30:13.461 +00:00] [INFO] [slots.go:205] ["initialize slot capacity"] [capacity=16] [2024/05/06 09:30:13.461 +00:00] [INFO] [runtime.go:160] ["TimerGroupRuntime loop started"] [groupID=ttl] [2024/05/06 09:30:13.461 +00:00] [INFO] [runtime.go:402] ["create watch chan if possible for timer runtime"] [groupID=ttl] [storeSupportWatch=true] [2024/05/06 09:30:13.463 +00:00] [INFO] [scheduler_manager.go:200] ["schedule task loop start"] [server-id=:4000] [2024/05/06 09:30:13.463 +00:00] [INFO] [scheduler_manager.go:373] ["cleanup loop start"] [server-id=:4000] [2024/05/06 09:30:13.463 +00:00] [INFO] [scheduler_manager.go:312] ["subtask table gc loop start"] [server-id=:4000] [2024/05/06 09:30:13.463 +00:00] [INFO] [scheduler_manager.go:453] ["collect loop start"] [server-id=:4000] [2024/05/06 09:30:14.429 +00:00] [INFO] [info.go:1142] [SetTiFlashGroupConfig] [2024/05/06 09:30:14.940 +00:00] [INFO] [domain.go:315] ["full load InfoSchema success"] [currentSchemaVersion=51] [neededSchemaVersion=51] ["start time"=10.050182ms] [2024/05/06 09:30:14.940 +00:00] [INFO] [domain.go:635] ["full load and reset schema validator"] [2024/05/06 09:30:17.461 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=5166f97c-3310-4273-a6f1-bf7792d82756] [ownerKey=/tidb/ddl/fg/owner] [2024/05/06 09:30:17.461 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/06 09:30:17.461 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 57, tp add index"] [category=ddl] ["take time"=2.943µs] [2024/05/06 09:30:17.461 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 58, tp add index"] [category=ddl] ["take time"=1.244µs] [2024/05/06 09:30:17.461 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 59, tp add index"] [category=ddl] ["take time"=1.224µs] [2024/05/06 09:30:17.461 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 60, tp add index"] [category=ddl] ["take time"=1.812µs] [2024/05/06 09:30:17.461 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/06 09:30:17.461 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 56, tp general"] [category=ddl] ["take time"=1.619µs] [2024/05/06 09:30:17.461 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/06 09:30:17.461 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2024/05/06 09:30:17.461 +00:00] [INFO] [session_pool.go:99] ["closing session pool"] [category=ddl] [2024/05/06 09:30:17.461 +00:00] [INFO] [ddl.go:951] ["DDL closed"] [category=ddl] [ID=5166f97c-3310-4273-a6f1-bf7792d82756] ["take time"=401.597µs] [2024/05/06 09:30:17.461 +00:00] [INFO] [ddl.go:769] ["stop DDL"] [category=ddl] [ID=5166f97c-3310-4273-a6f1-bf7792d82756] [2024/05/06 09:30:17.461 +00:00] [INFO] [domain.go:1026] ["stopping ttlJobManager"] [2024/05/06 09:30:17.461 +00:00] [INFO] [runtime.go:190] ["TimerGroupRuntime loop exit"] [groupID=ttl] [2024/05/06 09:30:17.461 +00:00] [INFO] [task_manager.go:194] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=4] [newCount=0] [2024/05/06 09:30:17.461 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/06 09:30:17.461 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/06 09:30:17.461 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/06 09:30:17.461 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/06 09:30:17.461 +00:00] [INFO] [task_manager.go:194] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=4] [newCount=0] [2024/05/06 09:30:17.461 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/06 09:30:17.461 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/06 09:30:17.461 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/06 09:30:17.461 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/06 09:30:17.462 +00:00] [INFO] [job_manager.go:174] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [2024/05/06 09:30:17.462 +00:00] [INFO] [domain.go:1037] ["ttlJobManager exited."] [2024/05/06 09:30:17.462 +00:00] [INFO] [manager.go:280] ["recoverMetaLoop done"] [server-id=:4000] [2024/05/06 09:30:17.462 +00:00] [INFO] [domain.go:1542] ["stopping dist task scheduler manager because the current node is not DDL owner anymore"] [id=5166f97c-3310-4273-a6f1-bf7792d82756] [2024/05/06 09:30:17.462 +00:00] [INFO] [scheduler_manager.go:379] ["cleanup loop exits"] [server-id=:4000] [2024/05/06 09:30:17.462 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2024/05/06 09:30:17.462 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2024/05/06 09:30:17.462 +00:00] [INFO] [domain.go:907] ["loadSchemaInLoop exited."] [2024/05/06 09:30:17.462 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2024/05/06 09:30:17.462 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=5166f97c-3310-4273-a6f1-bf7792d82756] [ownerKey=/tidb/bindinfo/owner] [2024/05/06 09:30:17.462 +00:00] [INFO] [domain.go:1889] ["globalBindHandleWorkerLoop exited."] [2024/05/06 09:30:17.462 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2024/05/06 09:30:17.462 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2024/05/06 09:30:17.462 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2024/05/06 09:30:17.462 +00:00] [INFO] [stats_syncload.go:202] ["SubLoadWorker exited."] [2024/05/06 09:30:17.463 +00:00] [INFO] [stats_syncload.go:202] ["SubLoadWorker exited."] [2024/05/06 09:30:17.463 +00:00] [INFO] [stats_syncload.go:202] ["SubLoadWorker exited."] [2024/05/06 09:30:17.463 +00:00] [INFO] [stats_syncload.go:202] ["SubLoadWorker exited."] [2024/05/06 09:30:17.463 +00:00] [INFO] [stats_syncload.go:202] ["SubLoadWorker exited."] [2024/05/06 09:30:17.463 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=5166f97c-3310-4273-a6f1-bf7792d82756] [ownerKey=/tidb/stats/owner] [2024/05/06 09:30:17.463 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=quitStatsOwner] [2024/05/06 09:30:17.463 +00:00] [INFO] [domain.go:2352] ["indexUsageWorker exited."] [2024/05/06 09:30:17.463 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=indexUsageWorker] [2024/05/06 09:30:17.463 +00:00] [INFO] [domain.go:2074] ["dumpFileGcChecker exited."] [2024/05/06 09:30:17.463 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2024/05/06 09:30:17.463 +00:00] [INFO] [domain.go:1750] ["LoadSysVarCacheLoop exited."] [2024/05/06 09:30:17.463 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2024/05/06 09:30:17.463 +00:00] [INFO] [domain.go:1700] ["loadPrivilegeInLoop exited."] [2024/05/06 09:30:17.463 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2024/05/06 09:30:17.463 +00:00] [INFO] [domain.go:761] ["topologySyncerKeeper exited."] [2024/05/06 09:30:17.463 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2024/05/06 09:30:17.463 +00:00] [INFO] [domain.go:737] ["globalConfigSyncerKeeper exited."] [2024/05/06 09:30:17.463 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/06 09:30:17.463 +00:00] [INFO] [domain.go:711] ["infoSyncerKeeper exited."] [2024/05/06 09:30:17.463 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2024/05/06 09:30:17.463 +00:00] [INFO] [domain.go:683] ["topNSlowQueryLoop exited."] [2024/05/06 09:30:17.463 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2024/05/06 09:30:17.463 +00:00] [INFO] [domain.go:1361] ["closestReplicaReadCheckLoop exited."] [2024/05/06 09:30:17.463 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/06 09:30:17.463 +00:00] [INFO] [manager.go:179] ["handle tasks loop done"] [server-id=:4000] [2024/05/06 09:30:17.463 +00:00] [INFO] [scheduler_manager.go:206] ["schedule task loop exits"] [server-id=:4000] [2024/05/06 09:30:17.463 +00:00] [INFO] [scheduler_manager.go:459] ["collect loop exits"] [server-id=:4000] [2024/05/06 09:30:17.463 +00:00] [INFO] [scheduler_manager.go:318] ["subtask history table gc loop exits"] [server-id=:4000] [2024/05/06 09:30:17.463 +00:00] [INFO] [domain.go:1544] ["dist task scheduler manager stopped"] [id=5166f97c-3310-4273-a6f1-bf7792d82756] [2024/05/06 09:30:17.463 +00:00] [INFO] [domain.go:1527] ["stopping dist task executor manager"] [2024/05/06 09:30:17.463 +00:00] [INFO] [domain.go:1529] ["dist task executor manager stopped"] [2024/05/06 09:30:17.463 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2024/05/06 09:30:17.464 +00:00] [INFO] [domain.go:1074] ["domain closed"] ["take time"=3.295347ms] [2024/05/06 09:30:17.465 +00:00] [INFO] [db.go:567] ["Closing database"] [2024/05/06 09:30:17.465 +00:00] [INFO] [db.go:592] ["Memtable flushed"] [2024/05/06 09:30:17.465 +00:00] [INFO] [db.go:596] ["Compaction finished"] [2024/05/06 09:30:17.465 +00:00] [INFO] [db.go:615] ["BlobManager finished"] [2024/05/06 09:30:17.465 +00:00] [INFO] [db.go:619] ["ResourceManager finished"] [2024/05/06 09:30:17.465 +00:00] [INFO] [db.go:625] ["Waiting for closer"] --- PASS: TestCheckOwner (6.79s) === RUN TestModifyColumnNullToNotNullWithChangingVal [2024/05/06 09:30:17.473 +00:00] [INFO] [store_cache.go:510] ["change store resolve state"] [store=1] [addr=store1] [from=unresolved] [to=resolved] [liveness-state=reachable] [2024/05/06 09:30:17.473 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 09:30:17.473 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 09:30:17.474 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 09:30:17.474 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 09:30:17.475 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 09:30:17.477 +00:00] [INFO] [tidb.go:80] ["new domain"] [store=facc6912-41d0-4a5b-ad68-e0152941876b] ["ddl lease"=600ms] ["stats lease"=-1ns] [2024/05/06 09:30:17.490 +00:00] [WARN] [controller.go:198] ["[resource group controller] server does not save config, load config failed"] [2024/05/06 09:30:17.490 +00:00] [INFO] [controller.go:185] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":10,\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\"}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":10,\"DegradedModeWaitDuration\":0}"] [2024/05/06 09:30:17.490 +00:00] [WARN] [domain.go:245] ["failed to get schema version"] [error="There is no Write MVCC info for the schema version"] [errorVerbose="There is no Write MVCC info for the schema version\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:335\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:242\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:606\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init\n\tpkg/domain/domain.go:1260\ngithub.com/pingcap/tidb/pkg/session.(*domainMap).Get.func1\n\tpkg/session/tidb.go:92\ngithub.com/pingcap/tidb/pkg/util.RunWithRetry\n\tpkg/util/misc.go:70\ngithub.com/pingcap/tidb/pkg/session.(*domainMap).Get\n\tpkg/session/tidb.go:79\ngithub.com/pingcap/tidb/pkg/session.createSessionWithOpt\n\tpkg/session/session.go:3620\ngithub.com/pingcap/tidb/pkg/session.createSession\n\tpkg/session/session.go:3612\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3562\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3346\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3312\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:294\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomainWithSchemaLease\n\tpkg/testkit/mockstore.go:319\ngithub.com/pingcap/tidb/pkg/ddl_test.TestModifyColumnNullToNotNullWithChangingVal\n\tpkg/ddl/modify_column_test.go:247\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=0] [2024/05/06 09:30:17.510 +00:00] [INFO] [domain.go:315] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=0] ["start time"=19.488338ms] [2024/05/06 09:30:17.510 +00:00] [INFO] [domain.go:635] ["full load and reset schema validator"] [2024/05/06 09:30:17.510 +00:00] [INFO] [ddl.go:818] ["start DDL"] [category=ddl] [ID=9488f0ff-51ee-48ab-af48-97ccfcd9ee3a] [runWorker=true] [2024/05/06 09:30:17.510 +00:00] [INFO] [ddl.go:777] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=true] [2024/05/06 09:30:17.510 +00:00] [WARN] [env.go:51] ["initialize environment failed"] [category=ddl-ingest] ["storage limitation"="only support TiKV storage"] ["current storage"=unistore] ["lightning is initialized"=false] [2024/05/06 09:30:17.510 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2024/05/06 09:30:17.510 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=mdlCheckLoop] [2024/05/06 09:30:17.510 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2024/05/06 09:30:17.510 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2024/05/06 09:30:17.510 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/06 09:30:17.510 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayStartLoop] [2024/05/06 09:30:17.510 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/06 09:30:17.510 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2024/05/06 09:30:17.510 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/06 09:30:17.510 +00:00] [WARN] [domain.go:1326] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/06 09:30:17.511 +00:00] [INFO] [delete_range.go:172] ["start delRange emulator"] [category=ddl] [2024/05/06 09:30:17.511 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/06 09:30:17.511 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/06 09:30:17.511 +00:00] [INFO] [runaway.go:149] ["try to start runaway manager loop"] [2024/05/06 09:30:17.512 +00:00] [INFO] [controller.go:447] ["[resource group controller] create resource group cost controller"] [name=default] [2024/05/06 09:30:17.512 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=0] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS test"] [user=] [2024/05/06 09:30:17.518 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:30:17.514 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:17.518 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:30:17.514 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE DATABASE IF NOT EXISTS test"] [2024/05/06 09:30:17.566 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/06 09:30:17.566 +00:00] [INFO] [job_table.go:349] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2024/05/06 09:30:17.579 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=3] [category=ddl] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:17.514 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:17.592 +00:00] [INFO] [domain.go:315] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=1] ["start time"=4.178771ms] [2024/05/06 09:30:17.592 +00:00] [INFO] [domain.go:635] ["full load and reset schema validator"] [2024/05/06 09:30:17.594 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:17.594 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=3] [version=1] [2024/05/06 09:30:17.596 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=1] ["take time"=8.140232ms] [job="ID:3, Type:create schema, State:done, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:30:17.514 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:17.602 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=3] [job="ID:3, Type:create schema, State:synced, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:17.514 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:17.605 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=3] [2024/05/06 09:30:17.605 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:17.606 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS `mysql`"] [user=] [2024/05/06 09:30:17.607 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.user (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tauthentication_string\tTEXT,\n\t\tplugin\t\t\t\t\tCHAR(64),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tProcess_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_db_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tSuper_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_user_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_slave_priv\t \tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_client_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_role_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_role_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAccount_locked\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShutdown_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReload_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tFILE_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tConfig_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_reuse_history smallint unsigned DEFAULT NULL,\n\t\tPassword_reuse_time smallint unsigned DEFAULT NULL,\n\t\tUser_attributes\t\t\tjson,\n\t\tToken_issuer\t\t\tVARCHAR(255),\n\t\tPassword_expired\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_last_changed\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP(),\n\t\tPassword_lifetime\t\tSMALLINT UNSIGNED DEFAULT NULL,\n\t\tPRIMARY KEY (Host, User));"] [user=] [2024/05/06 09:30:17.613 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:17.609 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:17.613 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:17.609 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.user (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tauthentication_string\tTEXT,\n\t\tplugin\t\t\t\t\tCHAR(64),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tProcess_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_db_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tSuper_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_user_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_slave_priv\t \tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_client_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_role_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_role_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAccount_locked\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShutdown_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReload_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tFILE_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tConfig_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_reuse_history smallint unsigned DEFAULT NULL,\n\t\tPassword_reuse_time smallint unsigned DEFAULT NULL,\n\t\tUser_attributes\t\t\tjson,\n\t\tToken_issuer\t\t\tVARCHAR(255),\n\t\tPassword_expired\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_last_changed\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP(),\n\t\tPassword_lifetime\t\tSMALLINT UNSIGNED DEFAULT NULL,\n\t\tPRIMARY KEY (Host, User));"] [2024/05/06 09:30:17.622 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=5] [category=ddl] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:17.609 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:17.632 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=1] [neededSchemaVersion=2] ["start time"=1.136493ms] [gotSchemaVersion=2] [phyTblIDs="[4]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:17.634 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:17.634 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=5] [version=2] [2024/05/06 09:30:17.635 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=2] ["take time"=4.387928ms] [job="ID:5, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:17.609 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:17.648 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=5] [job="ID:5, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:17.609 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:17.656 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=5] [2024/05/06 09:30:17.656 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:17.657 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=2] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.password_history (\n Host char(255) NOT NULL DEFAULT '',\n User char(32) NOT NULL DEFAULT '',\n Password_timestamp timestamp(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n Password text,\n PRIMARY KEY (Host,User,Password_timestamp )\n ) COMMENT='Password history for user accounts' "] [user=] [2024/05/06 09:30:17.674 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:17.659 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:17.674 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:17.659 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.password_history (\n Host char(255) NOT NULL DEFAULT '',\n User char(32) NOT NULL DEFAULT '',\n Password_timestamp timestamp(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n Password text,\n PRIMARY KEY (Host,User,Password_timestamp )\n ) COMMENT='Password history for user accounts' "] [2024/05/06 09:30:17.682 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=7] [category=ddl] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:17.659 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:17.688 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=2] [neededSchemaVersion=3] ["start time"=323.206µs] [gotSchemaVersion=3] [phyTblIDs="[6]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:17.690 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:17.690 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=7] [version=3] [2024/05/06 09:30:17.692 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=3] ["take time"=4.744564ms] [job="ID:7, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:17.659 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:17.710 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=7] [job="ID:7, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:17.659 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:17.714 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=7] [2024/05/06 09:30:17.714 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:17.715 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=3] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.global_priv (Host CHAR(255) NOT NULL DEFAULT '',User CHAR(80) NOT NULL DEFAULT '',Priv LONGTEXT NOT NULL DEFAULT '',PRIMARY KEY (Host, User))"] [user=] [2024/05/06 09:30:17.718 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:17.717 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:17.718 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:17.717 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.global_priv (Host CHAR(255) NOT NULL DEFAULT '',User CHAR(80) NOT NULL DEFAULT '',Priv LONGTEXT NOT NULL DEFAULT '',PRIMARY KEY (Host, User))"] [2024/05/06 09:30:17.730 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=9] [category=ddl] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:17.717 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:17.732 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=3] [neededSchemaVersion=4] ["start time"=306.572µs] [gotSchemaVersion=4] [phyTblIDs="[8]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:17.734 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:17.734 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=9] [version=4] [2024/05/06 09:30:17.734 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=4] ["take time"=2.30501ms] [job="ID:9, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:17.717 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:17.739 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=9] [job="ID:9, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:17.717 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:17.742 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=9] [2024/05/06 09:30:17.743 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:17.743 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=4] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.db (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tDB\t\t\t\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv \t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (Host, DB, User));"] [user=] [2024/05/06 09:30:17.750 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:17.747 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:17.750 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:17.747 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.db (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tDB\t\t\t\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv \t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (Host, DB, User));"] [2024/05/06 09:30:17.760 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=11] [category=ddl] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:17.747 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:17.767 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=4] [neededSchemaVersion=5] ["start time"=715.181µs] [gotSchemaVersion=5] [phyTblIDs="[10]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:17.769 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:17.769 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=11] [version=5] [2024/05/06 09:30:17.771 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=5] ["take time"=4.58008ms] [job="ID:11, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:17.747 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:17.781 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=11] [job="ID:11, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:17.747 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:17.792 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=11] [2024/05/06 09:30:17.792 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:17.793 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=5] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tables_priv (\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tGrantor\t\tCHAR(77),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tTable_priv\tSET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'),\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name));"] [user=] [2024/05/06 09:30:17.797 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:17.795 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:17.797 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:17.795 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tables_priv (\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tGrantor\t\tCHAR(77),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tTable_priv\tSET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'),\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name));"] [2024/05/06 09:30:17.807 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=13] [category=ddl] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:17.795 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:17.812 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=5] [neededSchemaVersion=6] ["start time"=409.989µs] [gotSchemaVersion=6] [phyTblIDs="[12]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:17.813 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:17.813 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=13] [version=6] [2024/05/06 09:30:17.815 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=6] ["take time"=4.19639ms] [job="ID:13, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:17.795 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:17.821 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=13] [job="ID:13, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:17.795 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:17.825 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=13] [2024/05/06 09:30:17.825 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:17.826 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=6] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.columns_priv(\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tColumn_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name, Column_name));"] [user=] [2024/05/06 09:30:17.829 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:17.827 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:17.829 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:17.827 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.columns_priv(\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tColumn_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name, Column_name));"] [2024/05/06 09:30:17.836 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=15] [category=ddl] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:17.827 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:17.840 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=7] ["start time"=264.231µs] [gotSchemaVersion=7] [phyTblIDs="[14]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:17.842 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:17.842 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=15] [version=7] [2024/05/06 09:30:17.842 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=7] ["take time"=2.396803ms] [job="ID:15, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:17.827 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:17.847 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=15] [job="ID:15, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:17.827 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:17.850 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=15] [2024/05/06 09:30:17.850 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:17.850 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=7] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.GLOBAL_VARIABLES(\n\t\tVARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE VARCHAR(16383) DEFAULT NULL);"] [user=] [2024/05/06 09:30:17.855 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:17.852 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:17.855 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:17.852 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.GLOBAL_VARIABLES(\n\t\tVARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE VARCHAR(16383) DEFAULT NULL);"] [2024/05/06 09:30:17.868 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=17] [category=ddl] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:17.852 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:17.873 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=7] [neededSchemaVersion=8] ["start time"=284.891µs] [gotSchemaVersion=8] [phyTblIDs="[16]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:17.875 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:17.875 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=17] [version=8] [2024/05/06 09:30:17.878 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=8] ["take time"=4.528392ms] [job="ID:17, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:17.852 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:17.887 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=17] [job="ID:17, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:17.852 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:17.895 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=17] [2024/05/06 09:30:17.895 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:17.896 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=8] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb(\n\t\tVARIABLE_NAME \tVARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE \tVARCHAR(1024) DEFAULT NULL,\n\t\tCOMMENT \t\tVARCHAR(1024));"] [user=] [2024/05/06 09:30:17.901 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:17.898 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:17.901 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:17.898 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb(\n\t\tVARIABLE_NAME \tVARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE \tVARCHAR(1024) DEFAULT NULL,\n\t\tCOMMENT \t\tVARCHAR(1024));"] [2024/05/06 09:30:17.910 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=19] [category=ddl] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:17.898 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:17.914 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=8] [neededSchemaVersion=9] ["start time"=302.616µs] [gotSchemaVersion=9] [phyTblIDs="[18]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:17.915 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:17.915 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=19] [version=9] [2024/05/06 09:30:17.915 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=9] ["take time"=2.036863ms] [job="ID:19, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:17.898 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:17.920 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=19] [job="ID:19, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:17.898 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:17.925 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=19] [2024/05/06 09:30:17.925 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:17.925 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=9] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.help_topic (\n \t\thelp_topic_id \t\tINT(10) UNSIGNED NOT NULL,\n \t\tname \t\t\t\tCHAR(64) NOT NULL,\n \t\thelp_category_id \tSMALLINT(5) UNSIGNED NOT NULL,\n \t\tdescription \t\tTEXT NOT NULL,\n \t\texample \t\t\tTEXT NOT NULL,\n \t\turl \t\t\t\tTEXT NOT NULL,\n \t\tPRIMARY KEY (help_topic_id) clustered,\n \t\tUNIQUE KEY name (name)\n\t\t) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] [user=] [2024/05/06 09:30:17.928 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:17.926 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:17.928 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:17.926 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.help_topic (\n \t\thelp_topic_id \t\tINT(10) UNSIGNED NOT NULL,\n \t\tname \t\t\t\tCHAR(64) NOT NULL,\n \t\thelp_category_id \tSMALLINT(5) UNSIGNED NOT NULL,\n \t\tdescription \t\tTEXT NOT NULL,\n \t\texample \t\t\tTEXT NOT NULL,\n \t\turl \t\t\t\tTEXT NOT NULL,\n \t\tPRIMARY KEY (help_topic_id) clustered,\n \t\tUNIQUE KEY name (name)\n\t\t) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] [2024/05/06 09:30:17.934 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=21] [category=ddl] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:17.926 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:17.938 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=9] [neededSchemaVersion=10] ["start time"=255.762µs] [gotSchemaVersion=10] [phyTblIDs="[20]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:17.939 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:17.939 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=21] [version=10] [2024/05/06 09:30:17.939 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=10] ["take time"=2.096739ms] [job="ID:21, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:17.926 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:17.944 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=21] [job="ID:21, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:17.926 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:17.948 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=21] [2024/05/06 09:30:17.948 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:17.948 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=10] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_meta (\n\t\tversion \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\ttable_id \t\tBIGINT(64) NOT NULL,\n\t\tmodify_count\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcount \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tsnapshot BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tINDEX idx_ver(version),\n\t\tUNIQUE INDEX tbl(table_id)\n\t);"] [user=] [2024/05/06 09:30:17.951 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:17.95 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:17.951 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:17.95 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_meta (\n\t\tversion \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\ttable_id \t\tBIGINT(64) NOT NULL,\n\t\tmodify_count\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcount \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tsnapshot BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tINDEX idx_ver(version),\n\t\tUNIQUE INDEX tbl(table_id)\n\t);"] [2024/05/06 09:30:17.960 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=23] [category=ddl] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:17.95 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:17.963 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=10] [neededSchemaVersion=11] ["start time"=275.631µs] [gotSchemaVersion=11] [phyTblIDs="[22]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:17.965 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:17.965 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=23] [version=11] [2024/05/06 09:30:17.965 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=11] ["take time"=2.010705ms] [job="ID:23, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:17.95 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:17.973 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=23] [job="ID:23, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:17.95 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:17.982 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=23] [2024/05/06 09:30:17.982 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:17.983 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=11] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_histograms (\n\t\ttable_id \t\t\tBIGINT(64) NOT NULL,\n\t\tis_index \t\t\tTINYINT(2) NOT NULL,\n\t\thist_id \t\t\tBIGINT(64) NOT NULL,\n\t\tdistinct_count \t\tBIGINT(64) NOT NULL,\n\t\tnull_count \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\ttot_col_size \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tmodify_count \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tversion \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tcm_sketch \t\t\tBLOB(6291456),\n\t\tstats_ver \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tflag \t\t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcorrelation \t\tDOUBLE NOT NULL DEFAULT 0,\n\t\tlast_analyze_pos \tLONGBLOB DEFAULT NULL,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] [2024/05/06 09:30:17.983 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(6291456) to MEDIUMBLOB"] [category=ddl] [2024/05/06 09:30:17.991 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:17.989 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:17.991 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:17.989 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_histograms (\n\t\ttable_id \t\t\tBIGINT(64) NOT NULL,\n\t\tis_index \t\t\tTINYINT(2) NOT NULL,\n\t\thist_id \t\t\tBIGINT(64) NOT NULL,\n\t\tdistinct_count \t\tBIGINT(64) NOT NULL,\n\t\tnull_count \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\ttot_col_size \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tmodify_count \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tversion \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tcm_sketch \t\t\tBLOB(6291456),\n\t\tstats_ver \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tflag \t\t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcorrelation \t\tDOUBLE NOT NULL DEFAULT 0,\n\t\tlast_analyze_pos \tLONGBLOB DEFAULT NULL,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id)\n\t);"] [2024/05/06 09:30:17.999 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=25] [category=ddl] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:17.989 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:18.004 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=11] [neededSchemaVersion=12] ["start time"=519.129µs] [gotSchemaVersion=12] [phyTblIDs="[24]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:18.006 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:18.006 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=25] [version=12] [2024/05/06 09:30:18.008 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=12] ["take time"=4.062055ms] [job="ID:25, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:17.989 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:18.018 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=25] [job="ID:25, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:17.989 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:18.023 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=25] [2024/05/06 09:30:18.023 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:18.023 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=12] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_buckets (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tbucket_id \tBIGINT(64) NOT NULL,\n\t\tcount \t\tBIGINT(64) NOT NULL,\n\t\trepeats \tBIGINT(64) NOT NULL,\n\t\tupper_bound LONGBLOB NOT NULL,\n\t\tlower_bound LONGBLOB ,\n\t\tndv BIGINT NOT NULL DEFAULT 0,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id)\n\t);"] [user=] [2024/05/06 09:30:18.029 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:18.028 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:18.029 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:18.028 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_buckets (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tbucket_id \tBIGINT(64) NOT NULL,\n\t\tcount \t\tBIGINT(64) NOT NULL,\n\t\trepeats \tBIGINT(64) NOT NULL,\n\t\tupper_bound LONGBLOB NOT NULL,\n\t\tlower_bound LONGBLOB ,\n\t\tndv BIGINT NOT NULL DEFAULT 0,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id)\n\t);"] [2024/05/06 09:30:18.034 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=27] [category=ddl] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:18.028 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:18.038 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=12] [neededSchemaVersion=13] ["start time"=253.127µs] [gotSchemaVersion=13] [phyTblIDs="[26]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:18.039 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:18.039 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=27] [version=13] [2024/05/06 09:30:18.040 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=13] ["take time"=2.855011ms] [job="ID:27, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:18.028 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:18.045 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=27] [job="ID:27, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:18.028 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:18.049 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=27] [2024/05/06 09:30:18.049 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:18.049 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=13] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_index (job_id, element_id)\n\t);"] [user=] [2024/05/06 09:30:18.052 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:18.051 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:18.052 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:18.051 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_index (job_id, element_id)\n\t);"] [2024/05/06 09:30:18.058 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=29] [category=ddl] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:18.051 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:18.061 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=13] [neededSchemaVersion=14] ["start time"=348.723µs] [gotSchemaVersion=14] [phyTblIDs="[28]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:18.063 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:18.063 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=29] [version=14] [2024/05/06 09:30:18.065 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=14] ["take time"=4.016211ms] [job="ID:29, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:18.051 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:18.080 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=29] [job="ID:29, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:18.051 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:18.086 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=29] [2024/05/06 09:30:18.087 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:18.087 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=14] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_done_index (job_id, element_id)\n\t);"] [user=] [2024/05/06 09:30:18.092 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:18.09 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:18.092 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:18.09 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_done_index (job_id, element_id)\n\t);"] [2024/05/06 09:30:18.099 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=31] [category=ddl] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:18.09 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:18.102 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=14] [neededSchemaVersion=15] ["start time"=273.686µs] [gotSchemaVersion=15] [phyTblIDs="[30]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:18.104 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:18.104 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=31] [version=15] [2024/05/06 09:30:18.105 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=15] ["take time"=2.864839ms] [job="ID:31, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:18.09 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:18.111 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=31] [job="ID:31, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:18.09 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:18.114 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=31] [2024/05/06 09:30:18.115 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:18.115 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=15] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_feedback (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tfeedback \tBLOB NOT NULL,\n\t\tINDEX hist(table_id, is_index, hist_id)\n\t);"] [user=] [2024/05/06 09:30:18.118 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:18.116 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:18.118 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:18.116 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_feedback (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tfeedback \tBLOB NOT NULL,\n\t\tINDEX hist(table_id, is_index, hist_id)\n\t);"] [2024/05/06 09:30:18.127 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=33] [category=ddl] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:18.116 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:18.131 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=15] [neededSchemaVersion=16] ["start time"=291.672µs] [gotSchemaVersion=16] [phyTblIDs="[32]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:18.132 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:18.132 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=33] [version=16] [2024/05/06 09:30:18.132 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=16] ["take time"=2.344006ms] [job="ID:33, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:18.116 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:18.138 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=33] [job="ID:33, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:18.116 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:18.142 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=33] [2024/05/06 09:30:18.142 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:18.142 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=16] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.role_edges (\n\t\tFROM_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tFROM_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tWITH_ADMIN_OPTION \tENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER)\n\t);"] [user=] [2024/05/06 09:30:18.157 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:18.149 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:18.157 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:18.149 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.role_edges (\n\t\tFROM_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tFROM_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tWITH_ADMIN_OPTION \tENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER)\n\t);"] [2024/05/06 09:30:18.166 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=35] [category=ddl] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:18.149 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:18.170 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=16] [neededSchemaVersion=17] ["start time"=344.934µs] [gotSchemaVersion=17] [phyTblIDs="[34]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:18.172 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:18.172 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=35] [version=17] [2024/05/06 09:30:18.172 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=17] ["take time"=2.027261ms] [job="ID:35, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:18.149 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:18.178 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=35] [job="ID:35, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:18.149 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:18.185 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=35] [2024/05/06 09:30:18.185 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:18.185 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=17] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.default_roles (\n\t\tHOST \t\t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tUSER \t\t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tDEFAULT_ROLE_HOST \tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%',\n\t\tDEFAULT_ROLE_USER \tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tPRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER)\n\t)"] [user=] [2024/05/06 09:30:18.189 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:18.187 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:18.189 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:18.187 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.default_roles (\n\t\tHOST \t\t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tUSER \t\t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tDEFAULT_ROLE_HOST \tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%',\n\t\tDEFAULT_ROLE_USER \tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tPRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER)\n\t)"] [2024/05/06 09:30:18.198 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=37] [category=ddl] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:18.187 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:18.202 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=18] ["start time"=317.107µs] [gotSchemaVersion=18] [phyTblIDs="[36]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:18.204 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:18.204 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=37] [version=18] [2024/05/06 09:30:18.206 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=18] ["take time"=4.031193ms] [job="ID:37, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:18.187 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:18.211 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=37] [job="ID:37, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:18.187 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:18.214 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=37] [2024/05/06 09:30:18.214 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:18.215 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=18] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql TEXT NOT NULL,\n\t\tbind_sql TEXT NOT NULL,\n\t\tdefault_db TEXT NOT NULL,\n\t\tstatus TEXT NOT NULL,\n\t\tcreate_time TIMESTAMP(3) NOT NULL,\n\t\tupdate_time TIMESTAMP(3) NOT NULL,\n\t\tcharset TEXT NOT NULL,\n\t\tcollation TEXT NOT NULL,\n\t\tsource VARCHAR(10) NOT NULL DEFAULT 'unknown',\n\t\tsql_digest varchar(64),\n\t\tplan_digest varchar(64),\n\t\tINDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\",\n\t\tINDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2024/05/06 09:30:18.218 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:18.216 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:18.218 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:18.216 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql TEXT NOT NULL,\n\t\tbind_sql TEXT NOT NULL,\n\t\tdefault_db TEXT NOT NULL,\n\t\tstatus TEXT NOT NULL,\n\t\tcreate_time TIMESTAMP(3) NOT NULL,\n\t\tupdate_time TIMESTAMP(3) NOT NULL,\n\t\tcharset TEXT NOT NULL,\n\t\tcollation TEXT NOT NULL,\n\t\tsource VARCHAR(10) NOT NULL DEFAULT 'unknown',\n\t\tsql_digest varchar(64),\n\t\tplan_digest varchar(64),\n\t\tINDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\",\n\t\tINDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2024/05/06 09:30:18.226 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=39] [category=ddl] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:18.216 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:18.231 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=18] [neededSchemaVersion=19] ["start time"=422.321µs] [gotSchemaVersion=19] [phyTblIDs="[38]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:18.232 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:18.232 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=39] [version=19] [2024/05/06 09:30:18.232 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=19] ["take time"=2.055296ms] [job="ID:39, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:18.216 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:18.238 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=39] [job="ID:39, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:18.216 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:18.242 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=39] [2024/05/06 09:30:18.242 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:18.244 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=19] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_top_n (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tcount \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] [2024/05/06 09:30:18.247 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:18.245 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:18.247 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:18.245 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_top_n (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tcount \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [2024/05/06 09:30:18.253 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=41] [category=ddl] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:18.245 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:18.257 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=19] [neededSchemaVersion=20] ["start time"=303.565µs] [gotSchemaVersion=20] [phyTblIDs="[40]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:18.258 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:18.258 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=41] [version=20] [2024/05/06 09:30:18.258 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=20] ["take time"=2.023543ms] [job="ID:41, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:18.245 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:18.265 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=41] [job="ID:41, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:18.245 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:18.269 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=41] [2024/05/06 09:30:18.269 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:18.270 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=20] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.expr_pushdown_blacklist (\n\t\tname \t\tCHAR(100) NOT NULL,\n\t\tstore_type \tCHAR(100) NOT NULL DEFAULT 'tikv,tiflash,tidb',\n\t\treason \t\tVARCHAR(200)\n\t);"] [user=] [2024/05/06 09:30:18.273 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:18.272 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:18.273 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:18.272 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.expr_pushdown_blacklist (\n\t\tname \t\tCHAR(100) NOT NULL,\n\t\tstore_type \tCHAR(100) NOT NULL DEFAULT 'tikv,tiflash,tidb',\n\t\treason \t\tVARCHAR(200)\n\t);"] [2024/05/06 09:30:18.282 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=43] [category=ddl] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:18.272 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:18.285 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=20] [neededSchemaVersion=21] ["start time"=266.673µs] [gotSchemaVersion=21] [phyTblIDs="[42]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:18.287 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:18.287 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=43] [version=21] [2024/05/06 09:30:18.287 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=21] ["take time"=2.71404ms] [job="ID:43, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:18.272 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:18.294 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=43] [job="ID:43, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:18.272 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:18.297 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=43] [2024/05/06 09:30:18.297 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:18.298 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=21] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] [user=] [2024/05/06 09:30:18.302 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:18.3 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:18.302 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:18.3 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] [2024/05/06 09:30:18.309 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=45] [category=ddl] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:18.3 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:18.311 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=21] [neededSchemaVersion=22] ["start time"=197.904µs] [gotSchemaVersion=22] [phyTblIDs="[44]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:18.312 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:18.312 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=45] [version=22] [2024/05/06 09:30:18.314 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=22] ["take time"=2.956608ms] [job="ID:45, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:18.3 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:18.322 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=45] [job="ID:45, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:18.3 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:18.325 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=45] [2024/05/06 09:30:18.325 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:18.326 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=22] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_extended (\n\t\tname varchar(32) NOT NULL,\n\t\ttype tinyint(4) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcolumn_ids varchar(32) NOT NULL,\n\t\tstats blob DEFAULT NULL,\n\t\tversion bigint(64) unsigned NOT NULL,\n\t\tstatus tinyint(4) NOT NULL,\n\t\tPRIMARY KEY(name, table_id),\n\t\tKEY idx_1 (table_id, status, version),\n\t\tKEY idx_2 (status, version)\n\t);"] [user=] [2024/05/06 09:30:18.329 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:18.327 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:18.329 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:18.327 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_extended (\n\t\tname varchar(32) NOT NULL,\n\t\ttype tinyint(4) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcolumn_ids varchar(32) NOT NULL,\n\t\tstats blob DEFAULT NULL,\n\t\tversion bigint(64) unsigned NOT NULL,\n\t\tstatus tinyint(4) NOT NULL,\n\t\tPRIMARY KEY(name, table_id),\n\t\tKEY idx_1 (table_id, status, version),\n\t\tKEY idx_2 (status, version)\n\t);"] [2024/05/06 09:30:18.336 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=47] [category=ddl] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:18.327 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:18.339 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=22] [neededSchemaVersion=23] ["start time"=301.272µs] [gotSchemaVersion=23] [phyTblIDs="[46]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:18.340 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:18.340 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=47] [version=23] [2024/05/06 09:30:18.342 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=23] ["take time"=3.019188ms] [job="ID:47, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:18.327 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:18.349 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=47] [job="ID:47, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:18.327 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:18.353 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=47] [2024/05/06 09:30:18.353 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:18.353 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=23] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] [2024/05/06 09:30:18.357 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:18.355 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:18.357 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:18.355 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [2024/05/06 09:30:18.368 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=49] [category=ddl] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:18.355 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:18.373 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=23] [neededSchemaVersion=24] ["start time"=294.805µs] [gotSchemaVersion=24] [phyTblIDs="[48]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:18.374 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:18.374 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=49] [version=24] [2024/05/06 09:30:18.374 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=24] ["take time"=2.014869ms] [job="ID:49, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:18.355 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:18.379 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=49] [job="ID:49, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:18.355 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:18.385 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=49] [2024/05/06 09:30:18.385 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:18.385 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=24] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.global_grants (\n\t\tUSER char(32) NOT NULL DEFAULT '',\n\t\tHOST char(255) NOT NULL DEFAULT '',\n\t\tPRIV char(32) NOT NULL DEFAULT '',\n\t\tWITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (USER,HOST,PRIV)\n\t);"] [user=] [2024/05/06 09:30:18.389 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:18.387 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:18.389 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:18.387 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.global_grants (\n\t\tUSER char(32) NOT NULL DEFAULT '',\n\t\tHOST char(255) NOT NULL DEFAULT '',\n\t\tPRIV char(32) NOT NULL DEFAULT '',\n\t\tWITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (USER,HOST,PRIV)\n\t);"] [2024/05/06 09:30:18.398 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=51] [category=ddl] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:18.387 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:18.402 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=24] [neededSchemaVersion=25] ["start time"=318.98µs] [gotSchemaVersion=25] [phyTblIDs="[50]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:18.403 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:18.403 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=51] [version=25] [2024/05/06 09:30:18.404 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=25] ["take time"=2.539998ms] [job="ID:51, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:18.387 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:18.410 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=51] [job="ID:51, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:18.387 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:18.414 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=51] [2024/05/06 09:30:18.414 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:18.414 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=25] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist (\n\t\tid bigint(64) auto_increment,\n\t\tfilter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\",\n\t\tfilter_value varchar(32) NOT NULL,\n\t\tkey idx(filter_type),\n\t\tprimary key(id)\n\t);"] [user=] [2024/05/06 09:30:18.417 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:18.416 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:18.417 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:18.416 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist (\n\t\tid bigint(64) auto_increment,\n\t\tfilter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\",\n\t\tfilter_value varchar(32) NOT NULL,\n\t\tkey idx(filter_type),\n\t\tprimary key(id)\n\t);"] [2024/05/06 09:30:18.426 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=53] [category=ddl] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:18.416 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:18.431 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=25] [neededSchemaVersion=26] ["start time"=291.5µs] [gotSchemaVersion=26] [phyTblIDs="[52]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:18.433 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:18.433 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=53] [version=26] [2024/05/06 09:30:18.435 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=26] ["take time"=4.046901ms] [job="ID:53, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:18.416 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:18.440 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=53] [job="ID:53, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:18.416 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:18.443 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=53] [2024/05/06 09:30:18.443 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:18.444 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=26] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.column_stats_usage (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tcolumn_id BIGINT(64) NOT NULL,\n\t\tlast_used_at TIMESTAMP,\n\t\tlast_analyzed_at TIMESTAMP,\n\t\tPRIMARY KEY (table_id, column_id) CLUSTERED\n\t);"] [user=] [2024/05/06 09:30:18.446 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:18.445 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:18.446 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:18.445 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.column_stats_usage (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tcolumn_id BIGINT(64) NOT NULL,\n\t\tlast_used_at TIMESTAMP,\n\t\tlast_analyzed_at TIMESTAMP,\n\t\tPRIMARY KEY (table_id, column_id) CLUSTERED\n\t);"] [2024/05/06 09:30:18.454 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=55] [category=ddl] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:18.445 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:18.458 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=26] [neededSchemaVersion=27] ["start time"=319.9µs] [gotSchemaVersion=27] [phyTblIDs="[54]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:18.459 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:18.459 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=55] [version=27] [2024/05/06 09:30:18.459 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=27] ["take time"=2.455094ms] [job="ID:55, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:18.445 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:18.466 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=55] [job="ID:55, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:18.445 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:18.470 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=55] [2024/05/06 09:30:18.470 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:18.470 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=27] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.table_cache_meta (\n\t\ttid bigint(11) NOT NULL DEFAULT 0,\n\t\tlock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE',\n\t\tlease bigint(20) NOT NULL DEFAULT 0,\n\t\toldReadLease bigint(20) NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (tid)\n\t);"] [user=] [2024/05/06 09:30:18.473 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:18.472 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:18.473 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:18.472 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.table_cache_meta (\n\t\ttid bigint(11) NOT NULL DEFAULT 0,\n\t\tlock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE',\n\t\tlease bigint(20) NOT NULL DEFAULT 0,\n\t\toldReadLease bigint(20) NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (tid)\n\t);"] [2024/05/06 09:30:18.478 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=57] [category=ddl] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:18.472 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:18.481 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=27] [neededSchemaVersion=28] ["start time"=277.754µs] [gotSchemaVersion=28] [phyTblIDs="[56]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:18.483 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:18.483 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=57] [version=28] [2024/05/06 09:30:18.483 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=28] ["take time"=2.017992ms] [job="ID:57, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:18.472 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:18.493 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=57] [job="ID:57, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:18.472 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:18.497 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=57] [2024/05/06 09:30:18.497 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:18.498 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=28] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_options (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tsample_num BIGINT(64) NOT NULL DEFAULT 0,\n\t\tsample_rate DOUBLE NOT NULL DEFAULT -1,\n\t\tbuckets BIGINT(64) NOT NULL DEFAULT 0,\n\t\ttopn BIGINT(64) NOT NULL DEFAULT -1,\n\t\tcolumn_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT',\n\t\tcolumn_ids TEXT(19372),\n\t\tPRIMARY KEY (table_id) CLUSTERED\n\t);"] [user=] [2024/05/06 09:30:18.498 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(19372) to MEDIUMBLOB"] [category=ddl] [2024/05/06 09:30:18.501 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:18.499 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:18.501 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:18.499 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.analyze_options (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tsample_num BIGINT(64) NOT NULL DEFAULT 0,\n\t\tsample_rate DOUBLE NOT NULL DEFAULT -1,\n\t\tbuckets BIGINT(64) NOT NULL DEFAULT 0,\n\t\ttopn BIGINT(64) NOT NULL DEFAULT -1,\n\t\tcolumn_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT',\n\t\tcolumn_ids TEXT(19372),\n\t\tPRIMARY KEY (table_id) CLUSTERED\n\t);"] [2024/05/06 09:30:18.510 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=59] [category=ddl] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:18.499 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:18.512 +00:00] [WARN] [runaway.go:166] ["failed to start runaway manager loop, please check whether the bootstrap or update is finished"] [error="[schema:1146]Table 'mysql.tidb_runaway_watch' doesn't exist"] [errorVerbose="[schema:1146]Table 'mysql.tidb_runaway_watch' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:141\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:67\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2089\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternalStmt\n\tpkg/session/session.go:1993\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL.func1\n\tpkg/session/session.go:1958\ngithub.com/pingcap/tidb/pkg/session.(*session).withRestrictedSQLExecutor\n\tpkg/session/session.go:1944\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL\n\tpkg/session/session.go:1948\ngithub.com/pingcap/tidb/pkg/domain.(*SystemTableReader).Read\n\tpkg/domain/runaway.go:655\ngithub.com/pingcap/tidb/pkg/domain.getRunawayWatchRecord\n\tpkg/domain/runaway.go:543\ngithub.com/pingcap/tidb/pkg/domain.(*runawaySyncer).getWatchRecord\n\tpkg/domain/runaway.go:526\ngithub.com/pingcap/tidb/pkg/domain.(*runawaySyncer).getNewWatchRecords\n\tpkg/domain/runaway.go:509\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).updateNewAndDoneWatch\n\tpkg/domain/runaway.go:177\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).runawayStartLoop\n\tpkg/domain/runaway.go:156\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:99\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [2024/05/06 09:30:18.513 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=28] [neededSchemaVersion=29] ["start time"=280.194µs] [gotSchemaVersion=29] [phyTblIDs="[58]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:18.514 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:18.514 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=59] [version=29] [2024/05/06 09:30:18.515 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=29] ["take time"=2.079812ms] [job="ID:59, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:18.499 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:18.520 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=59] [job="ID:59, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:18.499 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:18.523 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=59] [2024/05/06 09:30:18.523 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:18.524 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=29] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tstats_data longblob NOT NULL,\n\t\tseq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice',\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version_seq (table_id, version, seq_no),\n\t\tKEY table_create_time (table_id, create_time, seq_no),\n \tKEY idx_create_time (create_time)\n\t);"] [user=] [2024/05/06 09:30:18.527 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:18.525 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:18.527 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:18.525 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tstats_data longblob NOT NULL,\n\t\tseq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice',\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version_seq (table_id, version, seq_no),\n\t\tKEY table_create_time (table_id, create_time, seq_no),\n \tKEY idx_create_time (create_time)\n\t);"] [2024/05/06 09:30:18.534 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=61] [category=ddl] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:18.525 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:18.537 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=29] [neededSchemaVersion=30] ["start time"=363.436µs] [gotSchemaVersion=30] [phyTblIDs="[60]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:18.538 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:18.539 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=61] [version=30] [2024/05/06 09:30:18.540 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=30] ["take time"=4.038978ms] [job="ID:61, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:18.525 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:18.546 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=61] [job="ID:61, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:18.525 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:18.550 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=61] [2024/05/06 09:30:18.550 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:18.550 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=30] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_meta_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL,\n\t\tcount bigint(64) NOT NULL,\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n \tsource varchar(40) NOT NULL,\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version (table_id, version),\n\t\tKEY table_create_time (table_id, create_time),\n \tKEY idx_create_time (create_time)\n\t);"] [user=] [2024/05/06 09:30:18.553 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:18.551 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:18.553 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:18.551 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_meta_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL,\n\t\tcount bigint(64) NOT NULL,\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n \tsource varchar(40) NOT NULL,\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version (table_id, version),\n\t\tKEY table_create_time (table_id, create_time),\n \tKEY idx_create_time (create_time)\n\t);"] [2024/05/06 09:30:18.569 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=63] [category=ddl] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:18.551 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:18.578 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=30] [neededSchemaVersion=31] ["start time"=370.222µs] [gotSchemaVersion=31] [phyTblIDs="[62]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:18.579 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:18.579 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=63] [version=31] [2024/05/06 09:30:18.580 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=31] ["take time"=2.352856ms] [job="ID:63, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:18.551 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:18.587 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=63] [job="ID:63, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:18.551 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:18.591 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=63] [2024/05/06 09:30:18.591 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:18.592 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=31] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_jobs (\n\t\tid BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\ttable_schema CHAR(64) NOT NULL DEFAULT '',\n\t\ttable_name CHAR(64) NOT NULL DEFAULT '',\n\t\tpartition_name CHAR(64) NOT NULL DEFAULT '',\n\t\tjob_info TEXT NOT NULL,\n\t\tprocessed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tstart_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tstate ENUM('pending', 'running', 'finished', 'failed') NOT NULL,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job',\n\t\tprocess_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job',\n\t\tPRIMARY KEY (id),\n\t\tKEY (update_time)\n\t);"] [user=] [2024/05/06 09:30:18.596 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:18.594 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:18.596 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:18.594 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.analyze_jobs (\n\t\tid BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\ttable_schema CHAR(64) NOT NULL DEFAULT '',\n\t\ttable_name CHAR(64) NOT NULL DEFAULT '',\n\t\tpartition_name CHAR(64) NOT NULL DEFAULT '',\n\t\tjob_info TEXT NOT NULL,\n\t\tprocessed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tstart_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tstate ENUM('pending', 'running', 'finished', 'failed') NOT NULL,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job',\n\t\tprocess_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job',\n\t\tPRIMARY KEY (id),\n\t\tKEY (update_time)\n\t);"] [2024/05/06 09:30:18.605 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=65] [category=ddl] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:18.594 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:18.609 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=31] [neededSchemaVersion=32] ["start time"=409.449µs] [gotSchemaVersion=32] [phyTblIDs="[64]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:18.611 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:18.611 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=65] [version=32] [2024/05/06 09:30:18.617 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=32] ["take time"=8.53292ms] [job="ID:65, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:18.594 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:18.627 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=65] [job="ID:65, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:18.594 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:18.632 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=65] [2024/05/06 09:30:18.632 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:18.633 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=32] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] [user=] [2024/05/06 09:30:18.636 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:18.634 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:18.636 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:18.634 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] [2024/05/06 09:30:18.642 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=67] [category=ddl] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:18.634 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:18.645 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=200.235µs] [gotSchemaVersion=33] [phyTblIDs="[66]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:18.646 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:18.646 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=67] [version=33] [2024/05/06 09:30:18.648 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=33] ["take time"=3.704432ms] [job="ID:67, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:18.634 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:18.654 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=67] [job="ID:67, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:18.634 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:18.657 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=67] [2024/05/06 09:30:18.657 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:18.667 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2024-05-06 09:30:18.662 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:18.667 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2024-05-06 09:30:18.662 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE OR REPLACE VIEW mysql.tidb_mdl_view as (\n\t\tSELECT tidb_mdl_info.job_id,\n\t\t\tJSON_UNQUOTE(JSON_EXTRACT(cast(cast(job_meta as char) as json), \"$.schema_name\")) as db_name,\n\t\t\tJSON_UNQUOTE(JSON_EXTRACT(cast(cast(job_meta as char) as json), \"$.table_name\")) as table_name,\n\t\t\tJSON_UNQUOTE(JSON_EXTRACT(cast(cast(job_meta as char) as json), \"$.query\")) as query,\n\t\t\tsession_id,\n\t\t\tcluster_tidb_trx.start_time,\n\t\t\ttidb_decode_sql_digests(all_sql_digests, 4096) AS SQL_DIGESTS\n\t\tFROM mysql.tidb_ddl_job,\n\t\t\tmysql.tidb_mdl_info,\n\t\t\tinformation_schema.cluster_tidb_trx\n\t\tWHERE tidb_ddl_job.job_id=tidb_mdl_info.job_id\n\t\t\tAND CONCAT(',', tidb_mdl_info.table_ids, ',') REGEXP CONCAT(',', REPLACE(cluster_tidb_trx.related_table_ids, ',', '|'), ',') != 0\n\t);"] [2024/05/06 09:30:18.692 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=69] [category=ddl] [job="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:18.662 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:18.696 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=33] [neededSchemaVersion=34] ["start time"=344.086µs] [gotSchemaVersion=34] [phyTblIDs="[68]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2024/05/06 09:30:18.698 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:18.698 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=69] [version=34] [2024/05/06 09:30:18.700 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=34] ["take time"=4.348383ms] [job="ID:69, Type:create view, State:done, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2024-05-06 09:30:18.662 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:18.708 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=69] [job="ID:69, Type:create view, State:synced, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:18.662 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:18.712 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=69] [2024/05/06 09:30:18.712 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:18.713 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=34] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_status (\n\t\tsql_digest VARCHAR(128),\n\t\tplan_digest VARCHAR(128),\n\t\torigin_sql TEXT,\n\t\ttoken VARCHAR(128),\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the plan replayer job');"] [user=] [2024/05/06 09:30:18.716 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:18.714 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:18.716 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:18.714 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_status (\n\t\tsql_digest VARCHAR(128),\n\t\tplan_digest VARCHAR(128),\n\t\torigin_sql TEXT,\n\t\ttoken VARCHAR(128),\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the plan replayer job');"] [2024/05/06 09:30:18.723 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=71] [category=ddl] [job="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:18.714 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:18.727 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=34] [neededSchemaVersion=35] ["start time"=361.736µs] [gotSchemaVersion=35] [phyTblIDs="[70]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:18.728 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:18.728 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=71] [version=35] [2024/05/06 09:30:18.728 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=35] ["take time"=2.023778ms] [job="ID:71, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:18.714 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:18.734 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=71] [job="ID:71, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:18.714 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:18.737 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=71] [2024/05/06 09:30:18.737 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:18.738 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=35] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_task (\n\t\tsql_digest VARCHAR(128) NOT NULL,\n\t\tplan_digest VARCHAR(128) NOT NULL,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tPRIMARY KEY (sql_digest,plan_digest));"] [user=] [2024/05/06 09:30:18.741 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:18.739 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:18.741 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:18.739 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_task (\n\t\tsql_digest VARCHAR(128) NOT NULL,\n\t\tplan_digest VARCHAR(128) NOT NULL,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tPRIMARY KEY (sql_digest,plan_digest));"] [2024/05/06 09:30:18.749 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=73] [category=ddl] [job="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:18.739 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:18.752 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=35] [neededSchemaVersion=36] ["start time"=265.495µs] [gotSchemaVersion=36] [phyTblIDs="[72]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:18.753 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:18.753 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=73] [version=36] [2024/05/06 09:30:18.753 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=36] ["take time"=2.018997ms] [job="ID:73, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:18.739 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:18.763 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=73] [job="ID:73, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:18.739 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:18.767 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=73] [2024/05/06 09:30:18.768 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:18.768 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=36] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_table_locked(\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL DEFAULT 0,\n\t\tcount bigint(64) NOT NULL DEFAULT 0,\n\t\tversion bigint(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (table_id));"] [user=] [2024/05/06 09:30:18.771 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:18.77 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:18.771 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:18.77 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_table_locked(\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL DEFAULT 0,\n\t\tcount bigint(64) NOT NULL DEFAULT 0,\n\t\tversion bigint(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (table_id));"] [2024/05/06 09:30:18.780 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=75] [category=ddl] [job="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:18.77 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:18.784 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=36] [neededSchemaVersion=37] ["start time"=276.905µs] [gotSchemaVersion=37] [phyTblIDs="[74]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:18.785 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:18.785 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=75] [version=37] [2024/05/06 09:30:18.786 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=37] ["take time"=3.220897ms] [job="ID:75, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:18.77 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:18.795 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=75] [job="ID:75, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:18.77 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:18.800 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=75] [2024/05/06 09:30:18.800 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:18.800 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=37] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_table_status (\n\t\ttable_id bigint(64) PRIMARY KEY,\n parent_table_id bigint(64),\n table_statistics text DEFAULT NULL,\n\t\tlast_job_id varchar(64) DEFAULT NULL,\n\t\tlast_job_start_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_finish_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_ttl_expire timestamp NULL DEFAULT NULL,\n last_job_summary text DEFAULT NULL,\n\t\tcurrent_job_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_addr varchar(256) DEFAULT NULL,\n\t\tcurrent_job_owner_hb_time timestamp,\n\t\tcurrent_job_start_time timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_ttl_expire timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_state text DEFAULT NULL,\n\t\tcurrent_job_status varchar(64) DEFAULT NULL,\n \t\tcurrent_job_status_update_time timestamp NULL DEFAULT NULL);"] [user=] [2024/05/06 09:30:18.808 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:18.805 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:18.808 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:18.805 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_table_status (\n\t\ttable_id bigint(64) PRIMARY KEY,\n parent_table_id bigint(64),\n table_statistics text DEFAULT NULL,\n\t\tlast_job_id varchar(64) DEFAULT NULL,\n\t\tlast_job_start_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_finish_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_ttl_expire timestamp NULL DEFAULT NULL,\n last_job_summary text DEFAULT NULL,\n\t\tcurrent_job_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_addr varchar(256) DEFAULT NULL,\n\t\tcurrent_job_owner_hb_time timestamp,\n\t\tcurrent_job_start_time timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_ttl_expire timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_state text DEFAULT NULL,\n\t\tcurrent_job_status varchar(64) DEFAULT NULL,\n \t\tcurrent_job_status_update_time timestamp NULL DEFAULT NULL);"] [2024/05/06 09:30:18.814 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=77] [category=ddl] [job="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:18.805 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:18.820 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=37] [neededSchemaVersion=38] ["start time"=451.855µs] [gotSchemaVersion=38] [phyTblIDs="[76]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:18.821 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:18.821 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=77] [version=38] [2024/05/06 09:30:18.824 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=38] ["take time"=4.836913ms] [job="ID:77, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:18.805 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:18.831 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=77] [job="ID:77, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:18.805 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:18.835 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=77] [2024/05/06 09:30:18.835 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:18.836 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=38] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_task (\n\t\tjob_id varchar(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tscan_id int NOT NULL,\n\t\tscan_range_start BLOB,\n\t\tscan_range_end BLOB,\n\t\texpire_time timestamp NOT NULL,\n\t\towner_id varchar(64) DEFAULT NULL,\n\t\towner_addr varchar(64) DEFAULT NULL,\n\t\towner_hb_time timestamp DEFAULT NULL,\n\t\tstatus varchar(64) DEFAULT 'waiting',\n\t\tstatus_update_time timestamp NULL DEFAULT NULL,\n\t\tstate text,\n\t\tcreated_time timestamp NOT NULL,\n\t\tprimary key(job_id, scan_id),\n\t\tkey(created_time));"] [user=] [2024/05/06 09:30:18.841 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:18.839 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:18.841 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:18.839 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_task (\n\t\tjob_id varchar(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tscan_id int NOT NULL,\n\t\tscan_range_start BLOB,\n\t\tscan_range_end BLOB,\n\t\texpire_time timestamp NOT NULL,\n\t\towner_id varchar(64) DEFAULT NULL,\n\t\towner_addr varchar(64) DEFAULT NULL,\n\t\towner_hb_time timestamp DEFAULT NULL,\n\t\tstatus varchar(64) DEFAULT 'waiting',\n\t\tstatus_update_time timestamp NULL DEFAULT NULL,\n\t\tstate text,\n\t\tcreated_time timestamp NOT NULL,\n\t\tprimary key(job_id, scan_id),\n\t\tkey(created_time));"] [2024/05/06 09:30:18.848 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=79] [category=ddl] [job="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:18.839 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:18.852 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=38] [neededSchemaVersion=39] ["start time"=334.537µs] [gotSchemaVersion=39] [phyTblIDs="[78]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:18.853 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:18.853 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=79] [version=39] [2024/05/06 09:30:18.854 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=39] ["take time"=2.684138ms] [job="ID:79, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:18.839 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:18.862 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=79] [job="ID:79, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:18.839 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:18.868 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=79] [2024/05/06 09:30:18.868 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:18.869 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=39] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_job_history (\n\t\tjob_id varchar(64) PRIMARY KEY,\n\t\ttable_id bigint(64) NOT NULL,\n parent_table_id bigint(64) NOT NULL,\n \ttable_schema varchar(64) NOT NULL,\n\t\ttable_name varchar(64) NOT NULL,\n \tpartition_name varchar(64) DEFAULT NULL,\n\t\tcreate_time timestamp NOT NULL,\n\t\tfinish_time timestamp NOT NULL,\n\t\tttl_expire timestamp NOT NULL,\n summary_text text,\n\t\texpired_rows bigint(64) DEFAULT NULL,\n \tdeleted_rows bigint(64) DEFAULT NULL,\n \terror_delete_rows bigint(64) DEFAULT NULL,\n \tstatus varchar(64) NOT NULL,\n \tkey(table_schema, table_name, create_time),\n \tkey(parent_table_id, create_time),\n \tkey(create_time)\n\t);"] [user=] [2024/05/06 09:30:18.879 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:18.876 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:18.879 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:18.876 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_job_history (\n\t\tjob_id varchar(64) PRIMARY KEY,\n\t\ttable_id bigint(64) NOT NULL,\n parent_table_id bigint(64) NOT NULL,\n \ttable_schema varchar(64) NOT NULL,\n\t\ttable_name varchar(64) NOT NULL,\n \tpartition_name varchar(64) DEFAULT NULL,\n\t\tcreate_time timestamp NOT NULL,\n\t\tfinish_time timestamp NOT NULL,\n\t\tttl_expire timestamp NOT NULL,\n summary_text text,\n\t\texpired_rows bigint(64) DEFAULT NULL,\n \tdeleted_rows bigint(64) DEFAULT NULL,\n \terror_delete_rows bigint(64) DEFAULT NULL,\n \tstatus varchar(64) NOT NULL,\n \tkey(table_schema, table_name, create_time),\n \tkey(parent_table_id, create_time),\n \tkey(create_time)\n\t);"] [2024/05/06 09:30:18.886 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=81] [category=ddl] [job="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:80, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:18.876 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:18.890 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=39] [neededSchemaVersion=40] ["start time"=410.304µs] [gotSchemaVersion=40] [phyTblIDs="[80]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:18.891 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:18.891 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=81] [version=40] [2024/05/06 09:30:18.892 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=40] ["take time"=2.055738ms] [job="ID:81, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:18.876 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:18.898 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=81] [job="ID:81, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:80, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:18.876 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:18.902 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=81] [2024/05/06 09:30:18.902 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:18.903 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=40] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(261),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tpriority INT DEFAULT 1,\n\t\tcreate_time TIMESTAMP,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\ttarget_scope VARCHAR(256) DEFAULT \"\",\n\t\terror BLOB,\n\t\tkey(state),\n \tUNIQUE KEY task_key(task_key)\n\t);"] [user=] [2024/05/06 09:30:18.907 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:18.904 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:18.907 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:18.904 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(261),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tpriority INT DEFAULT 1,\n\t\tcreate_time TIMESTAMP,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\ttarget_scope VARCHAR(256) DEFAULT \"\",\n\t\terror BLOB,\n\t\tkey(state),\n \tUNIQUE KEY task_key(task_key)\n\t);"] [2024/05/06 09:30:18.914 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=83] [category=ddl] [job="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:82, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:18.904 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:18.919 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=40] [neededSchemaVersion=41] ["start time"=548.493µs] [gotSchemaVersion=41] [phyTblIDs="[82]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:18.921 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:18.921 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=83] [version=41] [2024/05/06 09:30:18.922 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=41] ["take time"=3.029773ms] [job="ID:83, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:18.904 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:18.928 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=83] [job="ID:83, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:82, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:18.904 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:18.932 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=83] [2024/05/06 09:30:18.932 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:18.933 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=41] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task_history (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(261),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tpriority INT DEFAULT 1,\n\t\tcreate_time TIMESTAMP,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\ttarget_scope VARCHAR(256) DEFAULT \"\",\n\t\terror BLOB,\n\t\tkey(state),\n \tUNIQUE KEY task_key(task_key)\n\t);"] [user=] [2024/05/06 09:30:18.936 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:85, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:84, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:18.934 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:18.936 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:85, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:84, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:18.934 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task_history (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(261),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tpriority INT DEFAULT 1,\n\t\tcreate_time TIMESTAMP,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\ttarget_scope VARCHAR(256) DEFAULT \"\",\n\t\terror BLOB,\n\t\tkey(state),\n \tUNIQUE KEY task_key(task_key)\n\t);"] [2024/05/06 09:30:18.943 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=85] [category=ddl] [job="ID:85, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:84, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:18.934 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:18.948 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=41] [neededSchemaVersion=42] ["start time"=383.073µs] [gotSchemaVersion=42] [phyTblIDs="[84]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:18.950 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:18.950 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=85] [version=42] [2024/05/06 09:30:18.953 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=42] ["take time"=4.953993ms] [job="ID:85, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:84, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:18.934 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:18.959 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=85] [job="ID:85, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:84, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:18.934 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:18.964 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=85] [2024/05/06 09:30:18.964 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:18.965 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=42] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_import_jobs (\n\t\tid bigint(64) NOT NULL AUTO_INCREMENT,\n\t\tcreate_time TIMESTAMP(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n\t\tstart_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tupdate_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tend_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\ttable_schema VARCHAR(64) NOT NULL,\n\t\ttable_name VARCHAR(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcreated_by VARCHAR(300) NOT NULL,\n\t\tparameters text NOT NULL,\n\t\tsource_file_size bigint(64) NOT NULL,\n\t\tstatus VARCHAR(64) NOT NULL,\n\t\tstep VARCHAR(64) NOT NULL,\n\t\tsummary text DEFAULT NULL,\n\t\terror_message TEXT DEFAULT NULL,\n\t\tPRIMARY KEY (id),\n\t\tKEY (created_by),\n\t\tKEY (status));"] [user=] [2024/05/06 09:30:18.969 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:87, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:86, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:18.967 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:18.969 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:87, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:86, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:18.967 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_import_jobs (\n\t\tid bigint(64) NOT NULL AUTO_INCREMENT,\n\t\tcreate_time TIMESTAMP(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n\t\tstart_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tupdate_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tend_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\ttable_schema VARCHAR(64) NOT NULL,\n\t\ttable_name VARCHAR(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcreated_by VARCHAR(300) NOT NULL,\n\t\tparameters text NOT NULL,\n\t\tsource_file_size bigint(64) NOT NULL,\n\t\tstatus VARCHAR(64) NOT NULL,\n\t\tstep VARCHAR(64) NOT NULL,\n\t\tsummary text DEFAULT NULL,\n\t\terror_message TEXT DEFAULT NULL,\n\t\tPRIMARY KEY (id),\n\t\tKEY (created_by),\n\t\tKEY (status));"] [2024/05/06 09:30:18.979 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=87] [category=ddl] [job="ID:87, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:86, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:18.967 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:18.984 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=42] [neededSchemaVersion=43] ["start time"=755.361µs] [gotSchemaVersion=43] [phyTblIDs="[86]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:18.986 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:18.986 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=87] [version=43] [2024/05/06 09:30:18.988 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=43] ["take time"=4.139092ms] [job="ID:87, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:86, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:18.967 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:18.998 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=87] [job="ID:87, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:86, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:18.967 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:19.003 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=87] [2024/05/06 09:30:19.003 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:19.004 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=43] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tINDEX sql_index(resource_group_name,watch_text(700)) COMMENT \"accelerate the speed when select quarantined query\",\n\t\tINDEX time_index(end_time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2024/05/06 09:30:19.009 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:89, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:88, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:19.005 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:19.009 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:89, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:88, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:19.005 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tINDEX sql_index(resource_group_name,watch_text(700)) COMMENT \"accelerate the speed when select quarantined query\",\n\t\tINDEX time_index(end_time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2024/05/06 09:30:19.016 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=89] [category=ddl] [job="ID:89, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:88, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:19.005 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:19.020 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=43] [neededSchemaVersion=44] ["start time"=416.253µs] [gotSchemaVersion=44] [phyTblIDs="[88]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:19.021 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:19.021 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=89] [version=44] [2024/05/06 09:30:19.024 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=44] ["take time"=4.5082ms] [job="ID:89, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:88, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:19.005 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:19.029 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=89] [job="ID:89, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:88, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:19.005 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:19.034 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=89] [2024/05/06 09:30:19.034 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:19.034 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=44] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_queries (\n\t\tresource_group_name varchar(32) not null,\n\t\ttime TIMESTAMP NOT NULL,\n\t\tmatch_type varchar(12) NOT NULL,\n\t\taction varchar(12) NOT NULL,\n\t\toriginal_sql TEXT NOT NULL,\n\t\tplan_digest TEXT NOT NULL,\n\t\ttidb_server varchar(512),\n\t\tINDEX plan_index(plan_digest(64)) COMMENT \"accelerate the speed when select runaway query\",\n\t\tINDEX time_index(time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2024/05/06 09:30:19.041 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:91, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:90, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:19.036 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:19.041 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:91, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:90, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:19.036 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_queries (\n\t\tresource_group_name varchar(32) not null,\n\t\ttime TIMESTAMP NOT NULL,\n\t\tmatch_type varchar(12) NOT NULL,\n\t\taction varchar(12) NOT NULL,\n\t\toriginal_sql TEXT NOT NULL,\n\t\tplan_digest TEXT NOT NULL,\n\t\ttidb_server varchar(512),\n\t\tINDEX plan_index(plan_digest(64)) COMMENT \"accelerate the speed when select runaway query\",\n\t\tINDEX time_index(time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2024/05/06 09:30:19.047 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=91] [category=ddl] [job="ID:91, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:90, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:19.036 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:19.051 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=44] [neededSchemaVersion=45] ["start time"=327.899µs] [gotSchemaVersion=45] [phyTblIDs="[90]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:19.052 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:19.052 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=91] [version=45] [2024/05/06 09:30:19.053 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=45] ["take time"=2.104518ms] [job="ID:91, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:90, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:19.036 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:19.057 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=91] [job="ID:91, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:90, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:19.036 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:19.061 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=91] [2024/05/06 09:30:19.061 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:19.062 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=45] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS `mysql`.`tidb_timers` (\n\t\tID BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tNAMESPACE VARCHAR(256) NOT NULL,\n\t\tTIMER_KEY VARCHAR(256) NOT NULL,\n\t\tTIMER_DATA BLOB,\n\t\tTIMEZONE VARCHAR(64) NOT NULL,\n\t\tSCHED_POLICY_TYPE VARCHAR(32) NOT NULL,\n\t\tSCHED_POLICY_EXPR VARCHAR(256) NOT NULL,\n\t\tHOOK_CLASS VARCHAR(64) NOT NULL,\n\t\tWATERMARK TIMESTAMP DEFAULT NULL,\n\t\tENABLE TINYINT(2) NOT NULL,\n\t\tTIMER_EXT JSON NOT NULL,\n\t\tEVENT_STATUS VARCHAR(32) NOT NULL,\n\t\tEVENT_ID VARCHAR(64) NOT NULL,\n\t\tEVENT_DATA BLOB,\n\t\tEVENT_START TIMESTAMP DEFAULT NULL,\n\t\tSUMMARY_DATA BLOB,\n\t\tCREATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,\n\t\tUPDATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tVERSION BIGINT(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (ID),\n\t\tUNIQUE KEY timer_key(NAMESPACE, TIMER_KEY),\n\t\tKEY hook_class(HOOK_CLASS)\n\t)"] [user=] [2024/05/06 09:30:19.065 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:93, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:92, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:19.063 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:19.065 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:93, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:92, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:19.063 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS `mysql`.`tidb_timers` (\n\t\tID BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tNAMESPACE VARCHAR(256) NOT NULL,\n\t\tTIMER_KEY VARCHAR(256) NOT NULL,\n\t\tTIMER_DATA BLOB,\n\t\tTIMEZONE VARCHAR(64) NOT NULL,\n\t\tSCHED_POLICY_TYPE VARCHAR(32) NOT NULL,\n\t\tSCHED_POLICY_EXPR VARCHAR(256) NOT NULL,\n\t\tHOOK_CLASS VARCHAR(64) NOT NULL,\n\t\tWATERMARK TIMESTAMP DEFAULT NULL,\n\t\tENABLE TINYINT(2) NOT NULL,\n\t\tTIMER_EXT JSON NOT NULL,\n\t\tEVENT_STATUS VARCHAR(32) NOT NULL,\n\t\tEVENT_ID VARCHAR(64) NOT NULL,\n\t\tEVENT_DATA BLOB,\n\t\tEVENT_START TIMESTAMP DEFAULT NULL,\n\t\tSUMMARY_DATA BLOB,\n\t\tCREATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,\n\t\tUPDATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tVERSION BIGINT(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (ID),\n\t\tUNIQUE KEY timer_key(NAMESPACE, TIMER_KEY),\n\t\tKEY hook_class(HOOK_CLASS)\n\t)"] [2024/05/06 09:30:19.072 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=93] [category=ddl] [job="ID:93, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:92, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:19.063 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:19.080 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=45] [neededSchemaVersion=46] ["start time"=2.600181ms] [gotSchemaVersion=46] [phyTblIDs="[92]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:19.082 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:19.082 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=93] [version=46] [2024/05/06 09:30:19.085 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=46] ["take time"=8.053195ms] [job="ID:93, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:19.063 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:19.092 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=93] [job="ID:93, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:19.063 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:19.097 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=93] [2024/05/06 09:30:19.097 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:19.097 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=46] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch_done (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\trecord_id BIGINT(20) not null,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tdone_time TIMESTAMP(6) NOT NULL\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2024/05/06 09:30:19.101 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:95, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:94, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:19.099 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:19.101 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:95, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:94, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:19.099 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch_done (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\trecord_id BIGINT(20) not null,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tdone_time TIMESTAMP(6) NOT NULL\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2024/05/06 09:30:19.108 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=95] [category=ddl] [job="ID:95, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:94, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:19.099 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:19.112 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=46] [neededSchemaVersion=47] ["start time"=372.262µs] [gotSchemaVersion=47] [phyTblIDs="[94]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:19.113 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:19.113 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=95] [version=47] [2024/05/06 09:30:19.115 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=47] ["take time"=4.027655ms] [job="ID:95, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:94, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:19.099 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:19.122 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=95] [job="ID:95, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:94, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:19.099 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:19.126 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=95] [2024/05/06 09:30:19.126 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:19.126 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=47] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.dist_framework_meta (\n host VARCHAR(261) NOT NULL PRIMARY KEY,\n role VARCHAR(64),\n cpu_count int default 0,\n keyspace_id bigint(8) NOT NULL DEFAULT -1\n );"] [user=] [2024/05/06 09:30:19.131 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:97, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:96, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:19.128 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:19.131 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:97, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:96, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:19.128 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.dist_framework_meta (\n host VARCHAR(261) NOT NULL PRIMARY KEY,\n role VARCHAR(64),\n cpu_count int default 0,\n keyspace_id bigint(8) NOT NULL DEFAULT -1\n );"] [2024/05/06 09:30:19.139 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=97] [category=ddl] [job="ID:97, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:96, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:19.128 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:19.142 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=47] [neededSchemaVersion=48] ["start time"=245.64µs] [gotSchemaVersion=48] [phyTblIDs="[96]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:19.143 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:19.143 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=97] [version=48] [2024/05/06 09:30:19.145 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=48] ["take time"=4.174965ms] [job="ID:97, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:96, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:19.128 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:19.150 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=97] [job="ID:97, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:96, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:19.128 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:19.153 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=97] [2024/05/06 09:30:19.153 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:19.154 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=48] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.request_unit_by_group (\n\t\tstart_time TIMESTAMP(6) NOT NULL,\n\t\tend_time TIMESTAMP(6) NOT NULL,\n\t\tresource_group VARCHAR(32) NOT null,\n\t\ttotal_ru bigint(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (start_time, end_time, resource_group),\n\t\tKEY (resource_group)\n\t);"] [user=] [2024/05/06 09:30:19.157 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:99, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:98, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:19.155 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:19.157 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:99, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:98, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:19.155 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.request_unit_by_group (\n\t\tstart_time TIMESTAMP(6) NOT NULL,\n\t\tend_time TIMESTAMP(6) NOT NULL,\n\t\tresource_group VARCHAR(32) NOT null,\n\t\ttotal_ru bigint(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (start_time, end_time, resource_group),\n\t\tKEY (resource_group)\n\t);"] [2024/05/06 09:30:19.167 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=99] [category=ddl] [job="ID:99, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:98, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:19.155 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:19.170 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=48] [neededSchemaVersion=49] ["start time"=355.918µs] [gotSchemaVersion=49] [phyTblIDs="[98]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:19.172 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:19.172 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=99] [version=49] [2024/05/06 09:30:19.172 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=49] ["take time"=2.01967ms] [job="ID:99, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:98, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:19.155 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:19.179 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=99] [job="ID:99, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:98, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:19.155 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:19.185 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=99] [2024/05/06 09:30:19.185 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:19.186 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=49] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS sys;"] [user=] [2024/05/06 09:30:19.189 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:101, Type:create schema, State:queueing, SchemaState:none, SchemaID:100, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:30:19.188 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:19.189 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:101, Type:create schema, State:queueing, SchemaState:none, SchemaID:100, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:30:19.188 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE DATABASE IF NOT EXISTS sys;"] [2024/05/06 09:30:19.197 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=101] [category=ddl] [job="ID:101, Type:create schema, State:queueing, SchemaState:none, SchemaID:100, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:19.188 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:19.203 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=49] [neededSchemaVersion=50] ["start time"=74.75µs] [gotSchemaVersion=50] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2024/05/06 09:30:19.204 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:19.204 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=101] [version=50] [2024/05/06 09:30:19.213 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=50] ["take time"=10.373885ms] [job="ID:101, Type:create schema, State:done, SchemaState:public, SchemaID:100, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:30:19.188 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:19.224 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=101] [job="ID:101, Type:create schema, State:synced, SchemaState:public, SchemaID:100, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:19.188 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:19.226 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=101] [2024/05/06 09:30:19.226 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:19.230 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:103, Type:create view, State:queueing, SchemaState:none, SchemaID:100, TableID:102, RowCount:0, ArgLen:3, start time: 2024-05-06 09:30:19.229 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:19.231 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:103, Type:create view, State:queueing, SchemaState:none, SchemaID:100, TableID:102, RowCount:0, ArgLen:3, start time: 2024-05-06 09:30:19.229 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE OR REPLACE VIEW sys.schema_unused_indexes AS\n\t\tSELECT\n\t\t\ttable_schema as object_schema,\n\t\t\ttable_name as object_name,\n\t\t\tindex_name\n\t\tFROM information_schema.cluster_tidb_index_usage\n\t\tWHERE\n\t\t\ttable_schema not in ('sys', 'mysql', 'INFORMATION_SCHEMA', 'PERFORMANCE_SCHEMA') and\n\t\t\tindex_name != 'PRIMARY'\n\t\tGROUP BY table_schema, table_name, index_name\n\t\tHAVING\n\t\t\tsum(last_access_time) is null;"] [2024/05/06 09:30:19.238 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=103] [category=ddl] [job="ID:103, Type:create view, State:queueing, SchemaState:none, SchemaID:100, TableID:102, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:19.229 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:19.241 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=50] [neededSchemaVersion=51] ["start time"=251.851µs] [gotSchemaVersion=51] [phyTblIDs="[102]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2024/05/06 09:30:19.243 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:19.243 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=103] [version=51] [2024/05/06 09:30:19.243 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=51] ["take time"=2.031922ms] [job="ID:103, Type:create view, State:done, SchemaState:public, SchemaID:100, TableID:102, RowCount:0, ArgLen:3, start time: 2024-05-06 09:30:19.229 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:19.248 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=103] [job="ID:103, Type:create view, State:synced, SchemaState:public, SchemaID:100, TableID:102, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:19.229 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:19.253 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=103] [2024/05/06 09:30:19.253 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:19.290 +00:00] [INFO] [bootstrap.go:745] ["bootstrap successful"] ["take time"=1.779445055s] [2024/05/06 09:30:19.290 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=9488f0ff-51ee-48ab-af48-97ccfcd9ee3a] [ownerKey=/tidb/ddl/fg/owner] [2024/05/06 09:30:19.290 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/06 09:30:19.290 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 62, tp add index"] [category=ddl] ["take time"=4.741µs] [2024/05/06 09:30:19.290 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 63, tp add index"] [category=ddl] ["take time"=5.137µs] [2024/05/06 09:30:19.290 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 64, tp add index"] [category=ddl] ["take time"=5.222µs] [2024/05/06 09:30:19.290 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 65, tp add index"] [category=ddl] ["take time"=4.622µs] [2024/05/06 09:30:19.290 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/06 09:30:19.290 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 61, tp general"] [category=ddl] ["take time"=958ns] [2024/05/06 09:30:19.290 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/06 09:30:19.290 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2024/05/06 09:30:19.291 +00:00] [INFO] [session_pool.go:99] ["closing session pool"] [category=ddl] [2024/05/06 09:30:19.294 +00:00] [INFO] [ddl.go:951] ["DDL closed"] [category=ddl] [ID=9488f0ff-51ee-48ab-af48-97ccfcd9ee3a] ["take time"=3.652039ms] [2024/05/06 09:30:19.294 +00:00] [INFO] [ddl.go:769] ["stop DDL"] [category=ddl] [ID=9488f0ff-51ee-48ab-af48-97ccfcd9ee3a] [2024/05/06 09:30:19.294 +00:00] [INFO] [domain.go:683] ["topNSlowQueryLoop exited."] [2024/05/06 09:30:19.294 +00:00] [INFO] [domain.go:761] ["topologySyncerKeeper exited."] [2024/05/06 09:30:19.294 +00:00] [INFO] [domain.go:737] ["globalConfigSyncerKeeper exited."] [2024/05/06 09:30:19.294 +00:00] [INFO] [domain.go:1361] ["closestReplicaReadCheckLoop exited."] [2024/05/06 09:30:19.294 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2024/05/06 09:30:19.294 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2024/05/06 09:30:19.294 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/06 09:30:19.294 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/06 09:30:19.294 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2024/05/06 09:30:19.294 +00:00] [INFO] [domain.go:711] ["infoSyncerKeeper exited."] [2024/05/06 09:30:19.294 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayStartLoop] [2024/05/06 09:30:19.294 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2024/05/06 09:30:19.294 +00:00] [INFO] [domain.go:907] ["loadSchemaInLoop exited."] [2024/05/06 09:30:19.294 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2024/05/06 09:30:19.294 +00:00] [INFO] [domain.go:1074] ["domain closed"] ["take time"=3.870919ms] [2024/05/06 09:30:19.294 +00:00] [INFO] [tidb.go:80] ["new domain"] [store=facc6912-41d0-4a5b-ad68-e0152941876b] ["ddl lease"=600ms] ["stats lease"=-1ns] [2024/05/06 09:30:19.301 +00:00] [WARN] [controller.go:198] ["[resource group controller] server does not save config, load config failed"] [2024/05/06 09:30:19.301 +00:00] [INFO] [controller.go:185] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":10,\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\"}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":10,\"DegradedModeWaitDuration\":0}"] [2024/05/06 09:30:19.312 +00:00] [INFO] [domain.go:315] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=51] ["start time"=10.460668ms] [2024/05/06 09:30:19.312 +00:00] [INFO] [domain.go:635] ["full load and reset schema validator"] [2024/05/06 09:30:19.312 +00:00] [INFO] [ddl.go:818] ["start DDL"] [category=ddl] [ID=c76d0f0a-d818-4b03-a307-d05bc89c7c38] [runWorker=true] [2024/05/06 09:30:19.312 +00:00] [INFO] [ddl.go:777] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=true] [2024/05/06 09:30:19.313 +00:00] [WARN] [env.go:51] ["initialize environment failed"] [category=ddl-ingest] ["storage limitation"="only support TiKV storage"] ["current storage"=unistore] ["lightning is initialized"=false] [2024/05/06 09:30:19.313 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2024/05/06 09:30:19.313 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=mdlCheckLoop] [2024/05/06 09:30:19.313 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2024/05/06 09:30:19.313 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2024/05/06 09:30:19.313 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/06 09:30:19.313 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayStartLoop] [2024/05/06 09:30:19.313 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/06 09:30:19.313 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2024/05/06 09:30:19.313 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/06 09:30:19.313 +00:00] [WARN] [domain.go:1326] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/06 09:30:19.313 +00:00] [INFO] [delete_range.go:172] ["start delRange emulator"] [category=ddl] [2024/05/06 09:30:19.313 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/06 09:30:19.313 +00:00] [INFO] [runaway.go:149] ["try to start runaway manager loop"] [2024/05/06 09:30:19.313 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/06 09:30:19.313 +00:00] [INFO] [job_table.go:349] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2024/05/06 09:30:19.313 +00:00] [INFO] [controller.go:447] ["[resource group controller] create resource group cost controller"] [name=default] [2024/05/06 09:30:19.315 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2024/05/06 09:30:19.315 +00:00] [WARN] [sysvar_cache.go:49] ["sysvar cache is empty, triggering rebuild"] [2024/05/06 09:30:19.330 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2024/05/06 09:30:19.333 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2024/05/06 09:30:19.336 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2024/05/06 09:30:19.336 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=indexUsageWorker] [2024/05/06 09:30:19.336 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=quitStatsOwner] [2024/05/06 09:30:19.336 +00:00] [INFO] [domain.go:2070] ["dumpFileGcChecker started"] [2024/05/06 09:30:19.337 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2024/05/06 09:30:19.338 +00:00] [INFO] [task_manager.go:217] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=0] [newCount=4] [2024/05/06 09:30:19.338 +00:00] [INFO] [task_manager.go:217] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=0] [newCount=4] [2024/05/06 09:30:19.338 +00:00] [INFO] [manager.go:113] ["build task executor manager"] [server-id=:4000] [total-cpu=16] [total-mem=342.3GiB] [2024/05/06 09:30:19.348 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2024/05/06 09:30:19.349 +00:00] [INFO] [manager.go:146] ["task executor manager start"] [server-id=:4000] [2024/05/06 09:30:19.349 +00:00] [INFO] [domain.go:1525] ["dist task executor manager started"] [2024/05/06 09:30:19.350 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=9] [schemaVersion=51] [cur_db=test] [sql="create table t1 (c1 int, c2 int)"] [user=] [2024/05/06 09:30:19.354 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:105, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:19.352 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:19.354 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:105, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:19.352 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table t1 (c1 int, c2 int)"] [2024/05/06 09:30:19.364 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=105] [conn=9] [category=ddl] [job="ID:105, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:19.352 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:19.369 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=51] [neededSchemaVersion=52] ["start time"=207.935µs] [gotSchemaVersion=52] [phyTblIDs="[104]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:19.371 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=105] [version=52] [2024/05/06 09:30:19.376 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=52] ["take time"=7.172948ms] [job="ID:105, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:19.352 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:19.385 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=105] [conn=9] [job="ID:105, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:19.352 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:19.391 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=105] [2024/05/06 09:30:19.391 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:19.394 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=9] [schemaVersion=52] [cur_db=test] [sql="alter table t1 change c2 c2 tinyint not null"] [user=] [2024/05/06 09:30:19.397 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:106, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:5, start time: 2024-05-06 09:30:19.396 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 09:30:19.398 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:106, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:5, start time: 2024-05-06 09:30:19.396 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t1 change c2 c2 tinyint not null"] [2024/05/06 09:30:19.408 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:106, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:19.396 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:30:19.409 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 67, tp add index"] [category=ddl] [jobID=106] [conn=9] [category=ddl] [job="ID:106, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:19.396 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:30:19.411 +00:00] [WARN] [ddl_worker.go:1147] ["run DDL job error"] [worker="worker 67, tp add index"] [category=ddl] [jobID=106] [conn=9] [error="[ddl:1265]Data truncated for column 'c2' at row 1"] [errorVerbose="[ddl:1265]Data truncated for column 'c2' at row 1\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs\n\texternal/com_github_pingcap_errors/normalize.go:175\ngithub.com/pingcap/tidb/pkg/ddl.checkForNullValue\n\tpkg/ddl/column.go:1781\ngithub.com/pingcap/tidb/pkg/ddl.modifyColsFromNull2NotNull\n\tpkg/ddl/column.go:1938\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).doModifyColumnTypeWithData\n\tpkg/ddl/column.go:697\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).onModifyColumn\n\tpkg/ddl/column.go:621\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).runDDLJob\n\tpkg/ddl/ddl_worker.go:1252\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).HandleDDLJobTable\n\tpkg/ddl/ddl_worker.go:946\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2Worker.func1\n\tpkg/ddl/job_table.go:461\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:157\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [2024/05/06 09:30:19.411 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:106, Type:modify column, State:rollingback, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:5, start time: 2024-05-06 09:30:19.396 +0000 UTC, Err:[ddl:1265]Data truncated for column 'c2' at row 1, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:30:19.412 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=106] [2024/05/06 09:30:19.413 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:106, Type:modify column, State:rollingback, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:5, start time: 2024-05-06 09:30:19.396 +0000 UTC, Err:[ddl:1265]Data truncated for column 'c2' at row 1, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:30:19.420 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:106, Type:modify column, State:rollingback, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:19.396 +0000 UTC, Err:[ddl:1265]Data truncated for column 'c2' at row 1, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:30:19.420 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 68, tp add index"] [category=ddl] [jobID=106] [conn=9] [category=ddl] [job="ID:106, Type:modify column, State:rollingback, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:19.396 +0000 UTC, Err:[ddl:1265]Data truncated for column 'c2' at row 1, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:30:19.421 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:106, Type:modify column, State:rollback done, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:19.396 +0000 UTC, Err:[ddl:1265]Data truncated for column 'c2' at row 1, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:30:19.423 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=52] [neededSchemaVersion=53] ["start time"=190.54µs] [gotSchemaVersion=53] [phyTblIDs="[104]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/06 09:30:19.424 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=106] [version=53] [2024/05/06 09:30:19.425 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=53] ["take time"=2.259831ms] [job="ID:106, Type:modify column, State:rollback done, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:19.396 +0000 UTC, Err:[ddl:1265]Data truncated for column 'c2' at row 1, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:30:19.426 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:106, Type:modify column, State:rollback done, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:19.396 +0000 UTC, Err:[ddl:1265]Data truncated for column 'c2' at row 1, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:30:19.434 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=106] [jobType="modify column"] [2024/05/06 09:30:19.435 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 70, tp add index"] [category=ddl] [jobID=106] [conn=9] [job="ID:106, Type:modify column, State:rollback done, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:19.396 +0000 UTC, Err:[ddl:1265]Data truncated for column 'c2' at row 1, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:30:19.443 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=106] [2024/05/06 09:30:19.444 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:106, Type:modify column, State:rollback done, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:19.396 +0000 UTC, Err:[ddl:1265]Data truncated for column 'c2' at row 1, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:30:19.447 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=106] [2024/05/06 09:30:19.447 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 09:30:19.448 +00:00] [WARN] [session.go:2153] ["run statement failed"] [schemaVersion=52] [error="[ddl:1265]Data truncated for column 'c2' at row 1"] [errorVerbose="[ddl:1265]Data truncated for column 'c2' at row 1\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).DoDDLJob\n\tpkg/ddl/ddl.go:1293\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).ChangeColumn\n\tpkg/ddl/ddl_api.go:6222\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AlterTable\n\tpkg/ddl/ddl_api.go:3963\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeAlterTable\n\tpkg/executor/ddl.go:388\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:152\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1211\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:960\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:794\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:559\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2280\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecToErr\n\tpkg/testkit/testkit.go:436\ngithub.com/pingcap/tidb/pkg/ddl_test.TestModifyColumnNullToNotNullWithChangingVal\n\tpkg/ddl/modify_column_test.go:272\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 9,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 09:30:19.450 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=9] [schemaVersion=53] [cur_db=test] [sql="alter table t1 change c2 c2 tinyint not null"] [user=] [2024/05/06 09:30:19.454 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:107, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:5, start time: 2024-05-06 09:30:19.453 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 09:30:19.454 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:107, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:5, start time: 2024-05-06 09:30:19.453 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t1 change c2 c2 tinyint not null"] [2024/05/06 09:30:19.464 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:107, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:19.453 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:30:19.464 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 68, tp add index"] [category=ddl] [jobID=107] [conn=9] [category=ddl] [job="ID:107, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:19.453 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:30:19.467 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:107, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:8, start time: 2024-05-06 09:30:19.453 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:30:19.470 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=53] [neededSchemaVersion=54] ["start time"=227.861µs] [gotSchemaVersion=54] [phyTblIDs="[104]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/06 09:30:19.472 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=107] [version=54] [2024/05/06 09:30:19.474 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=54] ["take time"=4.964963ms] [job="ID:107, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:8, start time: 2024-05-06 09:30:19.453 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:30:19.475 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:107, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:8, start time: 2024-05-06 09:30:19.453 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:30:19.486 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:107, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:19.453 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:30:19.486 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 09:30:19.487 +00:00] [WARN] [session.go:2153] ["run statement failed"] [schemaVersion=54] [error="[table:1048]Column 'c2' cannot be null"] [errorVerbose="[table:1048]Column 'c2' cannot be null\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs\n\texternal/com_github_pingcap_errors/normalize.go:175\ngithub.com/pingcap/tidb/pkg/table.(*Column).CheckNotNull\n\tpkg/table/column.go:499\ngithub.com/pingcap/tidb/pkg/table.(*Column).HandleBadNull\n\tpkg/table/column.go:510\ngithub.com/pingcap/tidb/pkg/executor.(*InsertValues).fillRow\n\tpkg/executor/insert_common.go:693\ngithub.com/pingcap/tidb/pkg/executor.(*InsertValues).fastEvalRow\n\tpkg/executor/insert_common.go:415\ngithub.com/pingcap/tidb/pkg/executor.insertRows\n\tpkg/executor/insert_common.go:219\ngithub.com/pingcap/tidb/pkg/executor.(*InsertExec).Next\n\tpkg/executor/insert.go:307\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1211\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:960\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:794\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:559\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2280\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecToErr\n\tpkg/testkit/testkit.go:436\ngithub.com/pingcap/tidb/pkg/ddl_test.TestModifyColumnNullToNotNullWithChangingVal.func2\n\tpkg/ddl/modify_column_test.go:288\ngithub.com/pingcap/tidb/pkg/ddl/util/callback.(*TestDDLCallback).OnJobRunBefore\n\tpkg/ddl/util/callback/callback.go:98\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).HandleDDLJobTable\n\tpkg/ddl/ddl_worker.go:941\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2Worker.func1\n\tpkg/ddl/job_table.go:461\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:157\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 10,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 09:30:19.487 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 69, tp add index"] [category=ddl] [jobID=107] [conn=9] [category=ddl] [job="ID:107, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:19.453 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:30:19.492 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:107, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:8, start time: 2024-05-06 09:30:19.453 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:30:19.495 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=54] [neededSchemaVersion=55] ["start time"=244.603µs] [gotSchemaVersion=55] [phyTblIDs="[104]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/06 09:30:19.496 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=107] [version=55] [2024/05/06 09:30:19.496 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=55] ["take time"=2.066672ms] [job="ID:107, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:8, start time: 2024-05-06 09:30:19.453 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:30:19.497 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:107, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:8, start time: 2024-05-06 09:30:19.453 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:30:19.505 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:107, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:19.453 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:30:19.505 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 09:30:19.505 +00:00] [WARN] [session.go:2153] ["run statement failed"] [schemaVersion=55] [error="[table:1048]Column 'c2' cannot be null"] [errorVerbose="[table:1048]Column 'c2' cannot be null\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs\n\texternal/com_github_pingcap_errors/normalize.go:175\ngithub.com/pingcap/tidb/pkg/table.(*Column).CheckNotNull\n\tpkg/table/column.go:499\ngithub.com/pingcap/tidb/pkg/table.(*Column).HandleBadNull\n\tpkg/table/column.go:510\ngithub.com/pingcap/tidb/pkg/executor.(*InsertValues).fillRow\n\tpkg/executor/insert_common.go:693\ngithub.com/pingcap/tidb/pkg/executor.(*InsertValues).fastEvalRow\n\tpkg/executor/insert_common.go:415\ngithub.com/pingcap/tidb/pkg/executor.insertRows\n\tpkg/executor/insert_common.go:219\ngithub.com/pingcap/tidb/pkg/executor.(*InsertExec).Next\n\tpkg/executor/insert.go:307\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1211\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:960\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:794\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:559\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2280\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecToErr\n\tpkg/testkit/testkit.go:436\ngithub.com/pingcap/tidb/pkg/ddl_test.TestModifyColumnNullToNotNullWithChangingVal.func2\n\tpkg/ddl/modify_column_test.go:288\ngithub.com/pingcap/tidb/pkg/ddl/util/callback.(*TestDDLCallback).OnJobRunBefore\n\tpkg/ddl/util/callback/callback.go:98\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).HandleDDLJobTable\n\tpkg/ddl/ddl_worker.go:941\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2Worker.func1\n\tpkg/ddl/job_table.go:461\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:157\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 10,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 09:30:19.506 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 67, tp add index"] [category=ddl] [jobID=107] [conn=9] [category=ddl] [job="ID:107, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:19.453 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:30:19.507 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:107, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:8, start time: 2024-05-06 09:30:19.453 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:30:19.509 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=55] [neededSchemaVersion=56] ["start time"=242.33µs] [gotSchemaVersion=56] [phyTblIDs="[104]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/06 09:30:19.511 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=107] [version=56] [2024/05/06 09:30:19.511 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=56] ["take time"=2.015118ms] [job="ID:107, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:8, start time: 2024-05-06 09:30:19.453 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:30:19.512 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:107, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:8, start time: 2024-05-06 09:30:19.453 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:30:19.519 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:107, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:19.453 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:30:19.520 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 09:30:19.520 +00:00] [WARN] [session.go:2153] ["run statement failed"] [schemaVersion=56] [error="[table:1048]Column 'c2' cannot be null"] [errorVerbose="[table:1048]Column 'c2' cannot be null\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs\n\texternal/com_github_pingcap_errors/normalize.go:175\ngithub.com/pingcap/tidb/pkg/table.(*Column).CheckNotNull\n\tpkg/table/column.go:499\ngithub.com/pingcap/tidb/pkg/table.(*Column).HandleBadNull\n\tpkg/table/column.go:510\ngithub.com/pingcap/tidb/pkg/executor.(*InsertValues).fillRow\n\tpkg/executor/insert_common.go:693\ngithub.com/pingcap/tidb/pkg/executor.(*InsertValues).fastEvalRow\n\tpkg/executor/insert_common.go:415\ngithub.com/pingcap/tidb/pkg/executor.insertRows\n\tpkg/executor/insert_common.go:219\ngithub.com/pingcap/tidb/pkg/executor.(*InsertExec).Next\n\tpkg/executor/insert.go:307\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1211\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:960\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:794\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:559\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2280\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecToErr\n\tpkg/testkit/testkit.go:436\ngithub.com/pingcap/tidb/pkg/ddl_test.TestModifyColumnNullToNotNullWithChangingVal.func2\n\tpkg/ddl/modify_column_test.go:288\ngithub.com/pingcap/tidb/pkg/ddl/util/callback.(*TestDDLCallback).OnJobRunBefore\n\tpkg/ddl/util/callback/callback.go:98\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).HandleDDLJobTable\n\tpkg/ddl/ddl_worker.go:941\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2Worker.func1\n\tpkg/ddl/job_table.go:461\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:157\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 10,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 09:30:19.520 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 68, tp add index"] [category=ddl] [jobID=107] [conn=9] [category=ddl] [job="ID:107, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:19.453 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:30:19.521 +00:00] [INFO] [reorg.go:642] ["get noop table range"] [category=ddl] [table="&{104 t1 utf8mb4 utf8mb4_bin [0xc07b5949a0 0xc07b594b00 0xc07b594c60] [] [] [] public false false 0 0 0 0 0 3 0 0 0 449573766956318720 0 0 0 0 0 0 5 false disable 4 2}"] ["table/partition ID"=104] ["start key"=] ["end key"=] ["is empty table"=true] [2024/05/06 09:30:19.521 +00:00] [INFO] [reorg.go:718] ["job get table range"] [category=ddl] [jobID=107] [physicalTableID=104] [startKey=] [endKey=] [2024/05/06 09:30:19.524 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:107, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:8, start time: 2024-05-06 09:30:19.453 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573766960513024, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:30:19.525 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=107] [2024/05/06 09:30:19.526 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:107, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:8, start time: 2024-05-06 09:30:19.453 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573766960513024, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:30:19.532 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:107, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:19.453 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573766960513024, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:30:19.533 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 09:30:19.533 +00:00] [WARN] [session.go:2153] ["run statement failed"] [schemaVersion=56] [error="[table:1048]Column 'c2' cannot be null"] [errorVerbose="[table:1048]Column 'c2' cannot be null\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs\n\texternal/com_github_pingcap_errors/normalize.go:175\ngithub.com/pingcap/tidb/pkg/table.(*Column).CheckNotNull\n\tpkg/table/column.go:499\ngithub.com/pingcap/tidb/pkg/table.(*Column).HandleBadNull\n\tpkg/table/column.go:510\ngithub.com/pingcap/tidb/pkg/executor.(*InsertValues).fillRow\n\tpkg/executor/insert_common.go:693\ngithub.com/pingcap/tidb/pkg/executor.(*InsertValues).fastEvalRow\n\tpkg/executor/insert_common.go:415\ngithub.com/pingcap/tidb/pkg/executor.insertRows\n\tpkg/executor/insert_common.go:219\ngithub.com/pingcap/tidb/pkg/executor.(*InsertExec).Next\n\tpkg/executor/insert.go:307\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1211\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:960\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:794\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:559\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2280\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecToErr\n\tpkg/testkit/testkit.go:436\ngithub.com/pingcap/tidb/pkg/ddl_test.TestModifyColumnNullToNotNullWithChangingVal.func2\n\tpkg/ddl/modify_column_test.go:288\ngithub.com/pingcap/tidb/pkg/ddl/util/callback.(*TestDDLCallback).OnJobRunBefore\n\tpkg/ddl/util/callback/callback.go:98\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).HandleDDLJobTable\n\tpkg/ddl/ddl_worker.go:941\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2Worker.func1\n\tpkg/ddl/job_table.go:461\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:157\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 10,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 09:30:19.533 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 69, tp add index"] [category=ddl] [jobID=107] [conn=9] [category=ddl] [job="ID:107, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:19.453 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573766960513024, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:30:19.535 +00:00] [INFO] [column.go:1076] ["start to update table row"] [category=ddl] [job="ID:107, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:8, start time: 2024-05-06 09:30:19.453 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573766960513024, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_col_,CurrElementID:3,StartKey:,EndKey:,First:false,PhysicalTableID:104,Ingest mode:false"] [2024/05/06 09:30:19.536 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=104] ["start key"=] ["end key"=] [2024/05/06 09:30:19.536 +00:00] [INFO] [backfilling.go:421] ["split table range from PD, get noop table range"] [category=ddl] [physicalTableID=104] [2024/05/06 09:30:19.536 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp update column"] [jobID=107] [2024/05/06 09:30:19.536 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp update column"] [jobID=107] [2024/05/06 09:30:19.536 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp update column"] [jobID=107] [2024/05/06 09:30:19.536 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp update column"] [jobID=107] [2024/05/06 09:30:19.537 +00:00] [INFO] [backfilling.go:632] ["backfill workers successfully processed"] [category=ddl] [element=ID:3,TypeKey:_col_] ["total added count"=0] ["start key"=] [2024/05/06 09:30:19.537 +00:00] [INFO] [reorg.go:642] ["get noop table range"] [category=ddl] [table="&{104 t1 utf8mb4 utf8mb4_bin [0xc07be17340 0xc07be174a0 0xc07be17600] [] [] [] public false false 0 0 0 0 0 3 0 0 0 449573766956318720 0 0 0 0 0 0 5 false disable 4 2}"] ["table/partition ID"=104] ["start key"=] ["end key"=] ["is empty table"=true] [2024/05/06 09:30:19.537 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=0] [2024/05/06 09:30:19.538 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:107, Type:modify column, State:done, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:19.453 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573766960513024, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:30:19.540 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=56] [neededSchemaVersion=57] ["start time"=202.097µs] [gotSchemaVersion=57] [phyTblIDs="[104]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/06 09:30:19.542 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=107] [version=57] [2024/05/06 09:30:19.543 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=57] ["take time"=3.327659ms] [job="ID:107, Type:modify column, State:done, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:19.453 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573766960513024, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:30:19.545 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:107, Type:modify column, State:done, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:19.453 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573766960513024, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:30:19.552 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=107] [jobType="modify column"] [2024/05/06 09:30:19.552 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 67, tp add index"] [category=ddl] [jobID=107] [conn=9] [job="ID:107, Type:modify column, State:synced, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:19.453 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573766960513024, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:30:19.558 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:107, Type:modify column, State:synced, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:19.453 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573766960513024, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:30:19.570 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=107] [2024/05/06 09:30:19.570 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:19.572 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 09:30:19.572 +00:00] [WARN] [session.go:2153] ["run statement failed"] [schemaVersion=57] [error="[table:1364]Field 'c2' doesn't have a default value"] [errorVerbose="[table:1364]Field 'c2' doesn't have a default value\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs\n\texternal/com_github_pingcap_errors/normalize.go:175\ngithub.com/pingcap/tidb/pkg/table.CheckNoDefaultValueForInsert\n\tpkg/table/column.go:554\ngithub.com/pingcap/tidb/pkg/executor.(*InsertValues).getColDefaultValue\n\tpkg/executor/insert_common.go:587\ngithub.com/pingcap/tidb/pkg/executor.(*InsertValues).fillColValue\n\tpkg/executor/insert_common.go:651\ngithub.com/pingcap/tidb/pkg/executor.(*InsertValues).fillRow\n\tpkg/executor/insert_common.go:689\ngithub.com/pingcap/tidb/pkg/executor.(*InsertValues).fastEvalRow\n\tpkg/executor/insert_common.go:415\ngithub.com/pingcap/tidb/pkg/executor.insertRows\n\tpkg/executor/insert_common.go:219\ngithub.com/pingcap/tidb/pkg/executor.(*InsertExec).Next\n\tpkg/executor/insert.go:307\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1211\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:960\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:794\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:559\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2280\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecToErr\n\tpkg/testkit/testkit.go:436\ngithub.com/pingcap/tidb/pkg/ddl_test.TestModifyColumnNullToNotNullWithChangingVal\n\tpkg/ddl/modify_column_test.go:297\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 9,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 09:30:19.576 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=c76d0f0a-d818-4b03-a307-d05bc89c7c38] [ownerKey=/tidb/ddl/fg/owner] [2024/05/06 09:30:19.576 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/06 09:30:19.576 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 69, tp add index"] [category=ddl] ["take time"=2.256µs] [2024/05/06 09:30:19.576 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 67, tp add index"] [category=ddl] ["take time"=1.528µs] [2024/05/06 09:30:19.576 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 70, tp add index"] [category=ddl] ["take time"=1.344µs] [2024/05/06 09:30:19.576 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 68, tp add index"] [category=ddl] ["take time"=1.316µs] [2024/05/06 09:30:19.576 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/06 09:30:19.576 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 66, tp general"] [category=ddl] ["take time"=1.224µs] [2024/05/06 09:30:19.577 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/06 09:30:19.577 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2024/05/06 09:30:19.577 +00:00] [INFO] [session_pool.go:99] ["closing session pool"] [category=ddl] [2024/05/06 09:30:19.577 +00:00] [INFO] [ddl.go:951] ["DDL closed"] [category=ddl] [ID=c76d0f0a-d818-4b03-a307-d05bc89c7c38] ["take time"=5.222663ms] [2024/05/06 09:30:19.577 +00:00] [INFO] [ddl.go:769] ["stop DDL"] [category=ddl] [ID=c76d0f0a-d818-4b03-a307-d05bc89c7c38] [2024/05/06 09:30:19.577 +00:00] [INFO] [domain.go:1026] ["stopping ttlJobManager"] [2024/05/06 09:30:19.578 +00:00] [INFO] [task_manager.go:194] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=4] [newCount=0] [2024/05/06 09:30:19.578 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/06 09:30:19.578 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/06 09:30:19.578 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/06 09:30:19.578 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/06 09:30:19.578 +00:00] [INFO] [task_manager.go:194] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=4] [newCount=0] [2024/05/06 09:30:19.578 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/06 09:30:19.578 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/06 09:30:19.578 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/06 09:30:19.578 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/06 09:30:19.579 +00:00] [INFO] [job_manager.go:174] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [2024/05/06 09:30:19.579 +00:00] [INFO] [domain.go:1037] ["ttlJobManager exited."] [2024/05/06 09:30:19.579 +00:00] [INFO] [manager.go:280] ["recoverMetaLoop done"] [server-id=:4000] [2024/05/06 09:30:19.579 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2024/05/06 09:30:19.579 +00:00] [INFO] [domain.go:907] ["loadSchemaInLoop exited."] [2024/05/06 09:30:19.579 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2024/05/06 09:30:19.579 +00:00] [INFO] [domain.go:1527] ["stopping dist task executor manager"] [2024/05/06 09:30:19.579 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2024/05/06 09:30:19.579 +00:00] [INFO] [stats_syncload.go:202] ["SubLoadWorker exited."] [2024/05/06 09:30:19.579 +00:00] [INFO] [stats_syncload.go:202] ["SubLoadWorker exited."] [2024/05/06 09:30:19.579 +00:00] [INFO] [stats_syncload.go:202] ["SubLoadWorker exited."] [2024/05/06 09:30:19.579 +00:00] [INFO] [stats_syncload.go:202] ["SubLoadWorker exited."] [2024/05/06 09:30:19.579 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=c76d0f0a-d818-4b03-a307-d05bc89c7c38] [ownerKey=/tidb/stats/owner] [2024/05/06 09:30:19.579 +00:00] [INFO] [domain.go:761] ["topologySyncerKeeper exited."] [2024/05/06 09:30:19.579 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=quitStatsOwner] [2024/05/06 09:30:19.579 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2024/05/06 09:30:19.579 +00:00] [INFO] [stats_syncload.go:202] ["SubLoadWorker exited."] [2024/05/06 09:30:19.579 +00:00] [INFO] [domain.go:711] ["infoSyncerKeeper exited."] [2024/05/06 09:30:19.579 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2024/05/06 09:30:19.579 +00:00] [INFO] [domain.go:2352] ["indexUsageWorker exited."] [2024/05/06 09:30:19.579 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=indexUsageWorker] [2024/05/06 09:30:19.579 +00:00] [INFO] [domain.go:737] ["globalConfigSyncerKeeper exited."] [2024/05/06 09:30:19.579 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/06 09:30:19.579 +00:00] [INFO] [domain.go:2074] ["dumpFileGcChecker exited."] [2024/05/06 09:30:19.579 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2024/05/06 09:30:19.579 +00:00] [INFO] [domain.go:683] ["topNSlowQueryLoop exited."] [2024/05/06 09:30:19.579 +00:00] [INFO] [domain.go:1750] ["LoadSysVarCacheLoop exited."] [2024/05/06 09:30:19.579 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2024/05/06 09:30:19.579 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2024/05/06 09:30:19.579 +00:00] [INFO] [domain.go:1361] ["closestReplicaReadCheckLoop exited."] [2024/05/06 09:30:19.579 +00:00] [INFO] [domain.go:1700] ["loadPrivilegeInLoop exited."] [2024/05/06 09:30:19.579 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/06 09:30:19.579 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2024/05/06 09:30:19.579 +00:00] [INFO] [manager.go:179] ["handle tasks loop done"] [server-id=:4000] [2024/05/06 09:30:19.579 +00:00] [INFO] [domain.go:1529] ["dist task executor manager stopped"] [2024/05/06 09:30:19.579 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2024/05/06 09:30:19.579 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=c76d0f0a-d818-4b03-a307-d05bc89c7c38] [ownerKey=/tidb/bindinfo/owner] [2024/05/06 09:30:19.579 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayStartLoop] [2024/05/06 09:30:19.579 +00:00] [INFO] [domain.go:1889] ["globalBindHandleWorkerLoop exited."] [2024/05/06 09:30:19.579 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2024/05/06 09:30:19.580 +00:00] [INFO] [domain.go:1074] ["domain closed"] ["take time"=7.534411ms] [2024/05/06 09:30:19.581 +00:00] [INFO] [db.go:567] ["Closing database"] [2024/05/06 09:30:19.581 +00:00] [INFO] [db.go:592] ["Memtable flushed"] [2024/05/06 09:30:19.581 +00:00] [INFO] [db.go:596] ["Compaction finished"] [2024/05/06 09:30:19.581 +00:00] [INFO] [db.go:615] ["BlobManager finished"] [2024/05/06 09:30:19.581 +00:00] [INFO] [db.go:619] ["ResourceManager finished"] [2024/05/06 09:30:19.581 +00:00] [INFO] [db.go:625] ["Waiting for closer"] --- PASS: TestModifyColumnNullToNotNullWithChangingVal (2.12s) === RUN TestDropTablePartitionGCPlacement [2024/05/06 09:30:19.588 +00:00] [INFO] [store_cache.go:510] ["change store resolve state"] [store=1] [addr=store1] [from=unresolved] [to=resolved] [liveness-state=reachable] [2024/05/06 09:30:19.589 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 09:30:19.589 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 09:30:19.589 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 09:30:19.589 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 09:30:19.591 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 09:30:19.596 +00:00] [INFO] [tidb.go:80] ["new domain"] [store=01057151-65d6-4892-8839-5c23ec931eac] ["ddl lease"=500ms] ["stats lease"=-1ns] [2024/05/06 09:30:19.604 +00:00] [WARN] [controller.go:198] ["[resource group controller] server does not save config, load config failed"] [2024/05/06 09:30:19.604 +00:00] [INFO] [controller.go:185] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":10,\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\"}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":10,\"DegradedModeWaitDuration\":0}"] [2024/05/06 09:30:19.605 +00:00] [WARN] [domain.go:245] ["failed to get schema version"] [error="There is no Write MVCC info for the schema version"] [errorVerbose="There is no Write MVCC info for the schema version\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:335\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:242\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:606\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init\n\tpkg/domain/domain.go:1260\ngithub.com/pingcap/tidb/pkg/session.(*domainMap).Get.func1\n\tpkg/session/tidb.go:92\ngithub.com/pingcap/tidb/pkg/util.RunWithRetry\n\tpkg/util/misc.go:70\ngithub.com/pingcap/tidb/pkg/session.(*domainMap).Get\n\tpkg/session/tidb.go:79\ngithub.com/pingcap/tidb/pkg/session.createSessionWithOpt\n\tpkg/session/session.go:3620\ngithub.com/pingcap/tidb/pkg/session.createSession\n\tpkg/session/session.go:3612\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3562\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3346\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3312\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:294\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomain\n\tpkg/testkit/mockstore.go:265\ngithub.com/pingcap/tidb/pkg/ddl_test.TestDropTablePartitionGCPlacement\n\tpkg/ddl/placement_policy_test.go:1475\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=0] [2024/05/06 09:30:19.609 +00:00] [INFO] [domain.go:315] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=0] ["start time"=4.282123ms] [2024/05/06 09:30:19.609 +00:00] [INFO] [domain.go:635] ["full load and reset schema validator"] [2024/05/06 09:30:19.609 +00:00] [INFO] [ddl.go:818] ["start DDL"] [category=ddl] [ID=ee4c71b2-8ede-450b-a1c6-ff3feaecba51] [runWorker=true] [2024/05/06 09:30:19.609 +00:00] [INFO] [ddl.go:777] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=true] [2024/05/06 09:30:19.610 +00:00] [WARN] [env.go:51] ["initialize environment failed"] [category=ddl-ingest] ["storage limitation"="only support TiKV storage"] ["current storage"=unistore] ["lightning is initialized"=false] [2024/05/06 09:30:19.610 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2024/05/06 09:30:19.610 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=mdlCheckLoop] [2024/05/06 09:30:19.610 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2024/05/06 09:30:19.610 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2024/05/06 09:30:19.610 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/06 09:30:19.610 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayStartLoop] [2024/05/06 09:30:19.610 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/06 09:30:19.610 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2024/05/06 09:30:19.610 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/06 09:30:19.610 +00:00] [WARN] [domain.go:1326] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/06 09:30:19.610 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/06 09:30:19.610 +00:00] [INFO] [job_table.go:349] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2024/05/06 09:30:19.610 +00:00] [INFO] [delete_range.go:172] ["start delRange emulator"] [category=ddl] [2024/05/06 09:30:19.611 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/06 09:30:19.611 +00:00] [INFO] [runaway.go:149] ["try to start runaway manager loop"] [2024/05/06 09:30:19.611 +00:00] [INFO] [controller.go:447] ["[resource group controller] create resource group cost controller"] [name=default] [2024/05/06 09:30:19.611 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=0] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS test"] [user=] [2024/05/06 09:30:19.615 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:30:19.614 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:19.615 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:30:19.614 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE DATABASE IF NOT EXISTS test"] [2024/05/06 09:30:19.623 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=3] [category=ddl] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:19.614 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:19.631 +00:00] [INFO] [domain.go:315] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=1] ["start time"=3.312801ms] [2024/05/06 09:30:19.632 +00:00] [INFO] [domain.go:635] ["full load and reset schema validator"] [2024/05/06 09:30:19.633 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:19.633 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=3] [version=1] [2024/05/06 09:30:19.642 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=1] ["take time"=13.722738ms] [job="ID:3, Type:create schema, State:done, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:30:19.614 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:19.647 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=3] [job="ID:3, Type:create schema, State:synced, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:19.614 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:19.650 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=3] [2024/05/06 09:30:19.650 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:19.650 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS `mysql`"] [user=] [2024/05/06 09:30:19.651 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.user (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tauthentication_string\tTEXT,\n\t\tplugin\t\t\t\t\tCHAR(64),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tProcess_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_db_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tSuper_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_user_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_slave_priv\t \tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_client_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_role_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_role_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAccount_locked\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShutdown_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReload_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tFILE_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tConfig_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_reuse_history smallint unsigned DEFAULT NULL,\n\t\tPassword_reuse_time smallint unsigned DEFAULT NULL,\n\t\tUser_attributes\t\t\tjson,\n\t\tToken_issuer\t\t\tVARCHAR(255),\n\t\tPassword_expired\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_last_changed\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP(),\n\t\tPassword_lifetime\t\tSMALLINT UNSIGNED DEFAULT NULL,\n\t\tPRIMARY KEY (Host, User));"] [user=] [2024/05/06 09:30:19.658 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:19.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:19.658 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:19.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.user (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tauthentication_string\tTEXT,\n\t\tplugin\t\t\t\t\tCHAR(64),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tProcess_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_db_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tSuper_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_user_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_slave_priv\t \tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_client_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_role_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_role_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAccount_locked\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShutdown_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReload_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tFILE_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tConfig_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_reuse_history smallint unsigned DEFAULT NULL,\n\t\tPassword_reuse_time smallint unsigned DEFAULT NULL,\n\t\tUser_attributes\t\t\tjson,\n\t\tToken_issuer\t\t\tVARCHAR(255),\n\t\tPassword_expired\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_last_changed\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP(),\n\t\tPassword_lifetime\t\tSMALLINT UNSIGNED DEFAULT NULL,\n\t\tPRIMARY KEY (Host, User));"] [2024/05/06 09:30:19.701 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=5] [category=ddl] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:19.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:19.714 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=1] [neededSchemaVersion=2] ["start time"=1.057826ms] [gotSchemaVersion=2] [phyTblIDs="[4]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:19.716 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:19.716 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=5] [version=2] [2024/05/06 09:30:19.717 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=2] ["take time"=4.179501ms] [job="ID:5, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:19.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:19.726 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=5] [job="ID:5, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:19.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:19.734 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=5] [2024/05/06 09:30:19.734 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:19.734 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=2] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.password_history (\n Host char(255) NOT NULL DEFAULT '',\n User char(32) NOT NULL DEFAULT '',\n Password_timestamp timestamp(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n Password text,\n PRIMARY KEY (Host,User,Password_timestamp )\n ) COMMENT='Password history for user accounts' "] [user=] [2024/05/06 09:30:19.737 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:19.736 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:19.737 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:19.736 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.password_history (\n Host char(255) NOT NULL DEFAULT '',\n User char(32) NOT NULL DEFAULT '',\n Password_timestamp timestamp(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n Password text,\n PRIMARY KEY (Host,User,Password_timestamp )\n ) COMMENT='Password history for user accounts' "] [2024/05/06 09:30:19.744 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=7] [category=ddl] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:19.736 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:19.749 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=2] [neededSchemaVersion=3] ["start time"=285.135µs] [gotSchemaVersion=3] [phyTblIDs="[6]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:19.750 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:19.750 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=7] [version=3] [2024/05/06 09:30:19.755 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=3] ["take time"=6.768655ms] [job="ID:7, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:19.736 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:19.764 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=7] [job="ID:7, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:19.736 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:19.769 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=7] [2024/05/06 09:30:19.769 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:19.769 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=3] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.global_priv (Host CHAR(255) NOT NULL DEFAULT '',User CHAR(80) NOT NULL DEFAULT '',Priv LONGTEXT NOT NULL DEFAULT '',PRIMARY KEY (Host, User))"] [user=] [2024/05/06 09:30:19.772 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:19.771 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:19.772 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:19.771 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.global_priv (Host CHAR(255) NOT NULL DEFAULT '',User CHAR(80) NOT NULL DEFAULT '',Priv LONGTEXT NOT NULL DEFAULT '',PRIMARY KEY (Host, User))"] [2024/05/06 09:30:19.784 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=9] [category=ddl] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:19.771 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:19.787 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=3] [neededSchemaVersion=4] ["start time"=200.911µs] [gotSchemaVersion=4] [phyTblIDs="[8]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:19.789 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:19.789 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=9] [version=4] [2024/05/06 09:30:19.789 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=4] ["take time"=2.036323ms] [job="ID:9, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:19.771 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:19.794 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=9] [job="ID:9, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:19.771 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:19.833 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=9] [2024/05/06 09:30:19.833 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:19.834 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=4] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.db (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tDB\t\t\t\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv \t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (Host, DB, User));"] [user=] [2024/05/06 09:30:19.839 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:19.836 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:19.839 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:19.836 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.db (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tDB\t\t\t\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv \t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (Host, DB, User));"] [2024/05/06 09:30:19.850 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=11] [category=ddl] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:19.836 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:19.863 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=4] [neededSchemaVersion=5] ["start time"=657.422µs] [gotSchemaVersion=5] [phyTblIDs="[10]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:19.865 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:19.865 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=11] [version=5] [2024/05/06 09:30:19.868 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=5] ["take time"=5.86357ms] [job="ID:11, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:19.836 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:19.878 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=11] [job="ID:11, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:19.836 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:19.891 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=11] [2024/05/06 09:30:19.891 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:19.892 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=5] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tables_priv (\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tGrantor\t\tCHAR(77),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tTable_priv\tSET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'),\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name));"] [user=] [2024/05/06 09:30:19.896 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:19.894 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:19.896 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:19.894 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tables_priv (\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tGrantor\t\tCHAR(77),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tTable_priv\tSET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'),\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name));"] [2024/05/06 09:30:19.909 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=13] [category=ddl] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:19.894 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:19.915 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=5] [neededSchemaVersion=6] ["start time"=445.002µs] [gotSchemaVersion=6] [phyTblIDs="[12]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:19.917 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:19.917 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=13] [version=6] [2024/05/06 09:30:19.921 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=6] ["take time"=6.70638ms] [job="ID:13, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:19.894 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:19.933 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=13] [job="ID:13, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:19.894 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:19.956 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=13] [2024/05/06 09:30:19.956 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:19.956 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=6] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.columns_priv(\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tColumn_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name, Column_name));"] [user=] [2024/05/06 09:30:19.969 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:19.967 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:19.969 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:19.967 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.columns_priv(\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tColumn_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name, Column_name));"] [2024/05/06 09:30:19.992 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=15] [category=ddl] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:19.967 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:19.998 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=7] ["start time"=476.1µs] [gotSchemaVersion=7] [phyTblIDs="[14]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:20.000 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:20.000 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=15] [version=7] [2024/05/06 09:30:20.011 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=7] ["take time"=13.658025ms] [job="ID:15, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:19.967 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:20.019 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=15] [job="ID:15, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:19.967 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:20.025 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=15] [2024/05/06 09:30:20.025 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:20.025 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=7] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.GLOBAL_VARIABLES(\n\t\tVARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE VARCHAR(16383) DEFAULT NULL);"] [user=] [2024/05/06 09:30:20.029 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:20.027 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:20.030 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:20.027 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.GLOBAL_VARIABLES(\n\t\tVARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE VARCHAR(16383) DEFAULT NULL);"] [2024/05/06 09:30:20.048 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=17] [category=ddl] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:20.027 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:20.057 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=7] [neededSchemaVersion=8] ["start time"=280.056µs] [gotSchemaVersion=8] [phyTblIDs="[16]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:20.059 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:20.059 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=17] [version=8] [2024/05/06 09:30:20.069 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=8] ["take time"=12.139587ms] [job="ID:17, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:20.027 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:20.092 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=17] [job="ID:17, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:20.027 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:20.097 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=17] [2024/05/06 09:30:20.097 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:20.097 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=8] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb(\n\t\tVARIABLE_NAME \tVARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE \tVARCHAR(1024) DEFAULT NULL,\n\t\tCOMMENT \t\tVARCHAR(1024));"] [user=] [2024/05/06 09:30:20.100 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:20.099 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:20.100 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:20.099 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb(\n\t\tVARIABLE_NAME \tVARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE \tVARCHAR(1024) DEFAULT NULL,\n\t\tCOMMENT \t\tVARCHAR(1024));"] [2024/05/06 09:30:20.124 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=19] [category=ddl] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:20.099 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:20.128 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=8] [neededSchemaVersion=9] ["start time"=294.621µs] [gotSchemaVersion=9] [phyTblIDs="[18]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:20.129 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:20.129 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=19] [version=9] [2024/05/06 09:30:20.132 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=9] ["take time"=4.844738ms] [job="ID:19, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:20.099 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:20.147 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=19] [job="ID:19, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:20.099 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:20.151 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=19] [2024/05/06 09:30:20.151 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:20.152 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=9] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.help_topic (\n \t\thelp_topic_id \t\tINT(10) UNSIGNED NOT NULL,\n \t\tname \t\t\t\tCHAR(64) NOT NULL,\n \t\thelp_category_id \tSMALLINT(5) UNSIGNED NOT NULL,\n \t\tdescription \t\tTEXT NOT NULL,\n \t\texample \t\t\tTEXT NOT NULL,\n \t\turl \t\t\t\tTEXT NOT NULL,\n \t\tPRIMARY KEY (help_topic_id) clustered,\n \t\tUNIQUE KEY name (name)\n\t\t) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] [user=] [2024/05/06 09:30:20.157 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:20.155 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:20.157 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:20.155 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.help_topic (\n \t\thelp_topic_id \t\tINT(10) UNSIGNED NOT NULL,\n \t\tname \t\t\t\tCHAR(64) NOT NULL,\n \t\thelp_category_id \tSMALLINT(5) UNSIGNED NOT NULL,\n \t\tdescription \t\tTEXT NOT NULL,\n \t\texample \t\t\tTEXT NOT NULL,\n \t\turl \t\t\t\tTEXT NOT NULL,\n \t\tPRIMARY KEY (help_topic_id) clustered,\n \t\tUNIQUE KEY name (name)\n\t\t) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] [2024/05/06 09:30:20.178 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=21] [category=ddl] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:20.155 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:20.185 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=9] [neededSchemaVersion=10] ["start time"=474.974µs] [gotSchemaVersion=10] [phyTblIDs="[20]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:20.188 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:20.188 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=21] [version=10] [2024/05/06 09:30:20.191 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=10] ["take time"=6.271464ms] [job="ID:21, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:20.155 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:20.201 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=21] [job="ID:21, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:20.155 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:20.205 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=21] [2024/05/06 09:30:20.205 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:20.206 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=10] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_meta (\n\t\tversion \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\ttable_id \t\tBIGINT(64) NOT NULL,\n\t\tmodify_count\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcount \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tsnapshot BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tINDEX idx_ver(version),\n\t\tUNIQUE INDEX tbl(table_id)\n\t);"] [user=] [2024/05/06 09:30:20.210 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:20.208 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:20.210 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:20.208 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_meta (\n\t\tversion \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\ttable_id \t\tBIGINT(64) NOT NULL,\n\t\tmodify_count\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcount \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tsnapshot BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tINDEX idx_ver(version),\n\t\tUNIQUE INDEX tbl(table_id)\n\t);"] [2024/05/06 09:30:20.219 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=23] [category=ddl] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:20.208 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:20.224 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=10] [neededSchemaVersion=11] ["start time"=336.562µs] [gotSchemaVersion=11] [phyTblIDs="[22]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:20.225 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:20.225 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=23] [version=11] [2024/05/06 09:30:20.225 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=11] ["take time"=2.015479ms] [job="ID:23, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:20.208 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:20.235 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=23] [job="ID:23, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:20.208 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:20.239 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=23] [2024/05/06 09:30:20.239 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:20.240 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=11] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_histograms (\n\t\ttable_id \t\t\tBIGINT(64) NOT NULL,\n\t\tis_index \t\t\tTINYINT(2) NOT NULL,\n\t\thist_id \t\t\tBIGINT(64) NOT NULL,\n\t\tdistinct_count \t\tBIGINT(64) NOT NULL,\n\t\tnull_count \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\ttot_col_size \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tmodify_count \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tversion \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tcm_sketch \t\t\tBLOB(6291456),\n\t\tstats_ver \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tflag \t\t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcorrelation \t\tDOUBLE NOT NULL DEFAULT 0,\n\t\tlast_analyze_pos \tLONGBLOB DEFAULT NULL,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] [2024/05/06 09:30:20.240 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(6291456) to MEDIUMBLOB"] [category=ddl] [2024/05/06 09:30:20.244 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:20.242 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:20.244 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:20.242 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_histograms (\n\t\ttable_id \t\t\tBIGINT(64) NOT NULL,\n\t\tis_index \t\t\tTINYINT(2) NOT NULL,\n\t\thist_id \t\t\tBIGINT(64) NOT NULL,\n\t\tdistinct_count \t\tBIGINT(64) NOT NULL,\n\t\tnull_count \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\ttot_col_size \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tmodify_count \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tversion \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tcm_sketch \t\t\tBLOB(6291456),\n\t\tstats_ver \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tflag \t\t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcorrelation \t\tDOUBLE NOT NULL DEFAULT 0,\n\t\tlast_analyze_pos \tLONGBLOB DEFAULT NULL,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id)\n\t);"] [2024/05/06 09:30:20.271 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=25] [category=ddl] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:20.242 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:20.278 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=11] [neededSchemaVersion=12] ["start time"=492.083µs] [gotSchemaVersion=12] [phyTblIDs="[24]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:20.280 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:20.280 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=25] [version=12] [2024/05/06 09:30:20.282 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=12] ["take time"=4.745976ms] [job="ID:25, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:20.242 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:20.292 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=25] [job="ID:25, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:20.242 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:20.299 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=25] [2024/05/06 09:30:20.299 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:20.300 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=12] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_buckets (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tbucket_id \tBIGINT(64) NOT NULL,\n\t\tcount \t\tBIGINT(64) NOT NULL,\n\t\trepeats \tBIGINT(64) NOT NULL,\n\t\tupper_bound LONGBLOB NOT NULL,\n\t\tlower_bound LONGBLOB ,\n\t\tndv BIGINT NOT NULL DEFAULT 0,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id)\n\t);"] [user=] [2024/05/06 09:30:20.312 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:20.305 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:20.312 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:20.305 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_buckets (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tbucket_id \tBIGINT(64) NOT NULL,\n\t\tcount \t\tBIGINT(64) NOT NULL,\n\t\trepeats \tBIGINT(64) NOT NULL,\n\t\tupper_bound LONGBLOB NOT NULL,\n\t\tlower_bound LONGBLOB ,\n\t\tndv BIGINT NOT NULL DEFAULT 0,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id)\n\t);"] [2024/05/06 09:30:20.319 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=27] [category=ddl] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:20.305 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:20.325 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=12] [neededSchemaVersion=13] ["start time"=487.797µs] [gotSchemaVersion=13] [phyTblIDs="[26]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:20.327 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:20.327 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=27] [version=13] [2024/05/06 09:30:20.329 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=13] ["take time"=5.047885ms] [job="ID:27, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:20.305 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:20.337 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=27] [job="ID:27, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:20.305 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:20.342 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=27] [2024/05/06 09:30:20.342 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:20.342 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=13] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_index (job_id, element_id)\n\t);"] [user=] [2024/05/06 09:30:20.347 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:20.345 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:20.347 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:20.345 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_index (job_id, element_id)\n\t);"] [2024/05/06 09:30:20.365 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=29] [category=ddl] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:20.345 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:20.370 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=13] [neededSchemaVersion=14] ["start time"=421.6µs] [gotSchemaVersion=14] [phyTblIDs="[28]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:20.372 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:20.372 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=29] [version=14] [2024/05/06 09:30:20.374 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=14] ["take time"=4.558868ms] [job="ID:29, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:20.345 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:20.383 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=29] [job="ID:29, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:20.345 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:20.392 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=29] [2024/05/06 09:30:20.392 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:20.393 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=14] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_done_index (job_id, element_id)\n\t);"] [user=] [2024/05/06 09:30:20.397 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:20.396 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:20.398 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:20.396 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_done_index (job_id, element_id)\n\t);"] [2024/05/06 09:30:20.409 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=31] [category=ddl] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:20.396 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:20.414 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=14] [neededSchemaVersion=15] ["start time"=338.242µs] [gotSchemaVersion=15] [phyTblIDs="[30]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:20.415 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:20.415 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=31] [version=15] [2024/05/06 09:30:20.415 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=15] ["take time"=2.019053ms] [job="ID:31, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:20.396 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:20.424 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=31] [job="ID:31, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:20.396 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:20.429 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=31] [2024/05/06 09:30:20.429 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:20.429 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=15] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_feedback (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tfeedback \tBLOB NOT NULL,\n\t\tINDEX hist(table_id, is_index, hist_id)\n\t);"] [user=] [2024/05/06 09:30:20.434 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:20.432 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:20.434 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:20.432 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_feedback (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tfeedback \tBLOB NOT NULL,\n\t\tINDEX hist(table_id, is_index, hist_id)\n\t);"] [2024/05/06 09:30:20.443 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=33] [category=ddl] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:20.432 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:20.448 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=15] [neededSchemaVersion=16] ["start time"=380.19µs] [gotSchemaVersion=16] [phyTblIDs="[32]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:20.449 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:20.449 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=33] [version=16] [2024/05/06 09:30:20.452 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=16] ["take time"=4.709702ms] [job="ID:33, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:20.432 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:20.469 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=33] [job="ID:33, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:20.432 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:20.474 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=33] [2024/05/06 09:30:20.474 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:20.475 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=16] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.role_edges (\n\t\tFROM_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tFROM_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tWITH_ADMIN_OPTION \tENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER)\n\t);"] [user=] [2024/05/06 09:30:20.478 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:20.476 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:20.478 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:20.476 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.role_edges (\n\t\tFROM_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tFROM_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tWITH_ADMIN_OPTION \tENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER)\n\t);"] [2024/05/06 09:30:20.489 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=35] [category=ddl] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:20.476 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:20.493 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=16] [neededSchemaVersion=17] ["start time"=400.512µs] [gotSchemaVersion=17] [phyTblIDs="[34]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:20.495 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:20.495 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=35] [version=17] [2024/05/06 09:30:20.497 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=17] ["take time"=4.158828ms] [job="ID:35, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:20.476 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:20.508 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=35] [job="ID:35, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:20.476 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:20.513 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=35] [2024/05/06 09:30:20.514 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:20.514 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=17] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.default_roles (\n\t\tHOST \t\t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tUSER \t\t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tDEFAULT_ROLE_HOST \tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%',\n\t\tDEFAULT_ROLE_USER \tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tPRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER)\n\t)"] [user=] [2024/05/06 09:30:20.519 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:20.516 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:20.519 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:20.516 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.default_roles (\n\t\tHOST \t\t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tUSER \t\t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tDEFAULT_ROLE_HOST \tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%',\n\t\tDEFAULT_ROLE_USER \tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tPRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER)\n\t)"] [2024/05/06 09:30:20.533 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=37] [category=ddl] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:20.516 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:20.536 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=18] ["start time"=293.792µs] [gotSchemaVersion=18] [phyTblIDs="[36]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:20.538 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:20.538 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=37] [version=18] [2024/05/06 09:30:20.538 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=18] ["take time"=2.360894ms] [job="ID:37, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:20.516 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:20.547 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=37] [job="ID:37, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:20.516 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:20.551 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=37] [2024/05/06 09:30:20.551 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:20.551 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=18] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql TEXT NOT NULL,\n\t\tbind_sql TEXT NOT NULL,\n\t\tdefault_db TEXT NOT NULL,\n\t\tstatus TEXT NOT NULL,\n\t\tcreate_time TIMESTAMP(3) NOT NULL,\n\t\tupdate_time TIMESTAMP(3) NOT NULL,\n\t\tcharset TEXT NOT NULL,\n\t\tcollation TEXT NOT NULL,\n\t\tsource VARCHAR(10) NOT NULL DEFAULT 'unknown',\n\t\tsql_digest varchar(64),\n\t\tplan_digest varchar(64),\n\t\tINDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\",\n\t\tINDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2024/05/06 09:30:20.557 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:20.554 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:20.557 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:20.554 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql TEXT NOT NULL,\n\t\tbind_sql TEXT NOT NULL,\n\t\tdefault_db TEXT NOT NULL,\n\t\tstatus TEXT NOT NULL,\n\t\tcreate_time TIMESTAMP(3) NOT NULL,\n\t\tupdate_time TIMESTAMP(3) NOT NULL,\n\t\tcharset TEXT NOT NULL,\n\t\tcollation TEXT NOT NULL,\n\t\tsource VARCHAR(10) NOT NULL DEFAULT 'unknown',\n\t\tsql_digest varchar(64),\n\t\tplan_digest varchar(64),\n\t\tINDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\",\n\t\tINDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2024/05/06 09:30:20.568 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=39] [category=ddl] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:20.554 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:20.574 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=18] [neededSchemaVersion=19] ["start time"=441.809µs] [gotSchemaVersion=19] [phyTblIDs="[38]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:20.576 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:20.576 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=39] [version=19] [2024/05/06 09:30:20.578 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=19] ["take time"=4.248252ms] [job="ID:39, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:20.554 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:20.586 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=39] [job="ID:39, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:20.554 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:20.597 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=39] [2024/05/06 09:30:20.597 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:20.603 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=19] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_top_n (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tcount \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] [2024/05/06 09:30:20.607 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:20.605 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:20.607 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:20.605 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_top_n (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tcount \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [2024/05/06 09:30:20.612 +00:00] [WARN] [runaway.go:166] ["failed to start runaway manager loop, please check whether the bootstrap or update is finished"] [error="[schema:1146]Table 'mysql.tidb_runaway_watch' doesn't exist"] [errorVerbose="[schema:1146]Table 'mysql.tidb_runaway_watch' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:141\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:67\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2089\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternalStmt\n\tpkg/session/session.go:1993\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL.func1\n\tpkg/session/session.go:1958\ngithub.com/pingcap/tidb/pkg/session.(*session).withRestrictedSQLExecutor\n\tpkg/session/session.go:1944\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL\n\tpkg/session/session.go:1948\ngithub.com/pingcap/tidb/pkg/domain.(*SystemTableReader).Read\n\tpkg/domain/runaway.go:655\ngithub.com/pingcap/tidb/pkg/domain.getRunawayWatchRecord\n\tpkg/domain/runaway.go:543\ngithub.com/pingcap/tidb/pkg/domain.(*runawaySyncer).getWatchRecord\n\tpkg/domain/runaway.go:526\ngithub.com/pingcap/tidb/pkg/domain.(*runawaySyncer).getNewWatchRecords\n\tpkg/domain/runaway.go:509\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).updateNewAndDoneWatch\n\tpkg/domain/runaway.go:177\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).runawayStartLoop\n\tpkg/domain/runaway.go:156\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:99\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [2024/05/06 09:30:20.615 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=41] [category=ddl] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:20.605 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:20.621 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=19] [neededSchemaVersion=20] ["start time"=339.059µs] [gotSchemaVersion=20] [phyTblIDs="[40]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:20.622 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:20.622 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=41] [version=20] [2024/05/06 09:30:20.624 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=20] ["take time"=3.443777ms] [job="ID:41, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:20.605 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:20.629 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=41] [job="ID:41, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:20.605 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:20.633 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=41] [2024/05/06 09:30:20.633 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:20.634 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=20] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.expr_pushdown_blacklist (\n\t\tname \t\tCHAR(100) NOT NULL,\n\t\tstore_type \tCHAR(100) NOT NULL DEFAULT 'tikv,tiflash,tidb',\n\t\treason \t\tVARCHAR(200)\n\t);"] [user=] [2024/05/06 09:30:20.637 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:20.636 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:20.637 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:20.636 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.expr_pushdown_blacklist (\n\t\tname \t\tCHAR(100) NOT NULL,\n\t\tstore_type \tCHAR(100) NOT NULL DEFAULT 'tikv,tiflash,tidb',\n\t\treason \t\tVARCHAR(200)\n\t);"] [2024/05/06 09:30:20.648 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=43] [category=ddl] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:20.636 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:20.652 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=20] [neededSchemaVersion=21] ["start time"=233.808µs] [gotSchemaVersion=21] [phyTblIDs="[42]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:20.653 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:20.653 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=43] [version=21] [2024/05/06 09:30:20.653 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=21] ["take time"=2.038552ms] [job="ID:43, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:20.636 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:20.669 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=43] [job="ID:43, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:20.636 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:20.672 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=43] [2024/05/06 09:30:20.672 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:20.672 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=21] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] [user=] [2024/05/06 09:30:20.675 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:20.674 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:20.675 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:20.674 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] [2024/05/06 09:30:20.682 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=45] [category=ddl] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:20.674 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:20.685 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=21] [neededSchemaVersion=22] ["start time"=200.198µs] [gotSchemaVersion=22] [phyTblIDs="[44]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:20.686 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:20.686 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=45] [version=22] [2024/05/06 09:30:20.687 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=22] ["take time"=2.188839ms] [job="ID:45, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:20.674 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:20.697 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=45] [job="ID:45, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:20.674 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:20.700 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=45] [2024/05/06 09:30:20.700 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:20.701 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=22] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_extended (\n\t\tname varchar(32) NOT NULL,\n\t\ttype tinyint(4) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcolumn_ids varchar(32) NOT NULL,\n\t\tstats blob DEFAULT NULL,\n\t\tversion bigint(64) unsigned NOT NULL,\n\t\tstatus tinyint(4) NOT NULL,\n\t\tPRIMARY KEY(name, table_id),\n\t\tKEY idx_1 (table_id, status, version),\n\t\tKEY idx_2 (status, version)\n\t);"] [user=] [2024/05/06 09:30:20.704 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:20.703 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:20.704 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:20.703 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_extended (\n\t\tname varchar(32) NOT NULL,\n\t\ttype tinyint(4) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcolumn_ids varchar(32) NOT NULL,\n\t\tstats blob DEFAULT NULL,\n\t\tversion bigint(64) unsigned NOT NULL,\n\t\tstatus tinyint(4) NOT NULL,\n\t\tPRIMARY KEY(name, table_id),\n\t\tKEY idx_1 (table_id, status, version),\n\t\tKEY idx_2 (status, version)\n\t);"] [2024/05/06 09:30:20.714 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=47] [category=ddl] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:20.703 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:20.718 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=22] [neededSchemaVersion=23] ["start time"=304.118µs] [gotSchemaVersion=23] [phyTblIDs="[46]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:20.719 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:20.719 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=47] [version=23] [2024/05/06 09:30:20.720 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=23] ["take time"=2.995477ms] [job="ID:47, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:20.703 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:20.744 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=47] [job="ID:47, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:20.703 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:20.749 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=47] [2024/05/06 09:30:20.749 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:20.749 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=23] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] [2024/05/06 09:30:20.753 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:20.751 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:20.753 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:20.751 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [2024/05/06 09:30:20.760 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=49] [category=ddl] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:20.751 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:20.764 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=23] [neededSchemaVersion=24] ["start time"=256.729µs] [gotSchemaVersion=24] [phyTblIDs="[48]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:20.765 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:20.765 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=49] [version=24] [2024/05/06 09:30:20.767 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=24] ["take time"=2.930146ms] [job="ID:49, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:20.751 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:20.773 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=49] [job="ID:49, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:20.751 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:20.777 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=49] [2024/05/06 09:30:20.777 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:20.777 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=24] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.global_grants (\n\t\tUSER char(32) NOT NULL DEFAULT '',\n\t\tHOST char(255) NOT NULL DEFAULT '',\n\t\tPRIV char(32) NOT NULL DEFAULT '',\n\t\tWITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (USER,HOST,PRIV)\n\t);"] [user=] [2024/05/06 09:30:20.781 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:20.779 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:20.781 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:20.779 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.global_grants (\n\t\tUSER char(32) NOT NULL DEFAULT '',\n\t\tHOST char(255) NOT NULL DEFAULT '',\n\t\tPRIV char(32) NOT NULL DEFAULT '',\n\t\tWITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (USER,HOST,PRIV)\n\t);"] [2024/05/06 09:30:20.790 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=51] [category=ddl] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:20.779 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:20.793 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=24] [neededSchemaVersion=25] ["start time"=356.15µs] [gotSchemaVersion=25] [phyTblIDs="[50]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:20.796 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:20.796 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=51] [version=25] [2024/05/06 09:30:20.798 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=25] ["take time"=4.638391ms] [job="ID:51, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:20.779 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:20.804 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=51] [job="ID:51, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:20.779 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:20.808 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=51] [2024/05/06 09:30:20.808 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:20.808 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=25] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist (\n\t\tid bigint(64) auto_increment,\n\t\tfilter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\",\n\t\tfilter_value varchar(32) NOT NULL,\n\t\tkey idx(filter_type),\n\t\tprimary key(id)\n\t);"] [user=] [2024/05/06 09:30:20.811 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:20.81 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:20.811 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:20.81 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist (\n\t\tid bigint(64) auto_increment,\n\t\tfilter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\",\n\t\tfilter_value varchar(32) NOT NULL,\n\t\tkey idx(filter_type),\n\t\tprimary key(id)\n\t);"] [2024/05/06 09:30:20.821 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=53] [category=ddl] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:20.81 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:20.824 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=25] [neededSchemaVersion=26] ["start time"=275.533µs] [gotSchemaVersion=26] [phyTblIDs="[52]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:20.826 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:20.826 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=53] [version=26] [2024/05/06 09:30:20.828 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=26] ["take time"=3.754628ms] [job="ID:53, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:20.81 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:20.834 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=53] [job="ID:53, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:20.81 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:20.837 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=53] [2024/05/06 09:30:20.838 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:20.838 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=26] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.column_stats_usage (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tcolumn_id BIGINT(64) NOT NULL,\n\t\tlast_used_at TIMESTAMP,\n\t\tlast_analyzed_at TIMESTAMP,\n\t\tPRIMARY KEY (table_id, column_id) CLUSTERED\n\t);"] [user=] [2024/05/06 09:30:20.841 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:20.839 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:20.841 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:20.839 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.column_stats_usage (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tcolumn_id BIGINT(64) NOT NULL,\n\t\tlast_used_at TIMESTAMP,\n\t\tlast_analyzed_at TIMESTAMP,\n\t\tPRIMARY KEY (table_id, column_id) CLUSTERED\n\t);"] [2024/05/06 09:30:20.848 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=55] [category=ddl] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:20.839 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:20.852 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=26] [neededSchemaVersion=27] ["start time"=327.408µs] [gotSchemaVersion=27] [phyTblIDs="[54]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:20.853 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:20.853 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=55] [version=27] [2024/05/06 09:30:20.853 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=27] ["take time"=2.029087ms] [job="ID:55, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:20.839 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:20.860 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=55] [job="ID:55, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:20.839 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:20.863 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=55] [2024/05/06 09:30:20.863 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:20.864 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=27] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.table_cache_meta (\n\t\ttid bigint(11) NOT NULL DEFAULT 0,\n\t\tlock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE',\n\t\tlease bigint(20) NOT NULL DEFAULT 0,\n\t\toldReadLease bigint(20) NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (tid)\n\t);"] [user=] [2024/05/06 09:30:20.866 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:20.865 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:20.866 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:20.865 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.table_cache_meta (\n\t\ttid bigint(11) NOT NULL DEFAULT 0,\n\t\tlock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE',\n\t\tlease bigint(20) NOT NULL DEFAULT 0,\n\t\toldReadLease bigint(20) NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (tid)\n\t);"] [2024/05/06 09:30:20.884 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=57] [category=ddl] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:20.865 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:20.887 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=27] [neededSchemaVersion=28] ["start time"=277.842µs] [gotSchemaVersion=28] [phyTblIDs="[56]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:20.889 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:20.889 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=57] [version=28] [2024/05/06 09:30:20.896 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=28] ["take time"=9.208147ms] [job="ID:57, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:20.865 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:20.907 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=57] [job="ID:57, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:20.865 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:20.911 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=57] [2024/05/06 09:30:20.911 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:20.912 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=28] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_options (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tsample_num BIGINT(64) NOT NULL DEFAULT 0,\n\t\tsample_rate DOUBLE NOT NULL DEFAULT -1,\n\t\tbuckets BIGINT(64) NOT NULL DEFAULT 0,\n\t\ttopn BIGINT(64) NOT NULL DEFAULT -1,\n\t\tcolumn_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT',\n\t\tcolumn_ids TEXT(19372),\n\t\tPRIMARY KEY (table_id) CLUSTERED\n\t);"] [user=] [2024/05/06 09:30:20.912 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(19372) to MEDIUMBLOB"] [category=ddl] [2024/05/06 09:30:20.916 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:20.914 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:20.916 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:20.914 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.analyze_options (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tsample_num BIGINT(64) NOT NULL DEFAULT 0,\n\t\tsample_rate DOUBLE NOT NULL DEFAULT -1,\n\t\tbuckets BIGINT(64) NOT NULL DEFAULT 0,\n\t\ttopn BIGINT(64) NOT NULL DEFAULT -1,\n\t\tcolumn_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT',\n\t\tcolumn_ids TEXT(19372),\n\t\tPRIMARY KEY (table_id) CLUSTERED\n\t);"] [2024/05/06 09:30:20.924 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=59] [category=ddl] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:20.914 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:20.937 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=28] [neededSchemaVersion=29] ["start time"=344.329µs] [gotSchemaVersion=29] [phyTblIDs="[58]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:20.938 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:20.939 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=59] [version=29] [2024/05/06 09:30:20.939 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=29] ["take time"=2.671538ms] [job="ID:59, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:20.914 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:20.945 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=59] [job="ID:59, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:20.914 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:20.951 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=59] [2024/05/06 09:30:20.951 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:20.951 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=29] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tstats_data longblob NOT NULL,\n\t\tseq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice',\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version_seq (table_id, version, seq_no),\n\t\tKEY table_create_time (table_id, create_time, seq_no),\n \tKEY idx_create_time (create_time)\n\t);"] [user=] [2024/05/06 09:30:20.955 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:20.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:20.955 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:20.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tstats_data longblob NOT NULL,\n\t\tseq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice',\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version_seq (table_id, version, seq_no),\n\t\tKEY table_create_time (table_id, create_time, seq_no),\n \tKEY idx_create_time (create_time)\n\t);"] [2024/05/06 09:30:20.963 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=61] [category=ddl] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:20.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:20.972 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=29] [neededSchemaVersion=30] ["start time"=402.47µs] [gotSchemaVersion=30] [phyTblIDs="[60]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:20.973 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:20.973 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=61] [version=30] [2024/05/06 09:30:20.976 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=30] ["take time"=4.82282ms] [job="ID:61, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:20.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:20.982 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=61] [job="ID:61, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:20.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:20.986 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=61] [2024/05/06 09:30:20.986 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:20.986 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=30] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_meta_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL,\n\t\tcount bigint(64) NOT NULL,\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n \tsource varchar(40) NOT NULL,\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version (table_id, version),\n\t\tKEY table_create_time (table_id, create_time),\n \tKEY idx_create_time (create_time)\n\t);"] [user=] [2024/05/06 09:30:20.989 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:20.988 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:20.989 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:20.988 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_meta_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL,\n\t\tcount bigint(64) NOT NULL,\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n \tsource varchar(40) NOT NULL,\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version (table_id, version),\n\t\tKEY table_create_time (table_id, create_time),\n \tKEY idx_create_time (create_time)\n\t);"] [2024/05/06 09:30:20.997 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=63] [category=ddl] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:20.988 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:21.001 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=30] [neededSchemaVersion=31] ["start time"=319.245µs] [gotSchemaVersion=31] [phyTblIDs="[62]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:21.002 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:21.003 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=63] [version=31] [2024/05/06 09:30:21.003 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=31] ["take time"=2.356336ms] [job="ID:63, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:20.988 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:21.008 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=63] [job="ID:63, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:20.988 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:21.012 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=63] [2024/05/06 09:30:21.012 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:21.013 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=31] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_jobs (\n\t\tid BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\ttable_schema CHAR(64) NOT NULL DEFAULT '',\n\t\ttable_name CHAR(64) NOT NULL DEFAULT '',\n\t\tpartition_name CHAR(64) NOT NULL DEFAULT '',\n\t\tjob_info TEXT NOT NULL,\n\t\tprocessed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tstart_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tstate ENUM('pending', 'running', 'finished', 'failed') NOT NULL,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job',\n\t\tprocess_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job',\n\t\tPRIMARY KEY (id),\n\t\tKEY (update_time)\n\t);"] [user=] [2024/05/06 09:30:21.017 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:21.015 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:21.017 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:21.015 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.analyze_jobs (\n\t\tid BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\ttable_schema CHAR(64) NOT NULL DEFAULT '',\n\t\ttable_name CHAR(64) NOT NULL DEFAULT '',\n\t\tpartition_name CHAR(64) NOT NULL DEFAULT '',\n\t\tjob_info TEXT NOT NULL,\n\t\tprocessed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tstart_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tstate ENUM('pending', 'running', 'finished', 'failed') NOT NULL,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job',\n\t\tprocess_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job',\n\t\tPRIMARY KEY (id),\n\t\tKEY (update_time)\n\t);"] [2024/05/06 09:30:21.024 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=65] [category=ddl] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:21.015 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:21.030 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=31] [neededSchemaVersion=32] ["start time"=417.863µs] [gotSchemaVersion=32] [phyTblIDs="[64]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:21.031 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:21.031 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=65] [version=32] [2024/05/06 09:30:21.032 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=32] ["take time"=2.477246ms] [job="ID:65, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:21.015 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:21.037 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=65] [job="ID:65, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:21.015 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:21.045 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=65] [2024/05/06 09:30:21.045 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:21.045 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=32] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] [user=] [2024/05/06 09:30:21.048 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:21.046 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:21.048 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:21.046 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] [2024/05/06 09:30:21.058 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=67] [category=ddl] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:21.046 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:21.061 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=262.818µs] [gotSchemaVersion=33] [phyTblIDs="[66]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:21.062 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:21.062 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=67] [version=33] [2024/05/06 09:30:21.063 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=33] ["take time"=2.262996ms] [job="ID:67, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:21.046 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:21.068 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=67] [job="ID:67, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:21.046 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:21.070 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=67] [2024/05/06 09:30:21.070 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:21.074 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2024-05-06 09:30:21.072 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:21.074 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2024-05-06 09:30:21.072 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE OR REPLACE VIEW mysql.tidb_mdl_view as (\n\t\tSELECT tidb_mdl_info.job_id,\n\t\t\tJSON_UNQUOTE(JSON_EXTRACT(cast(cast(job_meta as char) as json), \"$.schema_name\")) as db_name,\n\t\t\tJSON_UNQUOTE(JSON_EXTRACT(cast(cast(job_meta as char) as json), \"$.table_name\")) as table_name,\n\t\t\tJSON_UNQUOTE(JSON_EXTRACT(cast(cast(job_meta as char) as json), \"$.query\")) as query,\n\t\t\tsession_id,\n\t\t\tcluster_tidb_trx.start_time,\n\t\t\ttidb_decode_sql_digests(all_sql_digests, 4096) AS SQL_DIGESTS\n\t\tFROM mysql.tidb_ddl_job,\n\t\t\tmysql.tidb_mdl_info,\n\t\t\tinformation_schema.cluster_tidb_trx\n\t\tWHERE tidb_ddl_job.job_id=tidb_mdl_info.job_id\n\t\t\tAND CONCAT(',', tidb_mdl_info.table_ids, ',') REGEXP CONCAT(',', REPLACE(cluster_tidb_trx.related_table_ids, ',', '|'), ',') != 0\n\t);"] [2024/05/06 09:30:21.083 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=69] [category=ddl] [job="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:21.072 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:21.087 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=33] [neededSchemaVersion=34] ["start time"=362.476µs] [gotSchemaVersion=34] [phyTblIDs="[68]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2024/05/06 09:30:21.088 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:21.088 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=69] [version=34] [2024/05/06 09:30:21.091 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=34] ["take time"=4.65119ms] [job="ID:69, Type:create view, State:done, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2024-05-06 09:30:21.072 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:21.097 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=69] [job="ID:69, Type:create view, State:synced, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:21.072 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:21.101 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=69] [2024/05/06 09:30:21.101 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:21.102 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=34] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_status (\n\t\tsql_digest VARCHAR(128),\n\t\tplan_digest VARCHAR(128),\n\t\torigin_sql TEXT,\n\t\ttoken VARCHAR(128),\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the plan replayer job');"] [user=] [2024/05/06 09:30:21.105 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:21.103 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:21.105 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:21.103 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_status (\n\t\tsql_digest VARCHAR(128),\n\t\tplan_digest VARCHAR(128),\n\t\torigin_sql TEXT,\n\t\ttoken VARCHAR(128),\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the plan replayer job');"] [2024/05/06 09:30:21.112 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=71] [category=ddl] [job="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:21.103 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:21.115 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=34] [neededSchemaVersion=35] ["start time"=240.561µs] [gotSchemaVersion=35] [phyTblIDs="[70]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:21.117 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:21.117 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=71] [version=35] [2024/05/06 09:30:21.118 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=35] ["take time"=2.539941ms] [job="ID:71, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:21.103 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:21.123 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=71] [job="ID:71, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:21.103 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:21.127 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=71] [2024/05/06 09:30:21.127 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:21.127 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=35] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_task (\n\t\tsql_digest VARCHAR(128) NOT NULL,\n\t\tplan_digest VARCHAR(128) NOT NULL,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tPRIMARY KEY (sql_digest,plan_digest));"] [user=] [2024/05/06 09:30:21.130 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:21.129 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:21.130 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:21.129 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_task (\n\t\tsql_digest VARCHAR(128) NOT NULL,\n\t\tplan_digest VARCHAR(128) NOT NULL,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tPRIMARY KEY (sql_digest,plan_digest));"] [2024/05/06 09:30:21.139 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=73] [category=ddl] [job="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:21.129 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:21.142 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=35] [neededSchemaVersion=36] ["start time"=356.904µs] [gotSchemaVersion=36] [phyTblIDs="[72]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:21.143 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:21.144 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=73] [version=36] [2024/05/06 09:30:21.144 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=36] ["take time"=2.062586ms] [job="ID:73, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:21.129 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:21.149 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=73] [job="ID:73, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:21.129 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:21.155 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=73] [2024/05/06 09:30:21.155 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:21.155 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=36] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_table_locked(\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL DEFAULT 0,\n\t\tcount bigint(64) NOT NULL DEFAULT 0,\n\t\tversion bigint(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (table_id));"] [user=] [2024/05/06 09:30:21.158 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:21.157 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:21.158 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:21.157 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_table_locked(\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL DEFAULT 0,\n\t\tcount bigint(64) NOT NULL DEFAULT 0,\n\t\tversion bigint(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (table_id));"] [2024/05/06 09:30:21.168 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=75] [category=ddl] [job="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:21.157 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:21.174 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=36] [neededSchemaVersion=37] ["start time"=415.421µs] [gotSchemaVersion=37] [phyTblIDs="[74]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:21.176 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:21.176 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=75] [version=37] [2024/05/06 09:30:21.178 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=37] ["take time"=4.19396ms] [job="ID:75, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:21.157 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:21.185 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=75] [job="ID:75, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:21.157 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:21.188 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=75] [2024/05/06 09:30:21.188 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:21.189 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=37] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_table_status (\n\t\ttable_id bigint(64) PRIMARY KEY,\n parent_table_id bigint(64),\n table_statistics text DEFAULT NULL,\n\t\tlast_job_id varchar(64) DEFAULT NULL,\n\t\tlast_job_start_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_finish_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_ttl_expire timestamp NULL DEFAULT NULL,\n last_job_summary text DEFAULT NULL,\n\t\tcurrent_job_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_addr varchar(256) DEFAULT NULL,\n\t\tcurrent_job_owner_hb_time timestamp,\n\t\tcurrent_job_start_time timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_ttl_expire timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_state text DEFAULT NULL,\n\t\tcurrent_job_status varchar(64) DEFAULT NULL,\n \t\tcurrent_job_status_update_time timestamp NULL DEFAULT NULL);"] [user=] [2024/05/06 09:30:21.193 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:21.19 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:21.193 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:21.19 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_table_status (\n\t\ttable_id bigint(64) PRIMARY KEY,\n parent_table_id bigint(64),\n table_statistics text DEFAULT NULL,\n\t\tlast_job_id varchar(64) DEFAULT NULL,\n\t\tlast_job_start_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_finish_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_ttl_expire timestamp NULL DEFAULT NULL,\n last_job_summary text DEFAULT NULL,\n\t\tcurrent_job_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_addr varchar(256) DEFAULT NULL,\n\t\tcurrent_job_owner_hb_time timestamp,\n\t\tcurrent_job_start_time timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_ttl_expire timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_state text DEFAULT NULL,\n\t\tcurrent_job_status varchar(64) DEFAULT NULL,\n \t\tcurrent_job_status_update_time timestamp NULL DEFAULT NULL);"] [2024/05/06 09:30:21.207 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=77] [category=ddl] [job="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:21.19 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:21.212 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=37] [neededSchemaVersion=38] ["start time"=546.662µs] [gotSchemaVersion=38] [phyTblIDs="[76]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:21.214 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:21.214 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=77] [version=38] [2024/05/06 09:30:21.216 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=38] ["take time"=4.121474ms] [job="ID:77, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:21.19 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:21.221 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=77] [job="ID:77, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:21.19 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:21.226 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=77] [2024/05/06 09:30:21.226 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:21.227 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=38] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_task (\n\t\tjob_id varchar(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tscan_id int NOT NULL,\n\t\tscan_range_start BLOB,\n\t\tscan_range_end BLOB,\n\t\texpire_time timestamp NOT NULL,\n\t\towner_id varchar(64) DEFAULT NULL,\n\t\towner_addr varchar(64) DEFAULT NULL,\n\t\towner_hb_time timestamp DEFAULT NULL,\n\t\tstatus varchar(64) DEFAULT 'waiting',\n\t\tstatus_update_time timestamp NULL DEFAULT NULL,\n\t\tstate text,\n\t\tcreated_time timestamp NOT NULL,\n\t\tprimary key(job_id, scan_id),\n\t\tkey(created_time));"] [user=] [2024/05/06 09:30:21.230 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:21.228 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:21.230 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:21.228 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_task (\n\t\tjob_id varchar(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tscan_id int NOT NULL,\n\t\tscan_range_start BLOB,\n\t\tscan_range_end BLOB,\n\t\texpire_time timestamp NOT NULL,\n\t\towner_id varchar(64) DEFAULT NULL,\n\t\towner_addr varchar(64) DEFAULT NULL,\n\t\towner_hb_time timestamp DEFAULT NULL,\n\t\tstatus varchar(64) DEFAULT 'waiting',\n\t\tstatus_update_time timestamp NULL DEFAULT NULL,\n\t\tstate text,\n\t\tcreated_time timestamp NOT NULL,\n\t\tprimary key(job_id, scan_id),\n\t\tkey(created_time));"] [2024/05/06 09:30:21.238 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=79] [category=ddl] [job="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:21.228 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:21.245 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=38] [neededSchemaVersion=39] ["start time"=622.78µs] [gotSchemaVersion=39] [phyTblIDs="[78]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:21.246 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:21.246 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=79] [version=39] [2024/05/06 09:30:21.248 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=39] ["take time"=4.159147ms] [job="ID:79, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:21.228 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:21.255 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=79] [job="ID:79, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:21.228 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:21.268 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=79] [2024/05/06 09:30:21.268 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:21.269 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=39] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_job_history (\n\t\tjob_id varchar(64) PRIMARY KEY,\n\t\ttable_id bigint(64) NOT NULL,\n parent_table_id bigint(64) NOT NULL,\n \ttable_schema varchar(64) NOT NULL,\n\t\ttable_name varchar(64) NOT NULL,\n \tpartition_name varchar(64) DEFAULT NULL,\n\t\tcreate_time timestamp NOT NULL,\n\t\tfinish_time timestamp NOT NULL,\n\t\tttl_expire timestamp NOT NULL,\n summary_text text,\n\t\texpired_rows bigint(64) DEFAULT NULL,\n \tdeleted_rows bigint(64) DEFAULT NULL,\n \terror_delete_rows bigint(64) DEFAULT NULL,\n \tstatus varchar(64) NOT NULL,\n \tkey(table_schema, table_name, create_time),\n \tkey(parent_table_id, create_time),\n \tkey(create_time)\n\t);"] [user=] [2024/05/06 09:30:21.273 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:21.271 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:21.273 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:21.271 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_job_history (\n\t\tjob_id varchar(64) PRIMARY KEY,\n\t\ttable_id bigint(64) NOT NULL,\n parent_table_id bigint(64) NOT NULL,\n \ttable_schema varchar(64) NOT NULL,\n\t\ttable_name varchar(64) NOT NULL,\n \tpartition_name varchar(64) DEFAULT NULL,\n\t\tcreate_time timestamp NOT NULL,\n\t\tfinish_time timestamp NOT NULL,\n\t\tttl_expire timestamp NOT NULL,\n summary_text text,\n\t\texpired_rows bigint(64) DEFAULT NULL,\n \tdeleted_rows bigint(64) DEFAULT NULL,\n \terror_delete_rows bigint(64) DEFAULT NULL,\n \tstatus varchar(64) NOT NULL,\n \tkey(table_schema, table_name, create_time),\n \tkey(parent_table_id, create_time),\n \tkey(create_time)\n\t);"] [2024/05/06 09:30:21.291 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=81] [category=ddl] [job="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:80, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:21.271 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:21.296 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=39] [neededSchemaVersion=40] ["start time"=588.829µs] [gotSchemaVersion=40] [phyTblIDs="[80]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:21.298 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:21.298 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=81] [version=40] [2024/05/06 09:30:21.300 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=40] ["take time"=4.226362ms] [job="ID:81, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:21.271 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:21.306 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=81] [job="ID:81, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:80, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:21.271 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:21.312 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=81] [2024/05/06 09:30:21.312 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:21.312 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=40] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(261),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tpriority INT DEFAULT 1,\n\t\tcreate_time TIMESTAMP,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\ttarget_scope VARCHAR(256) DEFAULT \"\",\n\t\terror BLOB,\n\t\tkey(state),\n \tUNIQUE KEY task_key(task_key)\n\t);"] [user=] [2024/05/06 09:30:21.317 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:21.314 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:21.317 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:21.314 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(261),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tpriority INT DEFAULT 1,\n\t\tcreate_time TIMESTAMP,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\ttarget_scope VARCHAR(256) DEFAULT \"\",\n\t\terror BLOB,\n\t\tkey(state),\n \tUNIQUE KEY task_key(task_key)\n\t);"] [2024/05/06 09:30:21.325 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=83] [category=ddl] [job="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:82, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:21.314 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:21.331 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=40] [neededSchemaVersion=41] ["start time"=572.088µs] [gotSchemaVersion=41] [phyTblIDs="[82]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:21.332 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:21.332 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=83] [version=41] [2024/05/06 09:30:21.335 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=41] ["take time"=4.935453ms] [job="ID:83, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:21.314 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:21.343 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=83] [job="ID:83, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:82, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:21.314 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:21.348 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=83] [2024/05/06 09:30:21.348 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:21.349 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=41] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task_history (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(261),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tpriority INT DEFAULT 1,\n\t\tcreate_time TIMESTAMP,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\ttarget_scope VARCHAR(256) DEFAULT \"\",\n\t\terror BLOB,\n\t\tkey(state),\n \tUNIQUE KEY task_key(task_key)\n\t);"] [user=] [2024/05/06 09:30:21.353 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:85, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:84, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:21.351 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:21.353 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:85, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:84, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:21.351 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task_history (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(261),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tpriority INT DEFAULT 1,\n\t\tcreate_time TIMESTAMP,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\ttarget_scope VARCHAR(256) DEFAULT \"\",\n\t\terror BLOB,\n\t\tkey(state),\n \tUNIQUE KEY task_key(task_key)\n\t);"] [2024/05/06 09:30:21.367 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=85] [category=ddl] [job="ID:85, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:84, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:21.351 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:21.373 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=41] [neededSchemaVersion=42] ["start time"=601.88µs] [gotSchemaVersion=42] [phyTblIDs="[84]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:21.375 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:21.375 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=85] [version=42] [2024/05/06 09:30:21.378 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=42] ["take time"=5.656722ms] [job="ID:85, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:84, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:21.351 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:21.388 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=85] [job="ID:85, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:84, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:21.351 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:21.392 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=85] [2024/05/06 09:30:21.393 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:21.393 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=42] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_import_jobs (\n\t\tid bigint(64) NOT NULL AUTO_INCREMENT,\n\t\tcreate_time TIMESTAMP(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n\t\tstart_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tupdate_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tend_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\ttable_schema VARCHAR(64) NOT NULL,\n\t\ttable_name VARCHAR(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcreated_by VARCHAR(300) NOT NULL,\n\t\tparameters text NOT NULL,\n\t\tsource_file_size bigint(64) NOT NULL,\n\t\tstatus VARCHAR(64) NOT NULL,\n\t\tstep VARCHAR(64) NOT NULL,\n\t\tsummary text DEFAULT NULL,\n\t\terror_message TEXT DEFAULT NULL,\n\t\tPRIMARY KEY (id),\n\t\tKEY (created_by),\n\t\tKEY (status));"] [user=] [2024/05/06 09:30:21.396 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:87, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:86, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:21.394 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:21.396 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:87, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:86, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:21.394 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_import_jobs (\n\t\tid bigint(64) NOT NULL AUTO_INCREMENT,\n\t\tcreate_time TIMESTAMP(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n\t\tstart_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tupdate_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tend_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\ttable_schema VARCHAR(64) NOT NULL,\n\t\ttable_name VARCHAR(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcreated_by VARCHAR(300) NOT NULL,\n\t\tparameters text NOT NULL,\n\t\tsource_file_size bigint(64) NOT NULL,\n\t\tstatus VARCHAR(64) NOT NULL,\n\t\tstep VARCHAR(64) NOT NULL,\n\t\tsummary text DEFAULT NULL,\n\t\terror_message TEXT DEFAULT NULL,\n\t\tPRIMARY KEY (id),\n\t\tKEY (created_by),\n\t\tKEY (status));"] [2024/05/06 09:30:21.404 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=87] [category=ddl] [job="ID:87, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:86, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:21.394 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:21.410 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=42] [neededSchemaVersion=43] ["start time"=583.843µs] [gotSchemaVersion=43] [phyTblIDs="[86]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:21.411 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:21.411 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=87] [version=43] [2024/05/06 09:30:21.413 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=43] ["take time"=4.046183ms] [job="ID:87, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:86, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:21.394 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:21.421 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=87] [job="ID:87, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:86, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:21.394 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:21.426 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=87] [2024/05/06 09:30:21.426 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:21.426 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=43] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tINDEX sql_index(resource_group_name,watch_text(700)) COMMENT \"accelerate the speed when select quarantined query\",\n\t\tINDEX time_index(end_time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2024/05/06 09:30:21.429 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:89, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:88, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:21.428 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:21.429 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:89, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:88, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:21.428 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tINDEX sql_index(resource_group_name,watch_text(700)) COMMENT \"accelerate the speed when select quarantined query\",\n\t\tINDEX time_index(end_time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2024/05/06 09:30:21.439 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=89] [category=ddl] [job="ID:89, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:88, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:21.428 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:21.443 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=43] [neededSchemaVersion=44] ["start time"=310.453µs] [gotSchemaVersion=44] [phyTblIDs="[88]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:21.444 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:21.444 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=89] [version=44] [2024/05/06 09:30:21.445 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=44] ["take time"=2.765282ms] [job="ID:89, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:88, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:21.428 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:21.450 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=89] [job="ID:89, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:88, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:21.428 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:21.454 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=89] [2024/05/06 09:30:21.454 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:21.454 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=44] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_queries (\n\t\tresource_group_name varchar(32) not null,\n\t\ttime TIMESTAMP NOT NULL,\n\t\tmatch_type varchar(12) NOT NULL,\n\t\taction varchar(12) NOT NULL,\n\t\toriginal_sql TEXT NOT NULL,\n\t\tplan_digest TEXT NOT NULL,\n\t\ttidb_server varchar(512),\n\t\tINDEX plan_index(plan_digest(64)) COMMENT \"accelerate the speed when select runaway query\",\n\t\tINDEX time_index(time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2024/05/06 09:30:21.457 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:91, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:90, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:21.456 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:21.457 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:91, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:90, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:21.456 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_queries (\n\t\tresource_group_name varchar(32) not null,\n\t\ttime TIMESTAMP NOT NULL,\n\t\tmatch_type varchar(12) NOT NULL,\n\t\taction varchar(12) NOT NULL,\n\t\toriginal_sql TEXT NOT NULL,\n\t\tplan_digest TEXT NOT NULL,\n\t\ttidb_server varchar(512),\n\t\tINDEX plan_index(plan_digest(64)) COMMENT \"accelerate the speed when select runaway query\",\n\t\tINDEX time_index(time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2024/05/06 09:30:21.471 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=91] [category=ddl] [job="ID:91, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:90, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:21.456 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:21.475 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=44] [neededSchemaVersion=45] ["start time"=392.279µs] [gotSchemaVersion=45] [phyTblIDs="[90]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:21.477 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:21.477 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=91] [version=45] [2024/05/06 09:30:21.477 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=45] ["take time"=2.294917ms] [job="ID:91, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:90, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:21.456 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:21.487 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=91] [job="ID:91, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:90, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:21.456 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:21.491 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=91] [2024/05/06 09:30:21.491 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:21.492 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=45] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS `mysql`.`tidb_timers` (\n\t\tID BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tNAMESPACE VARCHAR(256) NOT NULL,\n\t\tTIMER_KEY VARCHAR(256) NOT NULL,\n\t\tTIMER_DATA BLOB,\n\t\tTIMEZONE VARCHAR(64) NOT NULL,\n\t\tSCHED_POLICY_TYPE VARCHAR(32) NOT NULL,\n\t\tSCHED_POLICY_EXPR VARCHAR(256) NOT NULL,\n\t\tHOOK_CLASS VARCHAR(64) NOT NULL,\n\t\tWATERMARK TIMESTAMP DEFAULT NULL,\n\t\tENABLE TINYINT(2) NOT NULL,\n\t\tTIMER_EXT JSON NOT NULL,\n\t\tEVENT_STATUS VARCHAR(32) NOT NULL,\n\t\tEVENT_ID VARCHAR(64) NOT NULL,\n\t\tEVENT_DATA BLOB,\n\t\tEVENT_START TIMESTAMP DEFAULT NULL,\n\t\tSUMMARY_DATA BLOB,\n\t\tCREATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,\n\t\tUPDATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tVERSION BIGINT(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (ID),\n\t\tUNIQUE KEY timer_key(NAMESPACE, TIMER_KEY),\n\t\tKEY hook_class(HOOK_CLASS)\n\t)"] [user=] [2024/05/06 09:30:21.496 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:93, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:92, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:21.493 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:21.496 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:93, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:92, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:21.493 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS `mysql`.`tidb_timers` (\n\t\tID BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tNAMESPACE VARCHAR(256) NOT NULL,\n\t\tTIMER_KEY VARCHAR(256) NOT NULL,\n\t\tTIMER_DATA BLOB,\n\t\tTIMEZONE VARCHAR(64) NOT NULL,\n\t\tSCHED_POLICY_TYPE VARCHAR(32) NOT NULL,\n\t\tSCHED_POLICY_EXPR VARCHAR(256) NOT NULL,\n\t\tHOOK_CLASS VARCHAR(64) NOT NULL,\n\t\tWATERMARK TIMESTAMP DEFAULT NULL,\n\t\tENABLE TINYINT(2) NOT NULL,\n\t\tTIMER_EXT JSON NOT NULL,\n\t\tEVENT_STATUS VARCHAR(32) NOT NULL,\n\t\tEVENT_ID VARCHAR(64) NOT NULL,\n\t\tEVENT_DATA BLOB,\n\t\tEVENT_START TIMESTAMP DEFAULT NULL,\n\t\tSUMMARY_DATA BLOB,\n\t\tCREATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,\n\t\tUPDATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tVERSION BIGINT(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (ID),\n\t\tUNIQUE KEY timer_key(NAMESPACE, TIMER_KEY),\n\t\tKEY hook_class(HOOK_CLASS)\n\t)"] [2024/05/06 09:30:21.502 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=93] [category=ddl] [job="ID:93, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:92, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:21.493 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:21.506 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=45] [neededSchemaVersion=46] ["start time"=516.236µs] [gotSchemaVersion=46] [phyTblIDs="[92]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:21.507 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:21.507 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=93] [version=46] [2024/05/06 09:30:21.508 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=46] ["take time"=2.00827ms] [job="ID:93, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:21.493 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:21.513 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=93] [job="ID:93, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:21.493 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:21.521 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=93] [2024/05/06 09:30:21.521 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:21.521 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=46] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch_done (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\trecord_id BIGINT(20) not null,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tdone_time TIMESTAMP(6) NOT NULL\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2024/05/06 09:30:21.527 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:95, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:94, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:21.523 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:21.527 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:95, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:94, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:21.523 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch_done (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\trecord_id BIGINT(20) not null,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tdone_time TIMESTAMP(6) NOT NULL\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2024/05/06 09:30:21.534 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=95] [category=ddl] [job="ID:95, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:94, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:21.523 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:21.537 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=46] [neededSchemaVersion=47] ["start time"=298.423µs] [gotSchemaVersion=47] [phyTblIDs="[94]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:21.538 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:21.538 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=95] [version=47] [2024/05/06 09:30:21.539 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=47] ["take time"=2.322387ms] [job="ID:95, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:94, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:21.523 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:21.545 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=95] [job="ID:95, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:94, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:21.523 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:21.548 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=95] [2024/05/06 09:30:21.548 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:21.548 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=47] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.dist_framework_meta (\n host VARCHAR(261) NOT NULL PRIMARY KEY,\n role VARCHAR(64),\n cpu_count int default 0,\n keyspace_id bigint(8) NOT NULL DEFAULT -1\n );"] [user=] [2024/05/06 09:30:21.551 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:97, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:96, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:21.55 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:21.551 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:97, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:96, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:21.55 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.dist_framework_meta (\n host VARCHAR(261) NOT NULL PRIMARY KEY,\n role VARCHAR(64),\n cpu_count int default 0,\n keyspace_id bigint(8) NOT NULL DEFAULT -1\n );"] [2024/05/06 09:30:21.560 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=97] [category=ddl] [job="ID:97, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:96, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:21.55 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:21.564 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=47] [neededSchemaVersion=48] ["start time"=321.069µs] [gotSchemaVersion=48] [phyTblIDs="[96]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:21.565 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:21.565 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=97] [version=48] [2024/05/06 09:30:21.566 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=48] ["take time"=2.070964ms] [job="ID:97, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:96, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:21.55 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:21.573 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=97] [job="ID:97, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:96, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:21.55 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:21.580 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=97] [2024/05/06 09:30:21.580 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:21.581 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=48] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.request_unit_by_group (\n\t\tstart_time TIMESTAMP(6) NOT NULL,\n\t\tend_time TIMESTAMP(6) NOT NULL,\n\t\tresource_group VARCHAR(32) NOT null,\n\t\ttotal_ru bigint(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (start_time, end_time, resource_group),\n\t\tKEY (resource_group)\n\t);"] [user=] [2024/05/06 09:30:21.584 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:99, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:98, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:21.582 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:21.584 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:99, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:98, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:21.582 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.request_unit_by_group (\n\t\tstart_time TIMESTAMP(6) NOT NULL,\n\t\tend_time TIMESTAMP(6) NOT NULL,\n\t\tresource_group VARCHAR(32) NOT null,\n\t\ttotal_ru bigint(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (start_time, end_time, resource_group),\n\t\tKEY (resource_group)\n\t);"] [2024/05/06 09:30:21.602 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=99] [category=ddl] [job="ID:99, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:98, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:21.582 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:21.605 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=48] [neededSchemaVersion=49] ["start time"=315.501µs] [gotSchemaVersion=49] [phyTblIDs="[98]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:21.607 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:21.607 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=99] [version=49] [2024/05/06 09:30:21.607 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=49] ["take time"=2.328296ms] [job="ID:99, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:98, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:21.582 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:21.611 +00:00] [INFO] [info.go:1142] [SetTiFlashGroupConfig] [2024/05/06 09:30:21.613 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=99] [job="ID:99, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:98, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:21.582 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:21.613 +00:00] [INFO] [runaway.go:158] ["preparations for the runaway manager are finished and start runaway manager loop"] [2024/05/06 09:30:21.613 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2024/05/06 09:30:21.613 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2024/05/06 09:30:21.613 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayStartLoop] [2024/05/06 09:30:21.616 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=99] [2024/05/06 09:30:21.616 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:21.616 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=49] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS sys;"] [user=] [2024/05/06 09:30:21.619 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:101, Type:create schema, State:queueing, SchemaState:none, SchemaID:100, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:30:21.618 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:21.619 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:101, Type:create schema, State:queueing, SchemaState:none, SchemaID:100, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:30:21.618 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE DATABASE IF NOT EXISTS sys;"] [2024/05/06 09:30:21.630 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=101] [category=ddl] [job="ID:101, Type:create schema, State:queueing, SchemaState:none, SchemaID:100, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:21.618 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:21.632 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=49] [neededSchemaVersion=50] ["start time"=77.362µs] [gotSchemaVersion=50] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2024/05/06 09:30:21.633 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:21.633 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=101] [version=50] [2024/05/06 09:30:21.635 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=50] ["take time"=2.773474ms] [job="ID:101, Type:create schema, State:done, SchemaState:public, SchemaID:100, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:30:21.618 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:21.641 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=101] [job="ID:101, Type:create schema, State:synced, SchemaState:public, SchemaID:100, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:21.618 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:21.644 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=101] [2024/05/06 09:30:21.644 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:21.647 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:103, Type:create view, State:queueing, SchemaState:none, SchemaID:100, TableID:102, RowCount:0, ArgLen:3, start time: 2024-05-06 09:30:21.646 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:21.647 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:103, Type:create view, State:queueing, SchemaState:none, SchemaID:100, TableID:102, RowCount:0, ArgLen:3, start time: 2024-05-06 09:30:21.646 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE OR REPLACE VIEW sys.schema_unused_indexes AS\n\t\tSELECT\n\t\t\ttable_schema as object_schema,\n\t\t\ttable_name as object_name,\n\t\t\tindex_name\n\t\tFROM information_schema.cluster_tidb_index_usage\n\t\tWHERE\n\t\t\ttable_schema not in ('sys', 'mysql', 'INFORMATION_SCHEMA', 'PERFORMANCE_SCHEMA') and\n\t\t\tindex_name != 'PRIMARY'\n\t\tGROUP BY table_schema, table_name, index_name\n\t\tHAVING\n\t\t\tsum(last_access_time) is null;"] [2024/05/06 09:30:21.657 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=103] [category=ddl] [job="ID:103, Type:create view, State:queueing, SchemaState:none, SchemaID:100, TableID:102, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:21.646 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:21.660 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=50] [neededSchemaVersion=51] ["start time"=234.516µs] [gotSchemaVersion=51] [phyTblIDs="[102]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2024/05/06 09:30:21.669 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:21.669 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=103] [version=51] [2024/05/06 09:30:21.669 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=51] ["take time"=10.032547ms] [job="ID:103, Type:create view, State:done, SchemaState:public, SchemaID:100, TableID:102, RowCount:0, ArgLen:3, start time: 2024-05-06 09:30:21.646 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:21.686 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=103] [job="ID:103, Type:create view, State:synced, SchemaState:public, SchemaID:100, TableID:102, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:21.646 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:21.690 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=103] [2024/05/06 09:30:21.690 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:21.727 +00:00] [INFO] [bootstrap.go:745] ["bootstrap successful"] ["take time"=2.117036182s] [2024/05/06 09:30:21.727 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=ee4c71b2-8ede-450b-a1c6-ff3feaecba51] [ownerKey=/tidb/ddl/fg/owner] [2024/05/06 09:30:21.727 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/06 09:30:21.727 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 75, tp add index"] [category=ddl] ["take time"=1.448µs] [2024/05/06 09:30:21.727 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 72, tp add index"] [category=ddl] ["take time"=839ns] [2024/05/06 09:30:21.727 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 73, tp add index"] [category=ddl] ["take time"=872ns] [2024/05/06 09:30:21.727 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 74, tp add index"] [category=ddl] ["take time"=891ns] [2024/05/06 09:30:21.727 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/06 09:30:21.727 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 71, tp general"] [category=ddl] ["take time"=689ns] [2024/05/06 09:30:21.727 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/06 09:30:21.727 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2024/05/06 09:30:21.727 +00:00] [INFO] [session_pool.go:99] ["closing session pool"] [category=ddl] [2024/05/06 09:30:21.730 +00:00] [INFO] [ddl.go:951] ["DDL closed"] [category=ddl] [ID=ee4c71b2-8ede-450b-a1c6-ff3feaecba51] ["take time"=2.565743ms] [2024/05/06 09:30:21.730 +00:00] [INFO] [ddl.go:769] ["stop DDL"] [category=ddl] [ID=ee4c71b2-8ede-450b-a1c6-ff3feaecba51] [2024/05/06 09:30:21.730 +00:00] [INFO] [domain.go:683] ["topNSlowQueryLoop exited."] [2024/05/06 09:30:21.730 +00:00] [INFO] [domain.go:761] ["topologySyncerKeeper exited."] [2024/05/06 09:30:21.730 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2024/05/06 09:30:21.730 +00:00] [INFO] [domain.go:907] ["loadSchemaInLoop exited."] [2024/05/06 09:30:21.730 +00:00] [INFO] [domain.go:1361] ["closestReplicaReadCheckLoop exited."] [2024/05/06 09:30:21.730 +00:00] [INFO] [domain.go:711] ["infoSyncerKeeper exited."] [2024/05/06 09:30:21.730 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/06 09:30:21.730 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2024/05/06 09:30:21.730 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2024/05/06 09:30:21.730 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2024/05/06 09:30:21.730 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2024/05/06 09:30:21.730 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2024/05/06 09:30:21.730 +00:00] [INFO] [domain.go:737] ["globalConfigSyncerKeeper exited."] [2024/05/06 09:30:21.730 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2024/05/06 09:30:21.730 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/06 09:30:21.730 +00:00] [INFO] [domain.go:1074] ["domain closed"] ["take time"=2.795348ms] [2024/05/06 09:30:21.730 +00:00] [INFO] [tidb.go:80] ["new domain"] [store=01057151-65d6-4892-8839-5c23ec931eac] ["ddl lease"=500ms] ["stats lease"=-1ns] [2024/05/06 09:30:21.738 +00:00] [WARN] [controller.go:198] ["[resource group controller] server does not save config, load config failed"] [2024/05/06 09:30:21.738 +00:00] [INFO] [controller.go:185] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":10,\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\"}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":10,\"DegradedModeWaitDuration\":0}"] [2024/05/06 09:30:21.753 +00:00] [INFO] [domain.go:315] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=51] ["start time"=14.06573ms] [2024/05/06 09:30:21.753 +00:00] [INFO] [domain.go:635] ["full load and reset schema validator"] [2024/05/06 09:30:21.753 +00:00] [INFO] [ddl.go:818] ["start DDL"] [category=ddl] [ID=eada7745-42ca-4b4e-878e-211ca44438e2] [runWorker=true] [2024/05/06 09:30:21.754 +00:00] [INFO] [ddl.go:777] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=true] [2024/05/06 09:30:21.754 +00:00] [WARN] [env.go:51] ["initialize environment failed"] [category=ddl-ingest] ["storage limitation"="only support TiKV storage"] ["current storage"=unistore] ["lightning is initialized"=false] [2024/05/06 09:30:21.754 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2024/05/06 09:30:21.754 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=mdlCheckLoop] [2024/05/06 09:30:21.754 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2024/05/06 09:30:21.754 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2024/05/06 09:30:21.754 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/06 09:30:21.754 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayStartLoop] [2024/05/06 09:30:21.754 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/06 09:30:21.754 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2024/05/06 09:30:21.754 +00:00] [INFO] [delete_range.go:172] ["start delRange emulator"] [category=ddl] [2024/05/06 09:30:21.754 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/06 09:30:21.754 +00:00] [WARN] [domain.go:1326] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/06 09:30:21.754 +00:00] [INFO] [runaway.go:149] ["try to start runaway manager loop"] [2024/05/06 09:30:21.754 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/06 09:30:21.754 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/06 09:30:21.754 +00:00] [INFO] [job_table.go:349] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2024/05/06 09:30:21.755 +00:00] [INFO] [controller.go:447] ["[resource group controller] create resource group cost controller"] [name=default] [2024/05/06 09:30:21.757 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2024/05/06 09:30:21.758 +00:00] [WARN] [sysvar_cache.go:49] ["sysvar cache is empty, triggering rebuild"] [2024/05/06 09:30:21.775 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2024/05/06 09:30:21.778 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2024/05/06 09:30:21.780 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2024/05/06 09:30:21.780 +00:00] [INFO] [domain.go:2070] ["dumpFileGcChecker started"] [2024/05/06 09:30:21.781 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=indexUsageWorker] [2024/05/06 09:30:21.781 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=quitStatsOwner] [2024/05/06 09:30:21.782 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2024/05/06 09:30:21.782 +00:00] [INFO] [manager.go:113] ["build task executor manager"] [server-id=:4000] [total-cpu=16] [total-mem=342.3GiB] [2024/05/06 09:30:21.783 +00:00] [INFO] [task_manager.go:217] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=0] [newCount=4] [2024/05/06 09:30:21.783 +00:00] [INFO] [task_manager.go:217] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=0] [newCount=4] [2024/05/06 09:30:21.784 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2024/05/06 09:30:21.785 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=11] [schemaVersion=51] [cur_db=test] [sql="drop table if exists t0,t1"] [user=] [2024/05/06 09:30:21.787 +00:00] [INFO] [manager.go:146] ["task executor manager start"] [server-id=:4000] [2024/05/06 09:30:21.787 +00:00] [INFO] [domain.go:1525] ["dist task executor manager started"] [2024/05/06 09:30:21.789 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:104, Type:create placement policy, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:21.788 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:21.789 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:104, Type:create placement policy, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:21.788 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create placement policy p1 primary_region='r0' regions='r0'"] [2024/05/06 09:30:21.795 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 76, tp general"] [category=ddl] [jobID=104] [conn=11] [category=ddl] [job="ID:104, Type:create placement policy, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:21.788 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:21.797 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=51] [neededSchemaVersion=52] ["start time"=83.121µs] [gotSchemaVersion=52] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create placement policy\"]"] [2024/05/06 09:30:21.799 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=104] [version=52] [2024/05/06 09:30:21.800 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=52] ["take time"=2.983601ms] [job="ID:104, Type:create placement policy, State:done, SchemaState:public, SchemaID:1, TableID:0, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:21.788 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:21.805 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 76, tp general"] [category=ddl] [jobID=104] [conn=11] [job="ID:104, Type:create placement policy, State:synced, SchemaState:public, SchemaID:1, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:21.788 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:21.807 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=104] [2024/05/06 09:30:21.807 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:21.810 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:105, Type:create placement policy, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:21.809 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:21.810 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:105, Type:create placement policy, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:21.809 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create placement policy p2 primary_region='r1' regions='r1'"] [2024/05/06 09:30:21.816 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 76, tp general"] [category=ddl] [jobID=105] [conn=11] [category=ddl] [job="ID:105, Type:create placement policy, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:21.809 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:21.818 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=52] [neededSchemaVersion=53] ["start time"=86.072µs] [gotSchemaVersion=53] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create placement policy\"]"] [2024/05/06 09:30:21.819 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=105] [version=53] [2024/05/06 09:30:21.820 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=53] ["take time"=2.037089ms] [job="ID:105, Type:create placement policy, State:done, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:21.809 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:21.827 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 76, tp general"] [category=ddl] [jobID=105] [conn=11] [job="ID:105, Type:create placement policy, State:synced, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:21.809 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:21.830 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=105] [2024/05/06 09:30:21.830 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:21.833 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:106, Type:create placement policy, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:21.832 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:21.833 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:106, Type:create placement policy, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:21.832 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create placement policy p3 primary_region='r2' regions='r2'"] [2024/05/06 09:30:21.840 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 76, tp general"] [category=ddl] [jobID=106] [conn=11] [category=ddl] [job="ID:106, Type:create placement policy, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:21.832 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:21.842 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=53] [neededSchemaVersion=54] ["start time"=86.347µs] [gotSchemaVersion=54] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create placement policy\"]"] [2024/05/06 09:30:21.843 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=106] [version=54] [2024/05/06 09:30:21.844 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=54] ["take time"=2.783881ms] [job="ID:106, Type:create placement policy, State:done, SchemaState:public, SchemaID:3, TableID:0, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:21.832 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:21.848 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 76, tp general"] [category=ddl] [jobID=106] [conn=11] [job="ID:106, Type:create placement policy, State:synced, SchemaState:public, SchemaID:3, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:21.832 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:21.851 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=106] [2024/05/06 09:30:21.851 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:21.851 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=11] [schemaVersion=54] [cur_db=test] [sql="create table t0 (id int)"] [user=] [2024/05/06 09:30:21.853 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:108, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:107, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:21.852 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:21.853 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:108, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:107, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:21.852 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table t0 (id int)"] [2024/05/06 09:30:21.867 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 76, tp general"] [category=ddl] [jobID=108] [conn=11] [category=ddl] [job="ID:108, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:107, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:21.852 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:21.869 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=54] [neededSchemaVersion=55] ["start time"=169.478µs] [gotSchemaVersion=55] [phyTblIDs="[107]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:21.870 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=108] [version=55] [2024/05/06 09:30:21.872 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=55] ["take time"=2.872478ms] [job="ID:108, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:107, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:21.852 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:21.882 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 76, tp general"] [category=ddl] [jobID=108] [conn=11] [job="ID:108, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:107, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:21.852 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:21.888 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=108] [2024/05/06 09:30:21.888 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:21.889 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=11] [schemaVersion=55] [cur_db=test] [sql="create table t1 (id int) placement policy p1"] [user=] [2024/05/06 09:30:21.893 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:110, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:109, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:21.89 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:21.893 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:110, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:109, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:21.89 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table t1 (id int) placement policy p1"] [2024/05/06 09:30:21.899 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 76, tp general"] [category=ddl] [jobID=110] [conn=11] [category=ddl] [job="ID:110, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:109, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:21.89 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:21.902 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=55] [neededSchemaVersion=56] ["start time"=280.898µs] [gotSchemaVersion=56] [phyTblIDs="[109]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:21.903 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=110] [version=56] [2024/05/06 09:30:21.904 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=56] ["take time"=2.294132ms] [job="ID:110, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:109, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:21.89 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:21.914 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 76, tp general"] [category=ddl] [jobID=110] [conn=11] [job="ID:110, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:109, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:21.89 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:21.917 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=110] [2024/05/06 09:30:21.917 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:21.918 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=11] [schemaVersion=56] [cur_db=test] [sql="create table t2 (id int) placement policy p1 PARTITION BY RANGE (id) (\n PARTITION p0 VALUES LESS THAN (100) placement policy p2,\n PARTITION p1 VALUES LESS THAN (1000) placement policy p3\n\t)"] [user=] [2024/05/06 09:30:21.921 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:114, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:21.92 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:21.921 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:114, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:21.92 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table t2 (id int) placement policy p1 PARTITION BY RANGE (id) (\n PARTITION p0 VALUES LESS THAN (100) placement policy p2,\n PARTITION p1 VALUES LESS THAN (1000) placement policy p3\n\t)"] [2024/05/06 09:30:21.926 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 76, tp general"] [category=ddl] [jobID=114] [conn=11] [category=ddl] [job="ID:114, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:21.92 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:21.929 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=56] [neededSchemaVersion=57] ["start time"=784.553µs] [gotSchemaVersion=57] [phyTblIDs="[111,112,113]"] [actionTypes="[3,3,3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:21.930 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=114] [version=57] [2024/05/06 09:30:21.933 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=57] ["take time"=5.004765ms] [job="ID:114, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:21.92 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:21.938 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 76, tp general"] [category=ddl] [jobID=114] [conn=11] [job="ID:114, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:21.92 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:21.941 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=114] [2024/05/06 09:30:21.941 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:21.941 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=11] [schemaVersion=57] [cur_db=test] [sql="alter table t2 drop partition p0"] [user=] [2024/05/06 09:30:21.943 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:115, Type:drop partition, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 09:30:21.942 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:21.944 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:115, Type:drop partition, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 09:30:21.942 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t2 drop partition p0"] [2024/05/06 09:30:21.952 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 76, tp general"] [category=ddl] [jobID=115] [conn=11] [category=ddl] [job="ID:115, Type:drop partition, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:21.942 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:21.955 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=57] [neededSchemaVersion=58] ["start time"=438.01µs] [gotSchemaVersion=58] [phyTblIDs="[111,113]"] [actionTypes="[20,20]"] [diffTypes="[\"drop partition\"]"] [2024/05/06 09:30:21.956 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=115] [version=58] [2024/05/06 09:30:21.956 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=58] ["take time"=2.134724ms] [job="ID:115, Type:drop partition, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 09:30:21.942 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:21.969 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 76, tp general"] [category=ddl] [jobID=115] [conn=11] [category=ddl] [job="ID:115, Type:drop partition, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:21.942 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:21.972 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=58] [neededSchemaVersion=59] ["start time"=723.251µs] [gotSchemaVersion=59] [phyTblIDs="[111,113]"] [actionTypes="[20,20]"] [diffTypes="[\"drop partition\"]"] [2024/05/06 09:30:21.975 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=115] [version=59] [2024/05/06 09:30:21.976 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=59] ["take time"=4.612037ms] [job="ID:115, Type:drop partition, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 09:30:21.942 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:21.984 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 76, tp general"] [category=ddl] [jobID=115] [conn=11] [category=ddl] [job="ID:115, Type:drop partition, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:21.942 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:21.989 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=59] [neededSchemaVersion=60] ["start time"=532.981µs] [gotSchemaVersion=60] [phyTblIDs="[111,113]"] [actionTypes="[20,20]"] [diffTypes="[\"drop partition\"]"] [2024/05/06 09:30:21.991 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=115] [version=60] [2024/05/06 09:30:21.993 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=60] ["take time"=4.020743ms] [job="ID:115, Type:drop partition, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 09:30:21.942 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:22.001 +00:00] [INFO] [delete_range.go:447] ["insert into delete-range table"] [category=ddl] [jobID=115] [tableIDs="[112]"] [comment="drop partition: physical table ID(s)"] [2024/05/06 09:30:22.002 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=115] [jobType="drop partition"] [2024/05/06 09:30:22.002 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 76, tp general"] [category=ddl] [jobID=115] [conn=11] [job="ID:115, Type:drop partition, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 09:30:21.942 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:22.008 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=115] [2024/05/06 09:30:22.008 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:22.009 +00:00] [ERROR] [gc_worker.go:1764] ["deleteRanges is called"] [stack="github.com/pingcap/tidb/pkg/store/gcworker.(*MockGCWorker).DeleteRanges\n\tpkg/store/gcworker/gc_worker.go:1764\ngithub.com/pingcap/tidb/pkg/ddl_test.TestDropTablePartitionGCPlacement\n\tpkg/ddl/placement_policy_test.go:1518\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595"] [2024/05/06 09:30:22.011 +00:00] [INFO] [gc_worker.go:822] ["start delete ranges"] [category="gc worker"] [uuid=63d34f5aee40001] [ranges=1] [2024/05/06 09:30:22.013 +00:00] [INFO] [gc_worker.go:1550] ["try delete TiFlash pd rule"] [tableID=112] [endKey="t\ufffd\u0000\u0000\u0000\u0000\u0000\u0000q"] [safePoint=9223372036854775807] [2024/05/06 09:30:22.013 +00:00] [INFO] [info.go:1164] [DeleteTiFlashPlacementRule] [ruleID=table-112-r] [2024/05/06 09:30:22.014 +00:00] [INFO] [gc_worker.go:875] ["finish delete ranges"] [category="gc worker"] [uuid=63d34f5aee40001] ["num of ranges"=1] ["cost time"=2.87836ms] [2024/05/06 09:30:22.014 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=11] [schemaVersion=60] [cur_db=test] [sql="drop table if exists t2"] [user=] [2024/05/06 09:30:22.016 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:116, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:22.015 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:22.016 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:116, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:22.015 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="drop table if exists t2"] [2024/05/06 09:30:22.021 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 76, tp general"] [category=ddl] [jobID=116] [conn=11] [category=ddl] [job="ID:116, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:22.015 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:22.024 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=60] [neededSchemaVersion=61] ["start time"=57.71µs] [gotSchemaVersion=61] [phyTblIDs="[111,113]"] [actionTypes="[4,4]"] [diffTypes="[\"drop table\"]"] [2024/05/06 09:30:22.026 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=116] [version=61] [2024/05/06 09:30:22.026 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=61] ["take time"=2.40992ms] [job="ID:116, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:22.015 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:22.031 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 76, tp general"] [category=ddl] [jobID=116] [conn=11] [category=ddl] [job="ID:116, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:22.015 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:22.034 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=61] [neededSchemaVersion=62] ["start time"=52.206µs] [gotSchemaVersion=62] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/06 09:30:22.035 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=116] [version=62] [2024/05/06 09:30:22.036 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=62] ["take time"=2.788007ms] [job="ID:116, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:22.015 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:22.041 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 76, tp general"] [category=ddl] [jobID=116] [conn=11] [category=ddl] [job="ID:116, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:22.015 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:22.044 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=62] [neededSchemaVersion=63] ["start time"=57.833µs] [gotSchemaVersion=63] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/06 09:30:22.045 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=116] [version=63] [2024/05/06 09:30:22.046 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=63] ["take time"=2.502362ms] [job="ID:116, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 09:30:22.015 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:22.050 +00:00] [INFO] [delete_range.go:447] ["insert into delete-range table"] [category=ddl] [jobID=116] [tableIDs="[113]"] [comment="drop table: partition table IDs"] [2024/05/06 09:30:22.051 +00:00] [INFO] [delete_range.go:447] ["insert into delete-range table"] [category=ddl] [jobID=116] [tableIDs="[111]"] [comment="drop table: table ID"] [2024/05/06 09:30:22.054 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=116] [jobType="drop table"] [2024/05/06 09:30:22.055 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 76, tp general"] [category=ddl] [jobID=116] [conn=11] [job="ID:116, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 09:30:22.015 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:22.060 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=116] [2024/05/06 09:30:22.060 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:22.060 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=11] [schemaVersion=63] [cur_db=test] [sql="drop table if exists t1"] [user=] [2024/05/06 09:30:22.062 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:117, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:109, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:22.061 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:22.062 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:117, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:109, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:22.061 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="drop table if exists t1"] [2024/05/06 09:30:22.068 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 76, tp general"] [category=ddl] [jobID=117] [conn=11] [category=ddl] [job="ID:117, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:109, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:22.061 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:22.070 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=63] [neededSchemaVersion=64] ["start time"=60.058µs] [gotSchemaVersion=64] [phyTblIDs="[109]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2024/05/06 09:30:22.071 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=117] [version=64] [2024/05/06 09:30:22.072 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=64] ["take time"=2.434906ms] [job="ID:117, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:109, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:22.061 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:22.076 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 76, tp general"] [category=ddl] [jobID=117] [conn=11] [category=ddl] [job="ID:117, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:109, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:22.061 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:22.078 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=64] [neededSchemaVersion=65] ["start time"=49.065µs] [gotSchemaVersion=65] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/06 09:30:22.080 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=117] [version=65] [2024/05/06 09:30:22.081 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=65] ["take time"=2.825918ms] [job="ID:117, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:109, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:22.061 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:22.086 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 76, tp general"] [category=ddl] [jobID=117] [conn=11] [category=ddl] [job="ID:117, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:109, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:22.061 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:22.089 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=65] [neededSchemaVersion=66] ["start time"=48.176µs] [gotSchemaVersion=66] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/06 09:30:22.090 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=117] [version=66] [2024/05/06 09:30:22.091 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=66] ["take time"=2.947588ms] [job="ID:117, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:109, RowCount:0, ArgLen:3, start time: 2024-05-06 09:30:22.061 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:22.096 +00:00] [INFO] [delete_range.go:447] ["insert into delete-range table"] [category=ddl] [jobID=117] [tableIDs="[109]"] [comment="drop table: table ID"] [2024/05/06 09:30:22.097 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=117] [jobType="drop table"] [2024/05/06 09:30:22.098 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 76, tp general"] [category=ddl] [jobID=117] [conn=11] [job="ID:117, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:109, RowCount:0, ArgLen:3, start time: 2024-05-06 09:30:22.061 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:22.103 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=117] [2024/05/06 09:30:22.103 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:22.105 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=11] [schemaVersion=66] [cur_db=test] [sql="drop table if exists t0"] [user=] [2024/05/06 09:30:22.107 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:118, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:107, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:22.106 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:22.108 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:118, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:107, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:22.106 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="drop table if exists t0"] [2024/05/06 09:30:22.113 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 76, tp general"] [category=ddl] [jobID=118] [conn=11] [category=ddl] [job="ID:118, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:107, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:22.106 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:22.116 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=66] [neededSchemaVersion=67] ["start time"=51.361µs] [gotSchemaVersion=67] [phyTblIDs="[107]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2024/05/06 09:30:22.117 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=118] [version=67] [2024/05/06 09:30:22.118 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=67] ["take time"=2.082072ms] [job="ID:118, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:107, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:22.106 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:22.127 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 76, tp general"] [category=ddl] [jobID=118] [conn=11] [category=ddl] [job="ID:118, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:107, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:22.106 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:22.130 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=67] [neededSchemaVersion=68] ["start time"=49.493µs] [gotSchemaVersion=68] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/06 09:30:22.131 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=118] [version=68] [2024/05/06 09:30:22.132 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=68] ["take time"=2.557732ms] [job="ID:118, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:107, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:22.106 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:22.137 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 76, tp general"] [category=ddl] [jobID=118] [conn=11] [category=ddl] [job="ID:118, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:107, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:22.106 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:22.139 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=68] [neededSchemaVersion=69] ["start time"=47.327µs] [gotSchemaVersion=69] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/06 09:30:22.143 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=118] [version=69] [2024/05/06 09:30:22.143 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=69] ["take time"=4.192602ms] [job="ID:118, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:107, RowCount:0, ArgLen:3, start time: 2024-05-06 09:30:22.106 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:22.148 +00:00] [INFO] [delete_range.go:447] ["insert into delete-range table"] [category=ddl] [jobID=118] [tableIDs="[107]"] [comment="drop table: table ID"] [2024/05/06 09:30:22.149 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=118] [jobType="drop table"] [2024/05/06 09:30:22.150 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 76, tp general"] [category=ddl] [jobID=118] [conn=11] [job="ID:118, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:107, RowCount:0, ArgLen:3, start time: 2024-05-06 09:30:22.106 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:22.155 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=118] [2024/05/06 09:30:22.155 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:22.157 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:119, Type:drop placement policy, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:30:22.156 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:22.157 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:119, Type:drop placement policy, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:30:22.156 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="drop placement policy if exists p2"] [2024/05/06 09:30:22.164 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 76, tp general"] [category=ddl] [jobID=119] [conn=11] [category=ddl] [job="ID:119, Type:drop placement policy, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:22.156 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:22.166 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=69] [neededSchemaVersion=70] ["start time"=41.734µs] [gotSchemaVersion=70] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop placement policy\"]"] [2024/05/06 09:30:22.167 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=119] [version=70] [2024/05/06 09:30:22.168 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=70] ["take time"=2.197016ms] [job="ID:119, Type:drop placement policy, State:running, SchemaState:write only, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:22.156 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:22.175 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 76, tp general"] [category=ddl] [jobID=119] [conn=11] [category=ddl] [job="ID:119, Type:drop placement policy, State:running, SchemaState:write only, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:22.156 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:22.177 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=70] [neededSchemaVersion=71] ["start time"=31.887µs] [gotSchemaVersion=71] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop placement policy\"]"] [2024/05/06 09:30:22.178 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=119] [version=71] [2024/05/06 09:30:22.179 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=71] ["take time"=2.143571ms] [job="ID:119, Type:drop placement policy, State:running, SchemaState:delete only, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:22.156 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:22.187 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 76, tp general"] [category=ddl] [jobID=119] [conn=11] [category=ddl] [job="ID:119, Type:drop placement policy, State:running, SchemaState:delete only, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:22.156 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:22.189 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=71] [neededSchemaVersion=72] ["start time"=38.553µs] [gotSchemaVersion=72] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop placement policy\"]"] [2024/05/06 09:30:22.191 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=119] [version=72] [2024/05/06 09:30:22.192 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=72] ["take time"=2.83929ms] [job="ID:119, Type:drop placement policy, State:done, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:22.156 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:22.201 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 76, tp general"] [category=ddl] [jobID=119] [conn=11] [job="ID:119, Type:drop placement policy, State:synced, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:22.156 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:22.204 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=119] [2024/05/06 09:30:22.204 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:22.208 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:120, Type:drop placement policy, State:queueing, SchemaState:none, SchemaID:1, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:30:22.206 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:22.208 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:120, Type:drop placement policy, State:queueing, SchemaState:none, SchemaID:1, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:30:22.206 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="drop placement policy if exists p1"] [2024/05/06 09:30:22.220 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 76, tp general"] [category=ddl] [jobID=120] [conn=11] [category=ddl] [job="ID:120, Type:drop placement policy, State:queueing, SchemaState:none, SchemaID:1, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:22.206 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:22.222 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=72] [neededSchemaVersion=73] ["start time"=34.839µs] [gotSchemaVersion=73] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop placement policy\"]"] [2024/05/06 09:30:22.223 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=120] [version=73] [2024/05/06 09:30:22.224 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=73] ["take time"=2.318104ms] [job="ID:120, Type:drop placement policy, State:running, SchemaState:write only, SchemaID:1, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:22.206 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:22.231 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 76, tp general"] [category=ddl] [jobID=120] [conn=11] [category=ddl] [job="ID:120, Type:drop placement policy, State:running, SchemaState:write only, SchemaID:1, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:22.206 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:22.234 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=73] [neededSchemaVersion=74] ["start time"=44.222µs] [gotSchemaVersion=74] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop placement policy\"]"] [2024/05/06 09:30:22.235 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=120] [version=74] [2024/05/06 09:30:22.236 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=74] ["take time"=3.05942ms] [job="ID:120, Type:drop placement policy, State:running, SchemaState:delete only, SchemaID:1, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:22.206 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:22.241 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 76, tp general"] [category=ddl] [jobID=120] [conn=11] [category=ddl] [job="ID:120, Type:drop placement policy, State:running, SchemaState:delete only, SchemaID:1, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:22.206 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:22.245 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=74] [neededSchemaVersion=75] ["start time"=40.73µs] [gotSchemaVersion=75] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop placement policy\"]"] [2024/05/06 09:30:22.246 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=120] [version=75] [2024/05/06 09:30:22.247 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=75] ["take time"=2.069961ms] [job="ID:120, Type:drop placement policy, State:done, SchemaState:none, SchemaID:1, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:22.206 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:22.251 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 76, tp general"] [category=ddl] [jobID=120] [conn=11] [job="ID:120, Type:drop placement policy, State:synced, SchemaState:none, SchemaID:1, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:22.206 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:22.254 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=120] [2024/05/06 09:30:22.254 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:22.257 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=eada7745-42ca-4b4e-878e-211ca44438e2] [ownerKey=/tidb/ddl/fg/owner] [2024/05/06 09:30:22.257 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/06 09:30:22.257 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 78, tp add index"] [category=ddl] ["take time"=2.044µs] [2024/05/06 09:30:22.258 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 79, tp add index"] [category=ddl] ["take time"=1.461µs] [2024/05/06 09:30:22.258 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 80, tp add index"] [category=ddl] ["take time"=1.187µs] [2024/05/06 09:30:22.258 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 77, tp add index"] [category=ddl] ["take time"=1.283µs] [2024/05/06 09:30:22.258 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/06 09:30:22.258 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 76, tp general"] [category=ddl] ["take time"=1.141µs] [2024/05/06 09:30:22.258 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/06 09:30:22.258 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2024/05/06 09:30:22.258 +00:00] [INFO] [session_pool.go:99] ["closing session pool"] [category=ddl] [2024/05/06 09:30:22.259 +00:00] [INFO] [ddl.go:951] ["DDL closed"] [category=ddl] [ID=eada7745-42ca-4b4e-878e-211ca44438e2] ["take time"=5.0754ms] [2024/05/06 09:30:22.259 +00:00] [INFO] [ddl.go:769] ["stop DDL"] [category=ddl] [ID=eada7745-42ca-4b4e-878e-211ca44438e2] [2024/05/06 09:30:22.259 +00:00] [INFO] [domain.go:1026] ["stopping ttlJobManager"] [2024/05/06 09:30:22.259 +00:00] [INFO] [task_manager.go:194] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=4] [newCount=0] [2024/05/06 09:30:22.259 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/06 09:30:22.259 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/06 09:30:22.259 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/06 09:30:22.259 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/06 09:30:22.259 +00:00] [INFO] [task_manager.go:194] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=4] [newCount=0] [2024/05/06 09:30:22.259 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/06 09:30:22.259 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/06 09:30:22.259 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/06 09:30:22.259 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/06 09:30:22.260 +00:00] [INFO] [job_manager.go:174] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [2024/05/06 09:30:22.260 +00:00] [INFO] [domain.go:1037] ["ttlJobManager exited."] [2024/05/06 09:30:22.260 +00:00] [INFO] [manager.go:280] ["recoverMetaLoop done"] [server-id=:4000] [2024/05/06 09:30:22.260 +00:00] [INFO] [stats_syncload.go:202] ["SubLoadWorker exited."] [2024/05/06 09:30:22.260 +00:00] [INFO] [domain.go:2352] ["indexUsageWorker exited."] [2024/05/06 09:30:22.260 +00:00] [INFO] [domain.go:2074] ["dumpFileGcChecker exited."] [2024/05/06 09:30:22.260 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2024/05/06 09:30:22.260 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=indexUsageWorker] [2024/05/06 09:30:22.260 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2024/05/06 09:30:22.260 +00:00] [INFO] [domain.go:907] ["loadSchemaInLoop exited."] [2024/05/06 09:30:22.260 +00:00] [INFO] [domain.go:1750] ["LoadSysVarCacheLoop exited."] [2024/05/06 09:30:22.260 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2024/05/06 09:30:22.260 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2024/05/06 09:30:22.260 +00:00] [INFO] [domain.go:1527] ["stopping dist task executor manager"] [2024/05/06 09:30:22.260 +00:00] [INFO] [domain.go:1700] ["loadPrivilegeInLoop exited."] [2024/05/06 09:30:22.260 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2024/05/06 09:30:22.260 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2024/05/06 09:30:22.260 +00:00] [INFO] [stats_syncload.go:202] ["SubLoadWorker exited."] [2024/05/06 09:30:22.260 +00:00] [INFO] [stats_syncload.go:202] ["SubLoadWorker exited."] [2024/05/06 09:30:22.260 +00:00] [INFO] [stats_syncload.go:202] ["SubLoadWorker exited."] [2024/05/06 09:30:22.260 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=eada7745-42ca-4b4e-878e-211ca44438e2] [ownerKey=/tidb/bindinfo/owner] [2024/05/06 09:30:22.260 +00:00] [INFO] [domain.go:1889] ["globalBindHandleWorkerLoop exited."] [2024/05/06 09:30:22.260 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2024/05/06 09:30:22.260 +00:00] [INFO] [stats_syncload.go:202] ["SubLoadWorker exited."] [2024/05/06 09:30:22.260 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayStartLoop] [2024/05/06 09:30:22.260 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=eada7745-42ca-4b4e-878e-211ca44438e2] [ownerKey=/tidb/stats/owner] [2024/05/06 09:30:22.260 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=quitStatsOwner] [2024/05/06 09:30:22.260 +00:00] [INFO] [domain.go:737] ["globalConfigSyncerKeeper exited."] [2024/05/06 09:30:22.260 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/06 09:30:22.260 +00:00] [INFO] [domain.go:683] ["topNSlowQueryLoop exited."] [2024/05/06 09:30:22.260 +00:00] [INFO] [domain.go:1361] ["closestReplicaReadCheckLoop exited."] [2024/05/06 09:30:22.260 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2024/05/06 09:30:22.260 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/06 09:30:22.260 +00:00] [INFO] [manager.go:179] ["handle tasks loop done"] [server-id=:4000] [2024/05/06 09:30:22.260 +00:00] [INFO] [domain.go:1529] ["dist task executor manager stopped"] [2024/05/06 09:30:22.260 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2024/05/06 09:30:22.260 +00:00] [INFO] [domain.go:761] ["topologySyncerKeeper exited."] [2024/05/06 09:30:22.260 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2024/05/06 09:30:22.261 +00:00] [INFO] [domain.go:711] ["infoSyncerKeeper exited."] [2024/05/06 09:30:22.261 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2024/05/06 09:30:22.261 +00:00] [INFO] [domain.go:1074] ["domain closed"] ["take time"=6.994547ms] [2024/05/06 09:30:22.266 +00:00] [INFO] [db.go:567] ["Closing database"] [2024/05/06 09:30:22.266 +00:00] [INFO] [db.go:592] ["Memtable flushed"] [2024/05/06 09:30:22.266 +00:00] [INFO] [db.go:596] ["Compaction finished"] [2024/05/06 09:30:22.266 +00:00] [INFO] [db.go:615] ["BlobManager finished"] [2024/05/06 09:30:22.266 +00:00] [INFO] [db.go:619] ["ResourceManager finished"] [2024/05/06 09:30:22.266 +00:00] [INFO] [db.go:625] ["Waiting for closer"] --- PASS: TestDropTablePartitionGCPlacement (2.69s) === RUN TestSkipSchemaChecker [2024/05/06 09:30:22.308 +00:00] [INFO] [store_cache.go:510] ["change store resolve state"] [store=1] [addr=store1] [from=unresolved] [to=resolved] [liveness-state=reachable] [2024/05/06 09:30:22.308 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 09:30:22.308 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 09:30:22.309 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 09:30:22.309 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 09:30:22.310 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 09:30:22.311 +00:00] [INFO] [tidb.go:80] ["new domain"] [store=6dbb9eff-9116-48db-865d-d3fb15f154f8] ["ddl lease"=600ms] ["stats lease"=-1ns] [2024/05/06 09:30:22.318 +00:00] [WARN] [controller.go:198] ["[resource group controller] server does not save config, load config failed"] [2024/05/06 09:30:22.318 +00:00] [INFO] [controller.go:185] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":10,\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\"}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":10,\"DegradedModeWaitDuration\":0}"] [2024/05/06 09:30:22.318 +00:00] [WARN] [domain.go:245] ["failed to get schema version"] [error="There is no Write MVCC info for the schema version"] [errorVerbose="There is no Write MVCC info for the schema version\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:335\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:242\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:606\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init\n\tpkg/domain/domain.go:1260\ngithub.com/pingcap/tidb/pkg/session.(*domainMap).Get.func1\n\tpkg/session/tidb.go:92\ngithub.com/pingcap/tidb/pkg/util.RunWithRetry\n\tpkg/util/misc.go:70\ngithub.com/pingcap/tidb/pkg/session.(*domainMap).Get\n\tpkg/session/tidb.go:79\ngithub.com/pingcap/tidb/pkg/session.createSessionWithOpt\n\tpkg/session/session.go:3620\ngithub.com/pingcap/tidb/pkg/session.createSession\n\tpkg/session/session.go:3612\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3562\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3346\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3312\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:294\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomainWithSchemaLease\n\tpkg/testkit/mockstore.go:319\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreWithSchemaLease\n\tpkg/testkit/mockstore.go:311\ngithub.com/pingcap/tidb/pkg/ddl_test.TestSkipSchemaChecker\n\tpkg/ddl/tiflash_replica_test.go:252\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=0] [2024/05/06 09:30:22.321 +00:00] [INFO] [domain.go:315] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=0] ["start time"=2.844587ms] [2024/05/06 09:30:22.321 +00:00] [INFO] [domain.go:635] ["full load and reset schema validator"] [2024/05/06 09:30:22.321 +00:00] [INFO] [ddl.go:818] ["start DDL"] [category=ddl] [ID=49fa6c3a-70f2-4906-954b-52c933897b32] [runWorker=true] [2024/05/06 09:30:22.322 +00:00] [INFO] [ddl.go:777] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=true] [2024/05/06 09:30:22.322 +00:00] [WARN] [env.go:51] ["initialize environment failed"] [category=ddl-ingest] ["storage limitation"="only support TiKV storage"] ["current storage"=unistore] ["lightning is initialized"=false] [2024/05/06 09:30:22.322 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2024/05/06 09:30:22.322 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=mdlCheckLoop] [2024/05/06 09:30:22.322 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2024/05/06 09:30:22.322 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2024/05/06 09:30:22.322 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/06 09:30:22.322 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayStartLoop] [2024/05/06 09:30:22.322 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/06 09:30:22.322 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2024/05/06 09:30:22.322 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/06 09:30:22.322 +00:00] [INFO] [delete_range.go:172] ["start delRange emulator"] [category=ddl] [2024/05/06 09:30:22.322 +00:00] [WARN] [domain.go:1326] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/06 09:30:22.322 +00:00] [INFO] [runaway.go:149] ["try to start runaway manager loop"] [2024/05/06 09:30:22.322 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/06 09:30:22.322 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/06 09:30:22.323 +00:00] [INFO] [job_table.go:349] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2024/05/06 09:30:22.323 +00:00] [INFO] [controller.go:447] ["[resource group controller] create resource group cost controller"] [name=default] [2024/05/06 09:30:22.323 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=0] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS test"] [user=] [2024/05/06 09:30:22.326 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:30:22.325 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:22.326 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:30:22.325 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE DATABASE IF NOT EXISTS test"] [2024/05/06 09:30:22.331 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=3] [category=ddl] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:22.325 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:22.336 +00:00] [INFO] [domain.go:315] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=1] ["start time"=2.780687ms] [2024/05/06 09:30:22.336 +00:00] [INFO] [domain.go:635] ["full load and reset schema validator"] [2024/05/06 09:30:22.337 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:22.337 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=3] [version=1] [2024/05/06 09:30:22.339 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=1] ["take time"=6.103189ms] [job="ID:3, Type:create schema, State:done, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:30:22.325 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:22.344 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=3] [job="ID:3, Type:create schema, State:synced, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:22.325 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:22.347 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=3] [2024/05/06 09:30:22.347 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:22.347 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS `mysql`"] [user=] [2024/05/06 09:30:22.348 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.user (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tauthentication_string\tTEXT,\n\t\tplugin\t\t\t\t\tCHAR(64),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tProcess_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_db_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tSuper_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_user_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_slave_priv\t \tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_client_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_role_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_role_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAccount_locked\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShutdown_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReload_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tFILE_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tConfig_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_reuse_history smallint unsigned DEFAULT NULL,\n\t\tPassword_reuse_time smallint unsigned DEFAULT NULL,\n\t\tUser_attributes\t\t\tjson,\n\t\tToken_issuer\t\t\tVARCHAR(255),\n\t\tPassword_expired\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_last_changed\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP(),\n\t\tPassword_lifetime\t\tSMALLINT UNSIGNED DEFAULT NULL,\n\t\tPRIMARY KEY (Host, User));"] [user=] [2024/05/06 09:30:22.354 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:22.349 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:22.354 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:22.349 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.user (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tauthentication_string\tTEXT,\n\t\tplugin\t\t\t\t\tCHAR(64),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tProcess_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_db_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tSuper_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_user_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_slave_priv\t \tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_client_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_role_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_role_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAccount_locked\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShutdown_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReload_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tFILE_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tConfig_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_reuse_history smallint unsigned DEFAULT NULL,\n\t\tPassword_reuse_time smallint unsigned DEFAULT NULL,\n\t\tUser_attributes\t\t\tjson,\n\t\tToken_issuer\t\t\tVARCHAR(255),\n\t\tPassword_expired\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_last_changed\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP(),\n\t\tPassword_lifetime\t\tSMALLINT UNSIGNED DEFAULT NULL,\n\t\tPRIMARY KEY (Host, User));"] [2024/05/06 09:30:22.369 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=5] [category=ddl] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:22.349 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:22.378 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=1] [neededSchemaVersion=2] ["start time"=1.031696ms] [gotSchemaVersion=2] [phyTblIDs="[4]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:22.379 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:22.379 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=5] [version=2] [2024/05/06 09:30:22.381 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=2] ["take time"=4.194565ms] [job="ID:5, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:22.349 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:22.387 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=5] [job="ID:5, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:22.349 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:22.393 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=5] [2024/05/06 09:30:22.393 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:22.394 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=2] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.password_history (\n Host char(255) NOT NULL DEFAULT '',\n User char(32) NOT NULL DEFAULT '',\n Password_timestamp timestamp(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n Password text,\n PRIMARY KEY (Host,User,Password_timestamp )\n ) COMMENT='Password history for user accounts' "] [user=] [2024/05/06 09:30:22.398 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:22.396 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:22.398 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:22.396 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.password_history (\n Host char(255) NOT NULL DEFAULT '',\n User char(32) NOT NULL DEFAULT '',\n Password_timestamp timestamp(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n Password text,\n PRIMARY KEY (Host,User,Password_timestamp )\n ) COMMENT='Password history for user accounts' "] [2024/05/06 09:30:22.407 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=7] [category=ddl] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:22.396 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:22.409 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=2] [neededSchemaVersion=3] ["start time"=224.59µs] [gotSchemaVersion=3] [phyTblIDs="[6]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:22.410 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:22.410 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=7] [version=3] [2024/05/06 09:30:22.412 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=3] ["take time"=3.07654ms] [job="ID:7, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:22.396 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:22.416 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=7] [job="ID:7, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:22.396 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:22.419 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=7] [2024/05/06 09:30:22.419 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:22.420 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=3] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.global_priv (Host CHAR(255) NOT NULL DEFAULT '',User CHAR(80) NOT NULL DEFAULT '',Priv LONGTEXT NOT NULL DEFAULT '',PRIMARY KEY (Host, User))"] [user=] [2024/05/06 09:30:22.422 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:22.421 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:22.422 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:22.421 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.global_priv (Host CHAR(255) NOT NULL DEFAULT '',User CHAR(80) NOT NULL DEFAULT '',Priv LONGTEXT NOT NULL DEFAULT '',PRIMARY KEY (Host, User))"] [2024/05/06 09:30:22.429 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=9] [category=ddl] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:22.421 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:22.432 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=3] [neededSchemaVersion=4] ["start time"=238.065µs] [gotSchemaVersion=4] [phyTblIDs="[8]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:22.433 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:22.433 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=9] [version=4] [2024/05/06 09:30:22.433 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=4] ["take time"=2.015568ms] [job="ID:9, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:22.421 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:22.437 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=9] [job="ID:9, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:22.421 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:22.440 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=9] [2024/05/06 09:30:22.440 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:22.440 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=4] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.db (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tDB\t\t\t\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv \t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (Host, DB, User));"] [user=] [2024/05/06 09:30:22.444 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:22.442 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:22.444 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:22.442 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.db (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tDB\t\t\t\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv \t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (Host, DB, User));"] [2024/05/06 09:30:22.449 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=11] [category=ddl] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:22.442 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:22.454 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=4] [neededSchemaVersion=5] ["start time"=671.223µs] [gotSchemaVersion=5] [phyTblIDs="[10]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:22.456 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:22.456 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=11] [version=5] [2024/05/06 09:30:22.460 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=5] ["take time"=6.283223ms] [job="ID:11, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:22.442 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:22.468 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=11] [job="ID:11, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:22.442 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:22.474 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=11] [2024/05/06 09:30:22.474 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:22.474 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=5] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tables_priv (\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tGrantor\t\tCHAR(77),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tTable_priv\tSET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'),\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name));"] [user=] [2024/05/06 09:30:22.478 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:22.476 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:22.478 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:22.476 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tables_priv (\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tGrantor\t\tCHAR(77),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tTable_priv\tSET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'),\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name));"] [2024/05/06 09:30:22.486 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=13] [category=ddl] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:22.476 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:22.491 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=5] [neededSchemaVersion=6] ["start time"=358.1µs] [gotSchemaVersion=6] [phyTblIDs="[12]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:22.492 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:22.492 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=13] [version=6] [2024/05/06 09:30:22.492 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=6] ["take time"=2.133946ms] [job="ID:13, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:22.476 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:22.498 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=13] [job="ID:13, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:22.476 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:22.502 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=13] [2024/05/06 09:30:22.502 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:22.503 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=6] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.columns_priv(\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tColumn_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name, Column_name));"] [user=] [2024/05/06 09:30:22.506 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:22.504 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:22.506 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:22.504 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.columns_priv(\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tColumn_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name, Column_name));"] [2024/05/06 09:30:22.514 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=15] [category=ddl] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:22.504 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:22.517 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=7] ["start time"=324.38µs] [gotSchemaVersion=7] [phyTblIDs="[14]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:22.518 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:22.518 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=15] [version=7] [2024/05/06 09:30:22.520 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=7] ["take time"=2.983444ms] [job="ID:15, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:22.504 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:22.525 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=15] [job="ID:15, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:22.504 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:22.529 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=15] [2024/05/06 09:30:22.529 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:22.530 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=7] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.GLOBAL_VARIABLES(\n\t\tVARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE VARCHAR(16383) DEFAULT NULL);"] [user=] [2024/05/06 09:30:22.532 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:22.531 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:22.532 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:22.531 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.GLOBAL_VARIABLES(\n\t\tVARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE VARCHAR(16383) DEFAULT NULL);"] [2024/05/06 09:30:22.540 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=17] [category=ddl] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:22.531 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:22.543 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=7] [neededSchemaVersion=8] ["start time"=265.651µs] [gotSchemaVersion=8] [phyTblIDs="[16]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:22.545 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:22.545 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=17] [version=8] [2024/05/06 09:30:22.545 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=8] ["take time"=2.206808ms] [job="ID:17, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:22.531 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:22.551 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=17] [job="ID:17, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:22.531 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:22.555 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=17] [2024/05/06 09:30:22.555 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:22.555 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=8] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb(\n\t\tVARIABLE_NAME \tVARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE \tVARCHAR(1024) DEFAULT NULL,\n\t\tCOMMENT \t\tVARCHAR(1024));"] [user=] [2024/05/06 09:30:22.558 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:22.556 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:22.558 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:22.556 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb(\n\t\tVARIABLE_NAME \tVARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE \tVARCHAR(1024) DEFAULT NULL,\n\t\tCOMMENT \t\tVARCHAR(1024));"] [2024/05/06 09:30:22.573 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=19] [category=ddl] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:22.556 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:22.577 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=8] [neededSchemaVersion=9] ["start time"=314.371µs] [gotSchemaVersion=9] [phyTblIDs="[18]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:22.578 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:22.578 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=19] [version=9] [2024/05/06 09:30:22.578 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=9] ["take time"=2.129934ms] [job="ID:19, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:22.556 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:22.586 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=19] [job="ID:19, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:22.556 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:22.591 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=19] [2024/05/06 09:30:22.591 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:22.591 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=9] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.help_topic (\n \t\thelp_topic_id \t\tINT(10) UNSIGNED NOT NULL,\n \t\tname \t\t\t\tCHAR(64) NOT NULL,\n \t\thelp_category_id \tSMALLINT(5) UNSIGNED NOT NULL,\n \t\tdescription \t\tTEXT NOT NULL,\n \t\texample \t\t\tTEXT NOT NULL,\n \t\turl \t\t\t\tTEXT NOT NULL,\n \t\tPRIMARY KEY (help_topic_id) clustered,\n \t\tUNIQUE KEY name (name)\n\t\t) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] [user=] [2024/05/06 09:30:22.595 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:22.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:22.595 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:22.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.help_topic (\n \t\thelp_topic_id \t\tINT(10) UNSIGNED NOT NULL,\n \t\tname \t\t\t\tCHAR(64) NOT NULL,\n \t\thelp_category_id \tSMALLINT(5) UNSIGNED NOT NULL,\n \t\tdescription \t\tTEXT NOT NULL,\n \t\texample \t\t\tTEXT NOT NULL,\n \t\turl \t\t\t\tTEXT NOT NULL,\n \t\tPRIMARY KEY (help_topic_id) clustered,\n \t\tUNIQUE KEY name (name)\n\t\t) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] [2024/05/06 09:30:22.601 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=21] [category=ddl] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:22.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:22.605 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=9] [neededSchemaVersion=10] ["start time"=350.931µs] [gotSchemaVersion=10] [phyTblIDs="[20]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:22.606 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:22.606 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=21] [version=10] [2024/05/06 09:30:22.607 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=10] ["take time"=2.392545ms] [job="ID:21, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:22.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:22.615 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=21] [job="ID:21, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:22.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:22.618 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=21] [2024/05/06 09:30:22.618 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:22.619 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=10] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_meta (\n\t\tversion \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\ttable_id \t\tBIGINT(64) NOT NULL,\n\t\tmodify_count\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcount \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tsnapshot BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tINDEX idx_ver(version),\n\t\tUNIQUE INDEX tbl(table_id)\n\t);"] [user=] [2024/05/06 09:30:22.622 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:22.62 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:22.622 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:22.62 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_meta (\n\t\tversion \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\ttable_id \t\tBIGINT(64) NOT NULL,\n\t\tmodify_count\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcount \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tsnapshot BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tINDEX idx_ver(version),\n\t\tUNIQUE INDEX tbl(table_id)\n\t);"] [2024/05/06 09:30:22.629 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=23] [category=ddl] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:22.62 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:22.633 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=10] [neededSchemaVersion=11] ["start time"=321.878µs] [gotSchemaVersion=11] [phyTblIDs="[22]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:22.634 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:22.634 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=23] [version=11] [2024/05/06 09:30:22.635 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=11] ["take time"=2.63361ms] [job="ID:23, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:22.62 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:22.648 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=23] [job="ID:23, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:22.62 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:22.651 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=23] [2024/05/06 09:30:22.651 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:22.652 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=11] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_histograms (\n\t\ttable_id \t\t\tBIGINT(64) NOT NULL,\n\t\tis_index \t\t\tTINYINT(2) NOT NULL,\n\t\thist_id \t\t\tBIGINT(64) NOT NULL,\n\t\tdistinct_count \t\tBIGINT(64) NOT NULL,\n\t\tnull_count \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\ttot_col_size \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tmodify_count \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tversion \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tcm_sketch \t\t\tBLOB(6291456),\n\t\tstats_ver \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tflag \t\t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcorrelation \t\tDOUBLE NOT NULL DEFAULT 0,\n\t\tlast_analyze_pos \tLONGBLOB DEFAULT NULL,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] [2024/05/06 09:30:22.652 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(6291456) to MEDIUMBLOB"] [category=ddl] [2024/05/06 09:30:22.656 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:22.654 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:22.656 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:22.654 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_histograms (\n\t\ttable_id \t\t\tBIGINT(64) NOT NULL,\n\t\tis_index \t\t\tTINYINT(2) NOT NULL,\n\t\thist_id \t\t\tBIGINT(64) NOT NULL,\n\t\tdistinct_count \t\tBIGINT(64) NOT NULL,\n\t\tnull_count \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\ttot_col_size \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tmodify_count \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tversion \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tcm_sketch \t\t\tBLOB(6291456),\n\t\tstats_ver \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tflag \t\t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcorrelation \t\tDOUBLE NOT NULL DEFAULT 0,\n\t\tlast_analyze_pos \tLONGBLOB DEFAULT NULL,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id)\n\t);"] [2024/05/06 09:30:22.665 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=25] [category=ddl] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:22.654 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:22.670 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=11] [neededSchemaVersion=12] ["start time"=512.026µs] [gotSchemaVersion=12] [phyTblIDs="[24]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:22.672 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:22.672 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=25] [version=12] [2024/05/06 09:30:22.675 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=12] ["take time"=5.428025ms] [job="ID:25, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:22.654 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:22.687 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=25] [job="ID:25, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:22.654 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:22.692 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=25] [2024/05/06 09:30:22.692 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:22.693 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=12] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_buckets (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tbucket_id \tBIGINT(64) NOT NULL,\n\t\tcount \t\tBIGINT(64) NOT NULL,\n\t\trepeats \tBIGINT(64) NOT NULL,\n\t\tupper_bound LONGBLOB NOT NULL,\n\t\tlower_bound LONGBLOB ,\n\t\tndv BIGINT NOT NULL DEFAULT 0,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id)\n\t);"] [user=] [2024/05/06 09:30:22.699 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:22.695 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:22.699 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:22.695 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_buckets (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tbucket_id \tBIGINT(64) NOT NULL,\n\t\tcount \t\tBIGINT(64) NOT NULL,\n\t\trepeats \tBIGINT(64) NOT NULL,\n\t\tupper_bound LONGBLOB NOT NULL,\n\t\tlower_bound LONGBLOB ,\n\t\tndv BIGINT NOT NULL DEFAULT 0,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id)\n\t);"] [2024/05/06 09:30:22.705 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=27] [category=ddl] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:22.695 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:22.713 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=12] [neededSchemaVersion=13] ["start time"=375.316µs] [gotSchemaVersion=13] [phyTblIDs="[26]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:22.714 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:22.714 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=27] [version=13] [2024/05/06 09:30:22.715 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=13] ["take time"=2.356518ms] [job="ID:27, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:22.695 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:22.733 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=27] [job="ID:27, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:22.695 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:22.737 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=27] [2024/05/06 09:30:22.737 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:22.738 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=13] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_index (job_id, element_id)\n\t);"] [user=] [2024/05/06 09:30:22.741 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:22.739 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:22.741 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:22.739 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_index (job_id, element_id)\n\t);"] [2024/05/06 09:30:22.748 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=29] [category=ddl] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:22.739 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:22.751 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=13] [neededSchemaVersion=14] ["start time"=331.995µs] [gotSchemaVersion=14] [phyTblIDs="[28]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:22.753 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:22.753 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=29] [version=14] [2024/05/06 09:30:22.753 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=14] ["take time"=2.431635ms] [job="ID:29, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:22.739 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:22.760 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=29] [job="ID:29, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:22.739 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:22.766 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=29] [2024/05/06 09:30:22.766 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:22.766 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=14] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_done_index (job_id, element_id)\n\t);"] [user=] [2024/05/06 09:30:22.769 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:22.768 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:22.769 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:22.768 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_done_index (job_id, element_id)\n\t);"] [2024/05/06 09:30:22.775 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=31] [category=ddl] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:22.768 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:22.779 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=14] [neededSchemaVersion=15] ["start time"=256.844µs] [gotSchemaVersion=15] [phyTblIDs="[30]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:22.780 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:22.780 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=31] [version=15] [2024/05/06 09:30:22.780 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=15] ["take time"=2.051227ms] [job="ID:31, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:22.768 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:22.785 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=31] [job="ID:31, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:22.768 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:22.789 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=31] [2024/05/06 09:30:22.789 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:22.789 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=15] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_feedback (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tfeedback \tBLOB NOT NULL,\n\t\tINDEX hist(table_id, is_index, hist_id)\n\t);"] [user=] [2024/05/06 09:30:22.792 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:22.791 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:22.792 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:22.791 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_feedback (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tfeedback \tBLOB NOT NULL,\n\t\tINDEX hist(table_id, is_index, hist_id)\n\t);"] [2024/05/06 09:30:22.800 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=33] [category=ddl] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:22.791 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:22.804 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=15] [neededSchemaVersion=16] ["start time"=296.395µs] [gotSchemaVersion=16] [phyTblIDs="[32]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:22.805 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:22.805 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=33] [version=16] [2024/05/06 09:30:22.806 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=16] ["take time"=3.005311ms] [job="ID:33, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:22.791 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:22.811 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=33] [job="ID:33, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:22.791 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:22.815 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=33] [2024/05/06 09:30:22.815 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:22.815 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=16] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.role_edges (\n\t\tFROM_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tFROM_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tWITH_ADMIN_OPTION \tENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER)\n\t);"] [user=] [2024/05/06 09:30:22.818 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:22.817 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:22.818 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:22.817 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.role_edges (\n\t\tFROM_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tFROM_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tWITH_ADMIN_OPTION \tENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER)\n\t);"] [2024/05/06 09:30:22.826 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=35] [category=ddl] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:22.817 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:22.829 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=16] [neededSchemaVersion=17] ["start time"=236.903µs] [gotSchemaVersion=17] [phyTblIDs="[34]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:22.830 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:22.830 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=35] [version=17] [2024/05/06 09:30:22.831 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=17] ["take time"=2.219108ms] [job="ID:35, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:22.817 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:22.836 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=35] [job="ID:35, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:22.817 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:22.839 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=35] [2024/05/06 09:30:22.839 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:22.839 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=17] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.default_roles (\n\t\tHOST \t\t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tUSER \t\t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tDEFAULT_ROLE_HOST \tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%',\n\t\tDEFAULT_ROLE_USER \tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tPRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER)\n\t)"] [user=] [2024/05/06 09:30:22.842 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:22.84 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:22.842 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:22.84 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.default_roles (\n\t\tHOST \t\t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tUSER \t\t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tDEFAULT_ROLE_HOST \tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%',\n\t\tDEFAULT_ROLE_USER \tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tPRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER)\n\t)"] [2024/05/06 09:30:22.849 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=37] [category=ddl] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:22.84 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:22.851 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=18] ["start time"=210.684µs] [gotSchemaVersion=18] [phyTblIDs="[36]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:22.852 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:22.852 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=37] [version=18] [2024/05/06 09:30:22.854 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=18] ["take time"=2.50624ms] [job="ID:37, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:22.84 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:22.859 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=37] [job="ID:37, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:22.84 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:22.863 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=37] [2024/05/06 09:30:22.863 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:22.863 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=18] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql TEXT NOT NULL,\n\t\tbind_sql TEXT NOT NULL,\n\t\tdefault_db TEXT NOT NULL,\n\t\tstatus TEXT NOT NULL,\n\t\tcreate_time TIMESTAMP(3) NOT NULL,\n\t\tupdate_time TIMESTAMP(3) NOT NULL,\n\t\tcharset TEXT NOT NULL,\n\t\tcollation TEXT NOT NULL,\n\t\tsource VARCHAR(10) NOT NULL DEFAULT 'unknown',\n\t\tsql_digest varchar(64),\n\t\tplan_digest varchar(64),\n\t\tINDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\",\n\t\tINDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2024/05/06 09:30:22.867 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:22.864 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:22.867 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:22.864 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql TEXT NOT NULL,\n\t\tbind_sql TEXT NOT NULL,\n\t\tdefault_db TEXT NOT NULL,\n\t\tstatus TEXT NOT NULL,\n\t\tcreate_time TIMESTAMP(3) NOT NULL,\n\t\tupdate_time TIMESTAMP(3) NOT NULL,\n\t\tcharset TEXT NOT NULL,\n\t\tcollation TEXT NOT NULL,\n\t\tsource VARCHAR(10) NOT NULL DEFAULT 'unknown',\n\t\tsql_digest varchar(64),\n\t\tplan_digest varchar(64),\n\t\tINDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\",\n\t\tINDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2024/05/06 09:30:22.876 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=39] [category=ddl] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:22.864 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:22.883 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=18] [neededSchemaVersion=19] ["start time"=572.749µs] [gotSchemaVersion=19] [phyTblIDs="[38]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:22.885 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:22.885 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=39] [version=19] [2024/05/06 09:30:22.886 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=19] ["take time"=4.436361ms] [job="ID:39, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:22.864 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:22.894 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=39] [job="ID:39, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:22.864 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:22.901 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=39] [2024/05/06 09:30:22.901 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:22.903 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=19] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_top_n (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tcount \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] [2024/05/06 09:30:22.906 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:22.905 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:22.906 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:22.905 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_top_n (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tcount \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [2024/05/06 09:30:22.914 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=41] [category=ddl] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:22.905 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:22.918 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=19] [neededSchemaVersion=20] ["start time"=355.378µs] [gotSchemaVersion=20] [phyTblIDs="[40]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:22.919 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:22.920 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=41] [version=20] [2024/05/06 09:30:22.921 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=20] ["take time"=3.094166ms] [job="ID:41, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:22.905 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:22.926 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=41] [job="ID:41, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:22.905 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:22.930 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=41] [2024/05/06 09:30:22.930 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:22.930 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=20] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.expr_pushdown_blacklist (\n\t\tname \t\tCHAR(100) NOT NULL,\n\t\tstore_type \tCHAR(100) NOT NULL DEFAULT 'tikv,tiflash,tidb',\n\t\treason \t\tVARCHAR(200)\n\t);"] [user=] [2024/05/06 09:30:22.933 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:22.932 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:22.933 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:22.932 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.expr_pushdown_blacklist (\n\t\tname \t\tCHAR(100) NOT NULL,\n\t\tstore_type \tCHAR(100) NOT NULL DEFAULT 'tikv,tiflash,tidb',\n\t\treason \t\tVARCHAR(200)\n\t);"] [2024/05/06 09:30:22.943 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=43] [category=ddl] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:22.932 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:22.946 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=20] [neededSchemaVersion=21] ["start time"=225.524µs] [gotSchemaVersion=21] [phyTblIDs="[42]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:22.947 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:22.947 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=43] [version=21] [2024/05/06 09:30:22.948 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=21] ["take time"=2.72383ms] [job="ID:43, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:22.932 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:22.952 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=43] [job="ID:43, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:22.932 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:22.956 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=43] [2024/05/06 09:30:22.956 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:22.956 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=21] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] [user=] [2024/05/06 09:30:22.959 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:22.958 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:22.959 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:22.958 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] [2024/05/06 09:30:22.970 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=45] [category=ddl] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:22.958 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:22.973 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=21] [neededSchemaVersion=22] ["start time"=186.065µs] [gotSchemaVersion=22] [phyTblIDs="[44]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:22.974 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:22.974 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=45] [version=22] [2024/05/06 09:30:22.983 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=22] ["take time"=10.706905ms] [job="ID:45, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:22.958 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:22.990 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=45] [job="ID:45, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:22.958 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:22.994 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=45] [2024/05/06 09:30:22.994 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:22.994 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=22] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_extended (\n\t\tname varchar(32) NOT NULL,\n\t\ttype tinyint(4) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcolumn_ids varchar(32) NOT NULL,\n\t\tstats blob DEFAULT NULL,\n\t\tversion bigint(64) unsigned NOT NULL,\n\t\tstatus tinyint(4) NOT NULL,\n\t\tPRIMARY KEY(name, table_id),\n\t\tKEY idx_1 (table_id, status, version),\n\t\tKEY idx_2 (status, version)\n\t);"] [user=] [2024/05/06 09:30:23.002 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:23 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:23.002 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:23 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_extended (\n\t\tname varchar(32) NOT NULL,\n\t\ttype tinyint(4) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcolumn_ids varchar(32) NOT NULL,\n\t\tstats blob DEFAULT NULL,\n\t\tversion bigint(64) unsigned NOT NULL,\n\t\tstatus tinyint(4) NOT NULL,\n\t\tPRIMARY KEY(name, table_id),\n\t\tKEY idx_1 (table_id, status, version),\n\t\tKEY idx_2 (status, version)\n\t);"] [2024/05/06 09:30:23.008 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=47] [category=ddl] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:23 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:23.012 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=22] [neededSchemaVersion=23] ["start time"=287.773µs] [gotSchemaVersion=23] [phyTblIDs="[46]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:23.013 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:23.013 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=47] [version=23] [2024/05/06 09:30:23.015 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=23] ["take time"=3.023367ms] [job="ID:47, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:23 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:23.021 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=47] [job="ID:47, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:23 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:23.024 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=47] [2024/05/06 09:30:23.024 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:23.025 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=23] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] [2024/05/06 09:30:23.027 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:23.026 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:23.027 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:23.026 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [2024/05/06 09:30:23.036 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=49] [category=ddl] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:23.026 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:23.039 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=23] [neededSchemaVersion=24] ["start time"=288.333µs] [gotSchemaVersion=24] [phyTblIDs="[48]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:23.040 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:23.040 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=49] [version=24] [2024/05/06 09:30:23.041 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=24] ["take time"=2.83075ms] [job="ID:49, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:23.026 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:23.048 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=49] [job="ID:49, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:23.026 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:23.052 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=49] [2024/05/06 09:30:23.052 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:23.052 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=24] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.global_grants (\n\t\tUSER char(32) NOT NULL DEFAULT '',\n\t\tHOST char(255) NOT NULL DEFAULT '',\n\t\tPRIV char(32) NOT NULL DEFAULT '',\n\t\tWITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (USER,HOST,PRIV)\n\t);"] [user=] [2024/05/06 09:30:23.056 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:23.054 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:23.056 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:23.054 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.global_grants (\n\t\tUSER char(32) NOT NULL DEFAULT '',\n\t\tHOST char(255) NOT NULL DEFAULT '',\n\t\tPRIV char(32) NOT NULL DEFAULT '',\n\t\tWITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (USER,HOST,PRIV)\n\t);"] [2024/05/06 09:30:23.072 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=51] [category=ddl] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:23.054 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:23.076 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=24] [neededSchemaVersion=25] ["start time"=298.747µs] [gotSchemaVersion=25] [phyTblIDs="[50]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:23.077 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:23.077 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=51] [version=25] [2024/05/06 09:30:23.078 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=25] ["take time"=2.01643ms] [job="ID:51, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:23.054 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:23.087 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=51] [job="ID:51, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:23.054 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:23.091 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=51] [2024/05/06 09:30:23.092 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:23.092 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=25] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist (\n\t\tid bigint(64) auto_increment,\n\t\tfilter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\",\n\t\tfilter_value varchar(32) NOT NULL,\n\t\tkey idx(filter_type),\n\t\tprimary key(id)\n\t);"] [user=] [2024/05/06 09:30:23.095 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:23.093 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:23.095 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:23.093 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist (\n\t\tid bigint(64) auto_increment,\n\t\tfilter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\",\n\t\tfilter_value varchar(32) NOT NULL,\n\t\tkey idx(filter_type),\n\t\tprimary key(id)\n\t);"] [2024/05/06 09:30:23.101 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=53] [category=ddl] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:23.093 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:23.105 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=25] [neededSchemaVersion=26] ["start time"=185.253µs] [gotSchemaVersion=26] [phyTblIDs="[52]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:23.106 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:23.106 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=53] [version=26] [2024/05/06 09:30:23.106 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=26] ["take time"=2.066691ms] [job="ID:53, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:23.093 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:23.112 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=53] [job="ID:53, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:23.093 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:23.116 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=53] [2024/05/06 09:30:23.116 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:23.117 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=26] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.column_stats_usage (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tcolumn_id BIGINT(64) NOT NULL,\n\t\tlast_used_at TIMESTAMP,\n\t\tlast_analyzed_at TIMESTAMP,\n\t\tPRIMARY KEY (table_id, column_id) CLUSTERED\n\t);"] [user=] [2024/05/06 09:30:23.121 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:23.12 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:23.121 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:23.12 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.column_stats_usage (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tcolumn_id BIGINT(64) NOT NULL,\n\t\tlast_used_at TIMESTAMP,\n\t\tlast_analyzed_at TIMESTAMP,\n\t\tPRIMARY KEY (table_id, column_id) CLUSTERED\n\t);"] [2024/05/06 09:30:23.127 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=55] [category=ddl] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:23.12 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:23.130 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=26] [neededSchemaVersion=27] ["start time"=297.829µs] [gotSchemaVersion=27] [phyTblIDs="[54]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:23.132 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:23.132 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=55] [version=27] [2024/05/06 09:30:23.132 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=27] ["take time"=2.057388ms] [job="ID:55, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:23.12 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:23.137 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=55] [job="ID:55, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:23.12 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:23.141 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=55] [2024/05/06 09:30:23.141 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:23.142 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=27] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.table_cache_meta (\n\t\ttid bigint(11) NOT NULL DEFAULT 0,\n\t\tlock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE',\n\t\tlease bigint(20) NOT NULL DEFAULT 0,\n\t\toldReadLease bigint(20) NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (tid)\n\t);"] [user=] [2024/05/06 09:30:23.144 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:23.143 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:23.144 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:23.143 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.table_cache_meta (\n\t\ttid bigint(11) NOT NULL DEFAULT 0,\n\t\tlock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE',\n\t\tlease bigint(20) NOT NULL DEFAULT 0,\n\t\toldReadLease bigint(20) NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (tid)\n\t);"] [2024/05/06 09:30:23.152 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=57] [category=ddl] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:23.143 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:23.155 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=27] [neededSchemaVersion=28] ["start time"=256.211µs] [gotSchemaVersion=28] [phyTblIDs="[56]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:23.158 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:23.158 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=57] [version=28] [2024/05/06 09:30:23.160 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=28] ["take time"=4.736236ms] [job="ID:57, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:23.143 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:23.168 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=57] [job="ID:57, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:23.143 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:23.172 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=57] [2024/05/06 09:30:23.172 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:23.172 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=28] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_options (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tsample_num BIGINT(64) NOT NULL DEFAULT 0,\n\t\tsample_rate DOUBLE NOT NULL DEFAULT -1,\n\t\tbuckets BIGINT(64) NOT NULL DEFAULT 0,\n\t\ttopn BIGINT(64) NOT NULL DEFAULT -1,\n\t\tcolumn_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT',\n\t\tcolumn_ids TEXT(19372),\n\t\tPRIMARY KEY (table_id) CLUSTERED\n\t);"] [user=] [2024/05/06 09:30:23.174 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(19372) to MEDIUMBLOB"] [category=ddl] [2024/05/06 09:30:23.187 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:23.176 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:23.188 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:23.176 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.analyze_options (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tsample_num BIGINT(64) NOT NULL DEFAULT 0,\n\t\tsample_rate DOUBLE NOT NULL DEFAULT -1,\n\t\tbuckets BIGINT(64) NOT NULL DEFAULT 0,\n\t\ttopn BIGINT(64) NOT NULL DEFAULT -1,\n\t\tcolumn_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT',\n\t\tcolumn_ids TEXT(19372),\n\t\tPRIMARY KEY (table_id) CLUSTERED\n\t);"] [2024/05/06 09:30:23.195 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=59] [category=ddl] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:23.176 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:23.201 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=28] [neededSchemaVersion=29] ["start time"=354.822µs] [gotSchemaVersion=29] [phyTblIDs="[58]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:23.203 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:23.203 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=59] [version=29] [2024/05/06 09:30:23.205 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=29] ["take time"=4.702009ms] [job="ID:59, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:23.176 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:23.211 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=59] [job="ID:59, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:23.176 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:23.225 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=59] [2024/05/06 09:30:23.225 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:23.226 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=29] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tstats_data longblob NOT NULL,\n\t\tseq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice',\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version_seq (table_id, version, seq_no),\n\t\tKEY table_create_time (table_id, create_time, seq_no),\n \tKEY idx_create_time (create_time)\n\t);"] [user=] [2024/05/06 09:30:23.229 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:23.227 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:23.229 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:23.227 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tstats_data longblob NOT NULL,\n\t\tseq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice',\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version_seq (table_id, version, seq_no),\n\t\tKEY table_create_time (table_id, create_time, seq_no),\n \tKEY idx_create_time (create_time)\n\t);"] [2024/05/06 09:30:23.236 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=61] [category=ddl] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:23.227 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:23.240 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=29] [neededSchemaVersion=30] ["start time"=334.782µs] [gotSchemaVersion=30] [phyTblIDs="[60]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:23.241 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:23.241 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=61] [version=30] [2024/05/06 09:30:23.241 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=30] ["take time"=2.01325ms] [job="ID:61, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:23.227 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:23.248 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=61] [job="ID:61, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:23.227 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:23.252 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=61] [2024/05/06 09:30:23.252 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:23.253 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=30] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_meta_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL,\n\t\tcount bigint(64) NOT NULL,\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n \tsource varchar(40) NOT NULL,\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version (table_id, version),\n\t\tKEY table_create_time (table_id, create_time),\n \tKEY idx_create_time (create_time)\n\t);"] [user=] [2024/05/06 09:30:23.258 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:23.256 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:23.258 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:23.256 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_meta_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL,\n\t\tcount bigint(64) NOT NULL,\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n \tsource varchar(40) NOT NULL,\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version (table_id, version),\n\t\tKEY table_create_time (table_id, create_time),\n \tKEY idx_create_time (create_time)\n\t);"] [2024/05/06 09:30:23.265 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=63] [category=ddl] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:23.256 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:23.269 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=30] [neededSchemaVersion=31] ["start time"=278.134µs] [gotSchemaVersion=31] [phyTblIDs="[62]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:23.270 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:23.270 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=63] [version=31] [2024/05/06 09:30:23.271 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=31] ["take time"=2.528464ms] [job="ID:63, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:23.256 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:23.281 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=63] [job="ID:63, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:23.256 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:23.287 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=63] [2024/05/06 09:30:23.287 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:23.287 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=31] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_jobs (\n\t\tid BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\ttable_schema CHAR(64) NOT NULL DEFAULT '',\n\t\ttable_name CHAR(64) NOT NULL DEFAULT '',\n\t\tpartition_name CHAR(64) NOT NULL DEFAULT '',\n\t\tjob_info TEXT NOT NULL,\n\t\tprocessed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tstart_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tstate ENUM('pending', 'running', 'finished', 'failed') NOT NULL,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job',\n\t\tprocess_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job',\n\t\tPRIMARY KEY (id),\n\t\tKEY (update_time)\n\t);"] [user=] [2024/05/06 09:30:23.291 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:23.289 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:23.291 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:23.289 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.analyze_jobs (\n\t\tid BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\ttable_schema CHAR(64) NOT NULL DEFAULT '',\n\t\ttable_name CHAR(64) NOT NULL DEFAULT '',\n\t\tpartition_name CHAR(64) NOT NULL DEFAULT '',\n\t\tjob_info TEXT NOT NULL,\n\t\tprocessed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tstart_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tstate ENUM('pending', 'running', 'finished', 'failed') NOT NULL,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job',\n\t\tprocess_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job',\n\t\tPRIMARY KEY (id),\n\t\tKEY (update_time)\n\t);"] [2024/05/06 09:30:23.303 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=65] [category=ddl] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:23.289 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:23.312 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=31] [neededSchemaVersion=32] ["start time"=485.744µs] [gotSchemaVersion=32] [phyTblIDs="[64]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:23.314 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:23.314 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=65] [version=32] [2024/05/06 09:30:23.317 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=32] ["take time"=4.715727ms] [job="ID:65, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:23.289 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:23.325 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=65] [job="ID:65, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:23.289 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:23.331 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=65] [2024/05/06 09:30:23.331 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:23.331 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=32] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] [user=] [2024/05/06 09:30:23.337 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:23.332 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:23.337 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:23.332 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] [2024/05/06 09:30:23.339 +00:00] [WARN] [runaway.go:166] ["failed to start runaway manager loop, please check whether the bootstrap or update is finished"] [error="[schema:1146]Table 'mysql.tidb_runaway_watch' doesn't exist"] [errorVerbose="[schema:1146]Table 'mysql.tidb_runaway_watch' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:141\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:67\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2089\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternalStmt\n\tpkg/session/session.go:1993\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL.func1\n\tpkg/session/session.go:1958\ngithub.com/pingcap/tidb/pkg/session.(*session).withRestrictedSQLExecutor\n\tpkg/session/session.go:1944\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL\n\tpkg/session/session.go:1948\ngithub.com/pingcap/tidb/pkg/domain.(*SystemTableReader).Read\n\tpkg/domain/runaway.go:655\ngithub.com/pingcap/tidb/pkg/domain.getRunawayWatchRecord\n\tpkg/domain/runaway.go:543\ngithub.com/pingcap/tidb/pkg/domain.(*runawaySyncer).getWatchRecord\n\tpkg/domain/runaway.go:526\ngithub.com/pingcap/tidb/pkg/domain.(*runawaySyncer).getNewWatchRecords\n\tpkg/domain/runaway.go:509\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).updateNewAndDoneWatch\n\tpkg/domain/runaway.go:177\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).runawayStartLoop\n\tpkg/domain/runaway.go:156\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:99\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [2024/05/06 09:30:23.344 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=67] [category=ddl] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:23.332 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:23.347 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=215.937µs] [gotSchemaVersion=33] [phyTblIDs="[66]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:23.348 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:23.348 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=67] [version=33] [2024/05/06 09:30:23.349 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=33] ["take time"=2.215568ms] [job="ID:67, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:23.332 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:23.358 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=67] [job="ID:67, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:23.332 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:23.362 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=67] [2024/05/06 09:30:23.362 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:23.368 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2024-05-06 09:30:23.365 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:23.368 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2024-05-06 09:30:23.365 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE OR REPLACE VIEW mysql.tidb_mdl_view as (\n\t\tSELECT tidb_mdl_info.job_id,\n\t\t\tJSON_UNQUOTE(JSON_EXTRACT(cast(cast(job_meta as char) as json), \"$.schema_name\")) as db_name,\n\t\t\tJSON_UNQUOTE(JSON_EXTRACT(cast(cast(job_meta as char) as json), \"$.table_name\")) as table_name,\n\t\t\tJSON_UNQUOTE(JSON_EXTRACT(cast(cast(job_meta as char) as json), \"$.query\")) as query,\n\t\t\tsession_id,\n\t\t\tcluster_tidb_trx.start_time,\n\t\t\ttidb_decode_sql_digests(all_sql_digests, 4096) AS SQL_DIGESTS\n\t\tFROM mysql.tidb_ddl_job,\n\t\t\tmysql.tidb_mdl_info,\n\t\t\tinformation_schema.cluster_tidb_trx\n\t\tWHERE tidb_ddl_job.job_id=tidb_mdl_info.job_id\n\t\t\tAND CONCAT(',', tidb_mdl_info.table_ids, ',') REGEXP CONCAT(',', REPLACE(cluster_tidb_trx.related_table_ids, ',', '|'), ',') != 0\n\t);"] [2024/05/06 09:30:23.376 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=69] [category=ddl] [job="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:23.365 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:23.381 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=33] [neededSchemaVersion=34] ["start time"=316.159µs] [gotSchemaVersion=34] [phyTblIDs="[68]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2024/05/06 09:30:23.382 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:23.382 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=69] [version=34] [2024/05/06 09:30:23.382 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=34] ["take time"=2.01588ms] [job="ID:69, Type:create view, State:done, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2024-05-06 09:30:23.365 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:23.391 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=69] [job="ID:69, Type:create view, State:synced, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:23.365 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:23.397 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=69] [2024/05/06 09:30:23.397 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:23.397 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=34] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_status (\n\t\tsql_digest VARCHAR(128),\n\t\tplan_digest VARCHAR(128),\n\t\torigin_sql TEXT,\n\t\ttoken VARCHAR(128),\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the plan replayer job');"] [user=] [2024/05/06 09:30:23.400 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:23.399 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:23.401 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:23.399 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_status (\n\t\tsql_digest VARCHAR(128),\n\t\tplan_digest VARCHAR(128),\n\t\torigin_sql TEXT,\n\t\ttoken VARCHAR(128),\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the plan replayer job');"] [2024/05/06 09:30:23.408 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=71] [category=ddl] [job="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:23.399 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:23.415 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=34] [neededSchemaVersion=35] ["start time"=329.013µs] [gotSchemaVersion=35] [phyTblIDs="[70]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:23.416 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:23.416 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=71] [version=35] [2024/05/06 09:30:23.424 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=35] ["take time"=10.275726ms] [job="ID:71, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:23.399 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:23.439 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=71] [job="ID:71, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:23.399 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:23.442 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=71] [2024/05/06 09:30:23.442 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:23.443 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=35] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_task (\n\t\tsql_digest VARCHAR(128) NOT NULL,\n\t\tplan_digest VARCHAR(128) NOT NULL,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tPRIMARY KEY (sql_digest,plan_digest));"] [user=] [2024/05/06 09:30:23.445 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:23.444 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:23.445 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:23.444 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_task (\n\t\tsql_digest VARCHAR(128) NOT NULL,\n\t\tplan_digest VARCHAR(128) NOT NULL,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tPRIMARY KEY (sql_digest,plan_digest));"] [2024/05/06 09:30:23.455 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=73] [category=ddl] [job="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:23.444 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:23.459 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=35] [neededSchemaVersion=36] ["start time"=267.587µs] [gotSchemaVersion=36] [phyTblIDs="[72]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:23.460 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:23.460 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=73] [version=36] [2024/05/06 09:30:23.461 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=36] ["take time"=2.585756ms] [job="ID:73, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:23.444 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:23.465 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=73] [job="ID:73, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:23.444 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:23.468 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=73] [2024/05/06 09:30:23.468 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:23.469 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=36] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_table_locked(\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL DEFAULT 0,\n\t\tcount bigint(64) NOT NULL DEFAULT 0,\n\t\tversion bigint(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (table_id));"] [user=] [2024/05/06 09:30:23.471 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:23.47 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:23.472 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:23.47 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_table_locked(\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL DEFAULT 0,\n\t\tcount bigint(64) NOT NULL DEFAULT 0,\n\t\tversion bigint(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (table_id));"] [2024/05/06 09:30:23.479 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=75] [category=ddl] [job="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:23.47 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:23.482 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=36] [neededSchemaVersion=37] ["start time"=234.112µs] [gotSchemaVersion=37] [phyTblIDs="[74]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:23.483 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:23.483 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=75] [version=37] [2024/05/06 09:30:23.484 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=37] ["take time"=2.032478ms] [job="ID:75, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:23.47 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:23.488 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=75] [job="ID:75, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:23.47 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:23.491 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=75] [2024/05/06 09:30:23.492 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:23.492 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=37] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_table_status (\n\t\ttable_id bigint(64) PRIMARY KEY,\n parent_table_id bigint(64),\n table_statistics text DEFAULT NULL,\n\t\tlast_job_id varchar(64) DEFAULT NULL,\n\t\tlast_job_start_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_finish_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_ttl_expire timestamp NULL DEFAULT NULL,\n last_job_summary text DEFAULT NULL,\n\t\tcurrent_job_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_addr varchar(256) DEFAULT NULL,\n\t\tcurrent_job_owner_hb_time timestamp,\n\t\tcurrent_job_start_time timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_ttl_expire timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_state text DEFAULT NULL,\n\t\tcurrent_job_status varchar(64) DEFAULT NULL,\n \t\tcurrent_job_status_update_time timestamp NULL DEFAULT NULL);"] [user=] [2024/05/06 09:30:23.496 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:23.494 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:23.496 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:23.494 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_table_status (\n\t\ttable_id bigint(64) PRIMARY KEY,\n parent_table_id bigint(64),\n table_statistics text DEFAULT NULL,\n\t\tlast_job_id varchar(64) DEFAULT NULL,\n\t\tlast_job_start_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_finish_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_ttl_expire timestamp NULL DEFAULT NULL,\n last_job_summary text DEFAULT NULL,\n\t\tcurrent_job_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_addr varchar(256) DEFAULT NULL,\n\t\tcurrent_job_owner_hb_time timestamp,\n\t\tcurrent_job_start_time timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_ttl_expire timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_state text DEFAULT NULL,\n\t\tcurrent_job_status varchar(64) DEFAULT NULL,\n \t\tcurrent_job_status_update_time timestamp NULL DEFAULT NULL);"] [2024/05/06 09:30:23.505 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=77] [category=ddl] [job="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:23.494 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:23.511 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=37] [neededSchemaVersion=38] ["start time"=514.955µs] [gotSchemaVersion=38] [phyTblIDs="[76]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:23.512 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:23.512 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=77] [version=38] [2024/05/06 09:30:23.515 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=38] ["take time"=4.475498ms] [job="ID:77, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:23.494 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:23.520 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=77] [job="ID:77, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:23.494 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:23.525 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=77] [2024/05/06 09:30:23.525 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:23.526 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=38] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_task (\n\t\tjob_id varchar(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tscan_id int NOT NULL,\n\t\tscan_range_start BLOB,\n\t\tscan_range_end BLOB,\n\t\texpire_time timestamp NOT NULL,\n\t\towner_id varchar(64) DEFAULT NULL,\n\t\towner_addr varchar(64) DEFAULT NULL,\n\t\towner_hb_time timestamp DEFAULT NULL,\n\t\tstatus varchar(64) DEFAULT 'waiting',\n\t\tstatus_update_time timestamp NULL DEFAULT NULL,\n\t\tstate text,\n\t\tcreated_time timestamp NOT NULL,\n\t\tprimary key(job_id, scan_id),\n\t\tkey(created_time));"] [user=] [2024/05/06 09:30:23.529 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:23.527 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:23.529 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:23.527 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_task (\n\t\tjob_id varchar(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tscan_id int NOT NULL,\n\t\tscan_range_start BLOB,\n\t\tscan_range_end BLOB,\n\t\texpire_time timestamp NOT NULL,\n\t\towner_id varchar(64) DEFAULT NULL,\n\t\towner_addr varchar(64) DEFAULT NULL,\n\t\towner_hb_time timestamp DEFAULT NULL,\n\t\tstatus varchar(64) DEFAULT 'waiting',\n\t\tstatus_update_time timestamp NULL DEFAULT NULL,\n\t\tstate text,\n\t\tcreated_time timestamp NOT NULL,\n\t\tprimary key(job_id, scan_id),\n\t\tkey(created_time));"] [2024/05/06 09:30:23.540 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=79] [category=ddl] [job="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:23.527 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:23.544 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=38] [neededSchemaVersion=39] ["start time"=350.206µs] [gotSchemaVersion=39] [phyTblIDs="[78]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:23.545 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:23.545 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=79] [version=39] [2024/05/06 09:30:23.546 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=39] ["take time"=2.39349ms] [job="ID:79, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:23.527 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:23.552 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=79] [job="ID:79, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:23.527 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:23.557 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=79] [2024/05/06 09:30:23.557 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:23.558 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=39] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_job_history (\n\t\tjob_id varchar(64) PRIMARY KEY,\n\t\ttable_id bigint(64) NOT NULL,\n parent_table_id bigint(64) NOT NULL,\n \ttable_schema varchar(64) NOT NULL,\n\t\ttable_name varchar(64) NOT NULL,\n \tpartition_name varchar(64) DEFAULT NULL,\n\t\tcreate_time timestamp NOT NULL,\n\t\tfinish_time timestamp NOT NULL,\n\t\tttl_expire timestamp NOT NULL,\n summary_text text,\n\t\texpired_rows bigint(64) DEFAULT NULL,\n \tdeleted_rows bigint(64) DEFAULT NULL,\n \terror_delete_rows bigint(64) DEFAULT NULL,\n \tstatus varchar(64) NOT NULL,\n \tkey(table_schema, table_name, create_time),\n \tkey(parent_table_id, create_time),\n \tkey(create_time)\n\t);"] [user=] [2024/05/06 09:30:23.562 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:23.56 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:23.562 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:23.56 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_job_history (\n\t\tjob_id varchar(64) PRIMARY KEY,\n\t\ttable_id bigint(64) NOT NULL,\n parent_table_id bigint(64) NOT NULL,\n \ttable_schema varchar(64) NOT NULL,\n\t\ttable_name varchar(64) NOT NULL,\n \tpartition_name varchar(64) DEFAULT NULL,\n\t\tcreate_time timestamp NOT NULL,\n\t\tfinish_time timestamp NOT NULL,\n\t\tttl_expire timestamp NOT NULL,\n summary_text text,\n\t\texpired_rows bigint(64) DEFAULT NULL,\n \tdeleted_rows bigint(64) DEFAULT NULL,\n \terror_delete_rows bigint(64) DEFAULT NULL,\n \tstatus varchar(64) NOT NULL,\n \tkey(table_schema, table_name, create_time),\n \tkey(parent_table_id, create_time),\n \tkey(create_time)\n\t);"] [2024/05/06 09:30:23.570 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=81] [category=ddl] [job="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:80, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:23.56 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:23.575 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=39] [neededSchemaVersion=40] ["start time"=604.636µs] [gotSchemaVersion=40] [phyTblIDs="[80]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:23.577 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:23.577 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=81] [version=40] [2024/05/06 09:30:23.579 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=40] ["take time"=4.768049ms] [job="ID:81, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:23.56 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:23.588 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=81] [job="ID:81, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:80, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:23.56 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:23.593 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=81] [2024/05/06 09:30:23.593 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:23.593 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=40] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(261),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tpriority INT DEFAULT 1,\n\t\tcreate_time TIMESTAMP,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\ttarget_scope VARCHAR(256) DEFAULT \"\",\n\t\terror BLOB,\n\t\tkey(state),\n \tUNIQUE KEY task_key(task_key)\n\t);"] [user=] [2024/05/06 09:30:23.596 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:23.594 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:23.596 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:23.594 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(261),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tpriority INT DEFAULT 1,\n\t\tcreate_time TIMESTAMP,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\ttarget_scope VARCHAR(256) DEFAULT \"\",\n\t\terror BLOB,\n\t\tkey(state),\n \tUNIQUE KEY task_key(task_key)\n\t);"] [2024/05/06 09:30:23.604 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=83] [category=ddl] [job="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:82, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:23.594 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:23.609 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=40] [neededSchemaVersion=41] ["start time"=586.238µs] [gotSchemaVersion=41] [phyTblIDs="[82]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:23.611 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:23.611 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=83] [version=41] [2024/05/06 09:30:23.613 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=41] ["take time"=4.994883ms] [job="ID:83, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:23.594 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:23.619 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=83] [job="ID:83, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:82, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:23.594 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:23.624 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=83] [2024/05/06 09:30:23.624 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:23.625 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=41] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task_history (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(261),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tpriority INT DEFAULT 1,\n\t\tcreate_time TIMESTAMP,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\ttarget_scope VARCHAR(256) DEFAULT \"\",\n\t\terror BLOB,\n\t\tkey(state),\n \tUNIQUE KEY task_key(task_key)\n\t);"] [user=] [2024/05/06 09:30:23.629 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:85, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:84, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:23.626 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:23.629 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:85, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:84, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:23.626 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task_history (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(261),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tpriority INT DEFAULT 1,\n\t\tcreate_time TIMESTAMP,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\ttarget_scope VARCHAR(256) DEFAULT \"\",\n\t\terror BLOB,\n\t\tkey(state),\n \tUNIQUE KEY task_key(task_key)\n\t);"] [2024/05/06 09:30:23.637 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=85] [category=ddl] [job="ID:85, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:84, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:23.626 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:23.649 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=41] [neededSchemaVersion=42] ["start time"=602.759µs] [gotSchemaVersion=42] [phyTblIDs="[84]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:23.651 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:23.651 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=85] [version=42] [2024/05/06 09:30:23.654 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=42] ["take time"=4.868142ms] [job="ID:85, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:84, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:23.626 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:23.660 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=85] [job="ID:85, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:84, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:23.626 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:23.665 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=85] [2024/05/06 09:30:23.665 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:23.665 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=42] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_import_jobs (\n\t\tid bigint(64) NOT NULL AUTO_INCREMENT,\n\t\tcreate_time TIMESTAMP(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n\t\tstart_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tupdate_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tend_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\ttable_schema VARCHAR(64) NOT NULL,\n\t\ttable_name VARCHAR(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcreated_by VARCHAR(300) NOT NULL,\n\t\tparameters text NOT NULL,\n\t\tsource_file_size bigint(64) NOT NULL,\n\t\tstatus VARCHAR(64) NOT NULL,\n\t\tstep VARCHAR(64) NOT NULL,\n\t\tsummary text DEFAULT NULL,\n\t\terror_message TEXT DEFAULT NULL,\n\t\tPRIMARY KEY (id),\n\t\tKEY (created_by),\n\t\tKEY (status));"] [user=] [2024/05/06 09:30:23.669 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:87, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:86, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:23.667 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:23.669 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:87, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:86, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:23.667 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_import_jobs (\n\t\tid bigint(64) NOT NULL AUTO_INCREMENT,\n\t\tcreate_time TIMESTAMP(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n\t\tstart_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tupdate_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tend_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\ttable_schema VARCHAR(64) NOT NULL,\n\t\ttable_name VARCHAR(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcreated_by VARCHAR(300) NOT NULL,\n\t\tparameters text NOT NULL,\n\t\tsource_file_size bigint(64) NOT NULL,\n\t\tstatus VARCHAR(64) NOT NULL,\n\t\tstep VARCHAR(64) NOT NULL,\n\t\tsummary text DEFAULT NULL,\n\t\terror_message TEXT DEFAULT NULL,\n\t\tPRIMARY KEY (id),\n\t\tKEY (created_by),\n\t\tKEY (status));"] [2024/05/06 09:30:23.676 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=87] [category=ddl] [job="ID:87, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:86, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:23.667 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:23.682 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=42] [neededSchemaVersion=43] ["start time"=508.388µs] [gotSchemaVersion=43] [phyTblIDs="[86]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:23.683 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:23.683 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=87] [version=43] [2024/05/06 09:30:23.685 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=43] ["take time"=4.384047ms] [job="ID:87, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:86, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:23.667 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:23.695 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=87] [job="ID:87, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:86, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:23.667 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:23.700 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=87] [2024/05/06 09:30:23.700 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:23.700 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=43] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tINDEX sql_index(resource_group_name,watch_text(700)) COMMENT \"accelerate the speed when select quarantined query\",\n\t\tINDEX time_index(end_time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2024/05/06 09:30:23.703 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:89, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:88, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:23.702 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:23.703 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:89, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:88, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:23.702 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tINDEX sql_index(resource_group_name,watch_text(700)) COMMENT \"accelerate the speed when select quarantined query\",\n\t\tINDEX time_index(end_time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2024/05/06 09:30:23.711 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=89] [category=ddl] [job="ID:89, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:88, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:23.702 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:23.715 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=43] [neededSchemaVersion=44] ["start time"=381.472µs] [gotSchemaVersion=44] [phyTblIDs="[88]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:23.717 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:23.717 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=89] [version=44] [2024/05/06 09:30:23.719 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=44] ["take time"=4.235411ms] [job="ID:89, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:88, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:23.702 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:23.726 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=89] [job="ID:89, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:88, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:23.702 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:23.730 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=89] [2024/05/06 09:30:23.730 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:23.730 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=44] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_queries (\n\t\tresource_group_name varchar(32) not null,\n\t\ttime TIMESTAMP NOT NULL,\n\t\tmatch_type varchar(12) NOT NULL,\n\t\taction varchar(12) NOT NULL,\n\t\toriginal_sql TEXT NOT NULL,\n\t\tplan_digest TEXT NOT NULL,\n\t\ttidb_server varchar(512),\n\t\tINDEX plan_index(plan_digest(64)) COMMENT \"accelerate the speed when select runaway query\",\n\t\tINDEX time_index(time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2024/05/06 09:30:23.734 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:91, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:90, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:23.732 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:23.734 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:91, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:90, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:23.732 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_queries (\n\t\tresource_group_name varchar(32) not null,\n\t\ttime TIMESTAMP NOT NULL,\n\t\tmatch_type varchar(12) NOT NULL,\n\t\taction varchar(12) NOT NULL,\n\t\toriginal_sql TEXT NOT NULL,\n\t\tplan_digest TEXT NOT NULL,\n\t\ttidb_server varchar(512),\n\t\tINDEX plan_index(plan_digest(64)) COMMENT \"accelerate the speed when select runaway query\",\n\t\tINDEX time_index(time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2024/05/06 09:30:23.745 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=91] [category=ddl] [job="ID:91, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:90, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:23.732 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:23.750 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=44] [neededSchemaVersion=45] ["start time"=360.135µs] [gotSchemaVersion=45] [phyTblIDs="[90]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:23.752 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:23.752 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=91] [version=45] [2024/05/06 09:30:23.752 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=45] ["take time"=2.35274ms] [job="ID:91, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:90, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:23.732 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:23.763 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=91] [job="ID:91, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:90, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:23.732 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:23.771 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=91] [2024/05/06 09:30:23.771 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:23.771 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=45] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS `mysql`.`tidb_timers` (\n\t\tID BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tNAMESPACE VARCHAR(256) NOT NULL,\n\t\tTIMER_KEY VARCHAR(256) NOT NULL,\n\t\tTIMER_DATA BLOB,\n\t\tTIMEZONE VARCHAR(64) NOT NULL,\n\t\tSCHED_POLICY_TYPE VARCHAR(32) NOT NULL,\n\t\tSCHED_POLICY_EXPR VARCHAR(256) NOT NULL,\n\t\tHOOK_CLASS VARCHAR(64) NOT NULL,\n\t\tWATERMARK TIMESTAMP DEFAULT NULL,\n\t\tENABLE TINYINT(2) NOT NULL,\n\t\tTIMER_EXT JSON NOT NULL,\n\t\tEVENT_STATUS VARCHAR(32) NOT NULL,\n\t\tEVENT_ID VARCHAR(64) NOT NULL,\n\t\tEVENT_DATA BLOB,\n\t\tEVENT_START TIMESTAMP DEFAULT NULL,\n\t\tSUMMARY_DATA BLOB,\n\t\tCREATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,\n\t\tUPDATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tVERSION BIGINT(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (ID),\n\t\tUNIQUE KEY timer_key(NAMESPACE, TIMER_KEY),\n\t\tKEY hook_class(HOOK_CLASS)\n\t)"] [user=] [2024/05/06 09:30:23.775 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:93, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:92, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:23.773 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:23.775 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:93, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:92, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:23.773 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS `mysql`.`tidb_timers` (\n\t\tID BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tNAMESPACE VARCHAR(256) NOT NULL,\n\t\tTIMER_KEY VARCHAR(256) NOT NULL,\n\t\tTIMER_DATA BLOB,\n\t\tTIMEZONE VARCHAR(64) NOT NULL,\n\t\tSCHED_POLICY_TYPE VARCHAR(32) NOT NULL,\n\t\tSCHED_POLICY_EXPR VARCHAR(256) NOT NULL,\n\t\tHOOK_CLASS VARCHAR(64) NOT NULL,\n\t\tWATERMARK TIMESTAMP DEFAULT NULL,\n\t\tENABLE TINYINT(2) NOT NULL,\n\t\tTIMER_EXT JSON NOT NULL,\n\t\tEVENT_STATUS VARCHAR(32) NOT NULL,\n\t\tEVENT_ID VARCHAR(64) NOT NULL,\n\t\tEVENT_DATA BLOB,\n\t\tEVENT_START TIMESTAMP DEFAULT NULL,\n\t\tSUMMARY_DATA BLOB,\n\t\tCREATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,\n\t\tUPDATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tVERSION BIGINT(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (ID),\n\t\tUNIQUE KEY timer_key(NAMESPACE, TIMER_KEY),\n\t\tKEY hook_class(HOOK_CLASS)\n\t)"] [2024/05/06 09:30:23.787 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=93] [category=ddl] [job="ID:93, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:92, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:23.773 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:23.793 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=45] [neededSchemaVersion=46] ["start time"=706.425µs] [gotSchemaVersion=46] [phyTblIDs="[92]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:23.794 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:23.794 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=93] [version=46] [2024/05/06 09:30:23.796 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=46] ["take time"=4.324987ms] [job="ID:93, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:23.773 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:23.803 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=93] [job="ID:93, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:23.773 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:23.818 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=93] [2024/05/06 09:30:23.818 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:23.819 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=46] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch_done (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\trecord_id BIGINT(20) not null,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tdone_time TIMESTAMP(6) NOT NULL\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2024/05/06 09:30:23.822 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:95, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:94, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:23.82 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:23.822 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:95, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:94, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:23.82 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch_done (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\trecord_id BIGINT(20) not null,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tdone_time TIMESTAMP(6) NOT NULL\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2024/05/06 09:30:23.831 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=95] [category=ddl] [job="ID:95, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:94, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:23.82 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:23.835 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=46] [neededSchemaVersion=47] ["start time"=347.821µs] [gotSchemaVersion=47] [phyTblIDs="[94]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:23.837 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:23.837 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=95] [version=47] [2024/05/06 09:30:23.837 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=47] ["take time"=2.267172ms] [job="ID:95, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:94, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:23.82 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:23.842 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=95] [job="ID:95, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:94, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:23.82 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:23.846 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=95] [2024/05/06 09:30:23.846 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:23.846 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=47] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.dist_framework_meta (\n host VARCHAR(261) NOT NULL PRIMARY KEY,\n role VARCHAR(64),\n cpu_count int default 0,\n keyspace_id bigint(8) NOT NULL DEFAULT -1\n );"] [user=] [2024/05/06 09:30:23.849 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:97, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:96, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:23.848 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:23.849 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:97, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:96, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:23.848 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.dist_framework_meta (\n host VARCHAR(261) NOT NULL PRIMARY KEY,\n role VARCHAR(64),\n cpu_count int default 0,\n keyspace_id bigint(8) NOT NULL DEFAULT -1\n );"] [2024/05/06 09:30:23.857 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=97] [category=ddl] [job="ID:97, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:96, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:23.848 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:23.861 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=47] [neededSchemaVersion=48] ["start time"=270.219µs] [gotSchemaVersion=48] [phyTblIDs="[96]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:23.862 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:23.862 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=97] [version=48] [2024/05/06 09:30:23.862 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=48] ["take time"=2.051785ms] [job="ID:97, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:96, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:23.848 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:23.867 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=97] [job="ID:97, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:96, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:23.848 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:23.871 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=97] [2024/05/06 09:30:23.871 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:23.872 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=48] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.request_unit_by_group (\n\t\tstart_time TIMESTAMP(6) NOT NULL,\n\t\tend_time TIMESTAMP(6) NOT NULL,\n\t\tresource_group VARCHAR(32) NOT null,\n\t\ttotal_ru bigint(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (start_time, end_time, resource_group),\n\t\tKEY (resource_group)\n\t);"] [user=] [2024/05/06 09:30:23.877 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:99, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:98, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:23.875 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:23.877 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:99, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:98, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:23.875 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.request_unit_by_group (\n\t\tstart_time TIMESTAMP(6) NOT NULL,\n\t\tend_time TIMESTAMP(6) NOT NULL,\n\t\tresource_group VARCHAR(32) NOT null,\n\t\ttotal_ru bigint(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (start_time, end_time, resource_group),\n\t\tKEY (resource_group)\n\t);"] [2024/05/06 09:30:23.886 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=99] [category=ddl] [job="ID:99, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:98, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:23.875 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:23.889 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=48] [neededSchemaVersion=49] ["start time"=269.329µs] [gotSchemaVersion=49] [phyTblIDs="[98]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:23.890 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:23.890 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=99] [version=49] [2024/05/06 09:30:23.892 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=49] ["take time"=2.918316ms] [job="ID:99, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:98, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:23.875 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:23.896 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=99] [job="ID:99, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:98, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:23.875 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:23.900 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=99] [2024/05/06 09:30:23.900 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:23.901 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=49] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS sys;"] [user=] [2024/05/06 09:30:23.903 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:101, Type:create schema, State:queueing, SchemaState:none, SchemaID:100, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:30:23.902 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:23.903 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:101, Type:create schema, State:queueing, SchemaState:none, SchemaID:100, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:30:23.902 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE DATABASE IF NOT EXISTS sys;"] [2024/05/06 09:30:23.912 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=101] [category=ddl] [job="ID:101, Type:create schema, State:queueing, SchemaState:none, SchemaID:100, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:23.902 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:23.914 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=49] [neededSchemaVersion=50] ["start time"=94.914µs] [gotSchemaVersion=50] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2024/05/06 09:30:23.916 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:23.916 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=101] [version=50] [2024/05/06 09:30:23.916 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=50] ["take time"=2.065533ms] [job="ID:101, Type:create schema, State:done, SchemaState:public, SchemaID:100, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:30:23.902 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:23.921 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=101] [job="ID:101, Type:create schema, State:synced, SchemaState:public, SchemaID:100, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:23.902 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:23.924 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=101] [2024/05/06 09:30:23.924 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:23.929 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:103, Type:create view, State:queueing, SchemaState:none, SchemaID:100, TableID:102, RowCount:0, ArgLen:3, start time: 2024-05-06 09:30:23.927 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:23.929 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:103, Type:create view, State:queueing, SchemaState:none, SchemaID:100, TableID:102, RowCount:0, ArgLen:3, start time: 2024-05-06 09:30:23.927 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE OR REPLACE VIEW sys.schema_unused_indexes AS\n\t\tSELECT\n\t\t\ttable_schema as object_schema,\n\t\t\ttable_name as object_name,\n\t\t\tindex_name\n\t\tFROM information_schema.cluster_tidb_index_usage\n\t\tWHERE\n\t\t\ttable_schema not in ('sys', 'mysql', 'INFORMATION_SCHEMA', 'PERFORMANCE_SCHEMA') and\n\t\t\tindex_name != 'PRIMARY'\n\t\tGROUP BY table_schema, table_name, index_name\n\t\tHAVING\n\t\t\tsum(last_access_time) is null;"] [2024/05/06 09:30:23.937 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=103] [category=ddl] [job="ID:103, Type:create view, State:queueing, SchemaState:none, SchemaID:100, TableID:102, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:23.927 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:23.940 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=50] [neededSchemaVersion=51] ["start time"=243.489µs] [gotSchemaVersion=51] [phyTblIDs="[102]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2024/05/06 09:30:23.942 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:30:23.942 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=103] [version=51] [2024/05/06 09:30:23.945 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=51] ["take time"=4.515745ms] [job="ID:103, Type:create view, State:done, SchemaState:public, SchemaID:100, TableID:102, RowCount:0, ArgLen:3, start time: 2024-05-06 09:30:23.927 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:23.953 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 81, tp general"] [category=ddl] [jobID=103] [job="ID:103, Type:create view, State:synced, SchemaState:public, SchemaID:100, TableID:102, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:23.927 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:23.955 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=103] [2024/05/06 09:30:23.956 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:23.999 +00:00] [INFO] [bootstrap.go:745] ["bootstrap successful"] ["take time"=1.676440225s] [2024/05/06 09:30:24.000 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=49fa6c3a-70f2-4906-954b-52c933897b32] [ownerKey=/tidb/ddl/fg/owner] [2024/05/06 09:30:24.000 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/06 09:30:24.000 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 84, tp add index"] [category=ddl] ["take time"=1.79µs] [2024/05/06 09:30:24.000 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 85, tp add index"] [category=ddl] ["take time"=1.16µs] [2024/05/06 09:30:24.000 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 82, tp add index"] [category=ddl] ["take time"=1.017µs] [2024/05/06 09:30:24.000 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 83, tp add index"] [category=ddl] ["take time"=1.121µs] [2024/05/06 09:30:24.000 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/06 09:30:24.000 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 81, tp general"] [category=ddl] ["take time"=925ns] [2024/05/06 09:30:24.000 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/06 09:30:24.000 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2024/05/06 09:30:24.000 +00:00] [INFO] [session_pool.go:99] ["closing session pool"] [category=ddl] [2024/05/06 09:30:24.004 +00:00] [INFO] [ddl.go:951] ["DDL closed"] [category=ddl] [ID=49fa6c3a-70f2-4906-954b-52c933897b32] ["take time"=5.005041ms] [2024/05/06 09:30:24.004 +00:00] [INFO] [ddl.go:769] ["stop DDL"] [category=ddl] [ID=49fa6c3a-70f2-4906-954b-52c933897b32] [2024/05/06 09:30:24.005 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2024/05/06 09:30:24.005 +00:00] [INFO] [domain.go:907] ["loadSchemaInLoop exited."] [2024/05/06 09:30:24.005 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2024/05/06 09:30:24.005 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayStartLoop] [2024/05/06 09:30:24.005 +00:00] [INFO] [domain.go:761] ["topologySyncerKeeper exited."] [2024/05/06 09:30:24.005 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2024/05/06 09:30:24.005 +00:00] [INFO] [domain.go:737] ["globalConfigSyncerKeeper exited."] [2024/05/06 09:30:24.005 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/06 09:30:24.005 +00:00] [INFO] [domain.go:711] ["infoSyncerKeeper exited."] [2024/05/06 09:30:24.005 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2024/05/06 09:30:24.005 +00:00] [INFO] [domain.go:683] ["topNSlowQueryLoop exited."] [2024/05/06 09:30:24.006 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2024/05/06 09:30:24.005 +00:00] [INFO] [domain.go:1361] ["closestReplicaReadCheckLoop exited."] [2024/05/06 09:30:24.006 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/06 09:30:24.006 +00:00] [INFO] [domain.go:1074] ["domain closed"] ["take time"=6.611985ms] [2024/05/06 09:30:24.006 +00:00] [INFO] [tidb.go:80] ["new domain"] [store=6dbb9eff-9116-48db-865d-d3fb15f154f8] ["ddl lease"=600ms] ["stats lease"=-1ns] [2024/05/06 09:30:24.019 +00:00] [WARN] [controller.go:198] ["[resource group controller] server does not save config, load config failed"] [2024/05/06 09:30:24.019 +00:00] [INFO] [controller.go:185] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":10,\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\"}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":10,\"DegradedModeWaitDuration\":0}"] [2024/05/06 09:30:24.034 +00:00] [INFO] [domain.go:315] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=51] ["start time"=14.185916ms] [2024/05/06 09:30:24.034 +00:00] [INFO] [domain.go:635] ["full load and reset schema validator"] [2024/05/06 09:30:24.034 +00:00] [INFO] [ddl.go:818] ["start DDL"] [category=ddl] [ID=1bbfe168-3ed5-4d85-8ba4-92cc37204844] [runWorker=true] [2024/05/06 09:30:24.035 +00:00] [INFO] [ddl.go:777] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=true] [2024/05/06 09:30:24.035 +00:00] [WARN] [env.go:51] ["initialize environment failed"] [category=ddl-ingest] ["storage limitation"="only support TiKV storage"] ["current storage"=unistore] ["lightning is initialized"=false] [2024/05/06 09:30:24.035 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2024/05/06 09:30:24.035 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=mdlCheckLoop] [2024/05/06 09:30:24.035 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2024/05/06 09:30:24.035 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2024/05/06 09:30:24.035 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/06 09:30:24.035 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayStartLoop] [2024/05/06 09:30:24.035 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/06 09:30:24.035 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2024/05/06 09:30:24.035 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/06 09:30:24.035 +00:00] [WARN] [domain.go:1326] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/06 09:30:24.035 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/06 09:30:24.035 +00:00] [INFO] [runaway.go:149] ["try to start runaway manager loop"] [2024/05/06 09:30:24.036 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/06 09:30:24.035 +00:00] [INFO] [delete_range.go:172] ["start delRange emulator"] [category=ddl] [2024/05/06 09:30:24.036 +00:00] [INFO] [controller.go:447] ["[resource group controller] create resource group cost controller"] [name=default] [2024/05/06 09:30:24.038 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2024/05/06 09:30:24.038 +00:00] [WARN] [sysvar_cache.go:49] ["sysvar cache is empty, triggering rebuild"] [2024/05/06 09:30:24.057 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2024/05/06 09:30:24.060 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2024/05/06 09:30:24.062 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2024/05/06 09:30:24.063 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=indexUsageWorker] [2024/05/06 09:30:24.063 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=quitStatsOwner] [2024/05/06 09:30:24.064 +00:00] [INFO] [domain.go:2070] ["dumpFileGcChecker started"] [2024/05/06 09:30:24.064 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2024/05/06 09:30:24.065 +00:00] [INFO] [manager.go:113] ["build task executor manager"] [server-id=:4000] [total-cpu=16] [total-mem=342.3GiB] [2024/05/06 09:30:24.065 +00:00] [INFO] [task_manager.go:217] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=0] [newCount=4] [2024/05/06 09:30:24.065 +00:00] [INFO] [task_manager.go:217] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=0] [newCount=4] [2024/05/06 09:30:24.076 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2024/05/06 09:30:24.076 +00:00] [INFO] [manager.go:146] ["task executor manager start"] [server-id=:4000] [2024/05/06 09:30:24.076 +00:00] [INFO] [domain.go:1525] ["dist task executor manager started"] [2024/05/06 09:30:24.079 +00:00] [INFO] [ddl.go:1406] ["switch metadata lock feature"] [category=ddl] [enable=false] [2024/05/06 09:30:24.083 +00:00] [INFO] [set.go:170] ["set global var"] [conn=12] [name=tidb_enable_metadata_lock] [val=0] [2024/05/06 09:30:24.083 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=12] [schemaVersion=51] [cur_db=test] [sql="drop table if exists t1"] [user=] [2024/05/06 09:30:24.084 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=12] [schemaVersion=51] [cur_db=test] [sql="create table t1 (a int)"] [user=] [2024/05/06 09:30:24.085 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/06 09:30:24.085 +00:00] [INFO] [job_table.go:349] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2024/05/06 09:30:24.090 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:105, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:24.085 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:24.090 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:105, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:24.085 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table t1 (a int)"] [2024/05/06 09:30:24.103 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 86, tp general"] [category=ddl] [jobID=105] [conn=12] [category=ddl] [job="ID:105, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:24.085 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:24.107 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=51] [neededSchemaVersion=52] ["start time"=182.284µs] [gotSchemaVersion=52] [phyTblIDs="[104]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:30:24.109 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=52] ["take time"=2.042137ms] [job="ID:105, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 09:30:24.085 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:24.126 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=52] ["take time"=2.007772ms] [job="ID:105, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:24.085 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:24.126 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 86, tp general"] [category=ddl] [jobID=105] [conn=12] [job="ID:105, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:24.085 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:24.134 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=105] [2024/05/06 09:30:24.134 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:24.139 +00:00] [INFO] [set.go:170] ["set global var"] [conn=13] [name=tidb_schema_cache_size] [val=1024] [2024/05/06 09:30:24.141 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=13] [schemaVersion=52] [cur_db=test] [sql="alter table t1 set tiflash replica 2 location labels 'a','b';"] [user=] [2024/05/06 09:30:24.143 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:106, Type:set tiflash replica, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:1, start time: 2024-05-06 09:30:24.142 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:30:24.143 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:106, Type:set tiflash replica, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:1, start time: 2024-05-06 09:30:24.142 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t1 set tiflash replica 2 location labels 'a','b';"] [2024/05/06 09:30:24.149 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 86, tp general"] [category=ddl] [jobID=106] [conn=13] [category=ddl] [job="ID:106, Type:set tiflash replica, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:24.142 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:24.149 +00:00] [INFO] [table.go:1391] ["Set TiFlash replica pd rule"] [category=ddl] [tableID=104] [2024/05/06 09:30:24.149 +00:00] [INFO] [info.go:1211] [ConfigureTiFlashPDForTable] [tableID=104] [count=2] [2024/05/06 09:30:24.151 +00:00] [ERROR] [domain.go:291] ["failed to load schema diff"] [error="builder's (v2=true) infoschema mismatch, return error to trigger full reload"] [errorVerbose="builder's (v2=true) infoschema mismatch, return error to trigger full reload\ngithub.com/pingcap/tidb/pkg/infoschema.(*Builder).InitWithOldInfoSchema\n\tpkg/infoschema/builder.go:798\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).tryLoadSchemaDiffs\n\tpkg/domain/domain.go:459\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:276\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:606\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:919\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1287\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:99\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [stack="github.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:291\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:606\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:919\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1287\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:99"] [2024/05/06 09:30:24.184 +00:00] [INFO] [domain.go:315] ["full load InfoSchema success"] [currentSchemaVersion=52] [neededSchemaVersion=53] ["start time"=33.212035ms] [2024/05/06 09:30:24.190 +00:00] [INFO] [domain.go:635] ["full load and reset schema validator"] [2024/05/06 09:30:24.190 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=53] ["take time"=39.268378ms] [job="ID:106, Type:set tiflash replica, State:done, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:1, start time: 2024-05-06 09:30:24.142 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:24.202 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=53] ["take time"=2.041946ms] [job="ID:106, Type:set tiflash replica, State:done, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:24.142 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:24.202 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 86, tp general"] [category=ddl] [jobID=106] [conn=13] [job="ID:106, Type:set tiflash replica, State:synced, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 09:30:24.142 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:30:24.205 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=106] [2024/05/06 09:30:24.205 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:30:24.206 +00:00] [INFO] [schema_validator.go:187] ["the schema version is much older than the latest version"] [currVer=52] [latestSchemaVer=53] [deltas="[{},{}]"] [2024/05/06 09:30:24.206 +00:00] [WARN] [session.go:813] ["can not retry txn"] [label=general] [error="[domain:8028]Information schema is changed during the execution of the statement(for example, table definition may be updated by other DDL ran in parallel). If you see this error often, try increasing `tidb_max_delta_schema_count`. [try again later]"] [errorVerbose="[domain:8028]Information schema is changed during the execution of the statement(for example, table definition may be updated by other DDL ran in parallel). If you see this error often, try increasing `tidb_max_delta_schema_count`. [try again later]\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).checkSchemaValid\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1871\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).execute\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1694\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*KVTxn).Commit\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/txn.go:714\ngithub.com/pingcap/tidb/pkg/store/driver/txn.(*tikvTxn).Commit\n\tpkg/store/driver/txn/txn_driver.go:113\ngithub.com/pingcap/tidb/pkg/session.(*LazyTxn).Commit\n\tpkg/session/txn.go:441\ngithub.com/pingcap/tidb/pkg/session.(*session).commitTxnWithTemporaryData\n\tpkg/session/session.go:665\ngithub.com/pingcap/tidb/pkg/session.(*session).doCommit\n\tpkg/session/session.go:545\ngithub.com/pingcap/tidb/pkg/session.(*session).doCommitWithRetry\n\tpkg/session/session.go:787\ngithub.com/pingcap/tidb/pkg/session.(*session).CommitTxn\n\tpkg/session/session.go:917\ngithub.com/pingcap/tidb/pkg/session.autoCommitAfterStmt\n\tpkg/session/tidb.go:281\ngithub.com/pingcap/tidb/pkg/session.finishStmt\n\tpkg/session/tidb.go:243\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2311\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExecWithContext\n\tpkg/testkit/testkit.go:162\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExec\n\tpkg/testkit/testkit.go:157\ngithub.com/pingcap/tidb/pkg/ddl_test.TestSkipSchemaChecker\n\tpkg/ddl/tiflash_replica_test.go:265\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/store/driver/error.ToTiDBErr\n\tpkg/store/driver/error/error.go:200\ngithub.com/pingcap/tidb/pkg/store/driver/txn.extractKeyErr\n\tpkg/store/driver/txn/error.go:164\ngithub.com/pingcap/tidb/pkg/store/driver/txn.(*tikvTxn).extractKeyErr\n\tpkg/store/driver/txn/txn_driver.go:340\ngithub.com/pingcap/tidb/pkg/store/driver/txn.(*tikvTxn).Commit\n\tpkg/store/driver/txn/txn_driver.go:114\ngithub.com/pingcap/tidb/pkg/session.(*LazyTxn).Commit\n\tpkg/session/txn.go:441\ngithub.com/pingcap/tidb/pkg/session.(*session).commitTxnWithTemporaryData\n\tpkg/session/session.go:665\ngithub.com/pingcap/tidb/pkg/session.(*session).doCommit\n\tpkg/session/session.go:545\ngithub.com/pingcap/tidb/pkg/session.(*session).doCommitWithRetry\n\tpkg/session/session.go:787\ngithub.com/pingcap/tidb/pkg/session.(*session).CommitTxn\n\tpkg/session/session.go:917\ngithub.com/pingcap/tidb/pkg/session.autoCommitAfterStmt\n\tpkg/session/tidb.go:281\ngithub.com/pingcap/tidb/pkg/session.finishStmt\n\tpkg/session/tidb.go:243\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2311\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExecWithContext\n\tpkg/testkit/testkit.go:162\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExec\n\tpkg/testkit/testkit.go:157\ngithub.com/pingcap/tidb/pkg/ddl_test.TestSkipSchemaChecker\n\tpkg/ddl/tiflash_replica_test.go:265\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [IsBatchInsert=false] [IsPessimistic=true] [InRestrictedSQL=false] [tidb_retry_limit=10] [tidb_disable_txn_auto_retry=true] [2024/05/06 09:30:24.206 +00:00] [WARN] [session.go:829] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[domain:8028]Information schema is changed during the execution of the statement(for example, table definition may be updated by other DDL ran in parallel). If you see this error often, try increasing `tidb_max_delta_schema_count`. [try again later]"] [errorVerbose="[domain:8028]Information schema is changed during the execution of the statement(for example, table definition may be updated by other DDL ran in parallel). If you see this error often, try increasing `tidb_max_delta_schema_count`. [try again later]\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).checkSchemaValid\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1871\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).execute\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1694\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*KVTxn).Commit\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/txn.go:714\ngithub.com/pingcap/tidb/pkg/store/driver/txn.(*tikvTxn).Commit\n\tpkg/store/driver/txn/txn_driver.go:113\ngithub.com/pingcap/tidb/pkg/session.(*LazyTxn).Commit\n\tpkg/session/txn.go:441\ngithub.com/pingcap/tidb/pkg/session.(*session).commitTxnWithTemporaryData\n\tpkg/session/session.go:665\ngithub.com/pingcap/tidb/pkg/session.(*session).doCommit\n\tpkg/session/session.go:545\ngithub.com/pingcap/tidb/pkg/session.(*session).doCommitWithRetry\n\tpkg/session/session.go:787\ngithub.com/pingcap/tidb/pkg/session.(*session).CommitTxn\n\tpkg/session/session.go:917\ngithub.com/pingcap/tidb/pkg/session.autoCommitAfterStmt\n\tpkg/session/tidb.go:281\ngithub.com/pingcap/tidb/pkg/session.finishStmt\n\tpkg/session/tidb.go:243\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2311\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExecWithContext\n\tpkg/testkit/testkit.go:162\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExec\n\tpkg/testkit/testkit.go:157\ngithub.com/pingcap/tidb/pkg/ddl_test.TestSkipSchemaChecker\n\tpkg/ddl/tiflash_replica_test.go:265\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/store/driver/error.ToTiDBErr\n\tpkg/store/driver/error/error.go:200\ngithub.com/pingcap/tidb/pkg/store/driver/txn.extractKeyErr\n\tpkg/store/driver/txn/error.go:164\ngithub.com/pingcap/tidb/pkg/store/driver/txn.(*tikvTxn).extractKeyErr\n\tpkg/store/driver/txn/txn_driver.go:340\ngithub.com/pingcap/tidb/pkg/store/driver/txn.(*tikvTxn).Commit\n\tpkg/store/driver/txn/txn_driver.go:114\ngithub.com/pingcap/tidb/pkg/session.(*LazyTxn).Commit\n\tpkg/session/txn.go:441\ngithub.com/pingcap/tidb/pkg/session.(*session).commitTxnWithTemporaryData\n\tpkg/session/session.go:665\ngithub.com/pingcap/tidb/pkg/session.(*session).doCommit\n\tpkg/session/session.go:545\ngithub.com/pingcap/tidb/pkg/session.(*session).doCommitWithRetry\n\tpkg/session/session.go:787\ngithub.com/pingcap/tidb/pkg/session.(*session).CommitTxn\n\tpkg/session/session.go:917\ngithub.com/pingcap/tidb/pkg/session.autoCommitAfterStmt\n\tpkg/session/tidb.go:281\ngithub.com/pingcap/tidb/pkg/session.finishStmt\n\tpkg/session/tidb.go:243\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2311\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExecWithContext\n\tpkg/testkit/testkit.go:162\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExec\n\tpkg/testkit/testkit.go:157\ngithub.com/pingcap/tidb/pkg/ddl_test.TestSkipSchemaChecker\n\tpkg/ddl/tiflash_replica_test.go:265\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [2024/05/06 09:30:24.207 +00:00] [WARN] [session.go:2153] ["run statement failed"] [schemaVersion=52] [error="previous statement: insert into t1 set a=1;: [domain:8028]Information schema is changed during the execution of the statement(for example, table definition may be updated by other DDL ran in parallel). If you see this error often, try increasing `tidb_max_delta_schema_count`. [try again later]"] [errorVerbose="[domain:8028]Information schema is changed during the execution of the statement(for example, table definition may be updated by other DDL ran in parallel). If you see this error often, try increasing `tidb_max_delta_schema_count`. [try again later]\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).checkSchemaValid\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1871\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).execute\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1694\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*KVTxn).Commit\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/txn.go:714\ngithub.com/pingcap/tidb/pkg/store/driver/txn.(*tikvTxn).Commit\n\tpkg/store/driver/txn/txn_driver.go:113\ngithub.com/pingcap/tidb/pkg/session.(*LazyTxn).Commit\n\tpkg/session/txn.go:441\ngithub.com/pingcap/tidb/pkg/session.(*session).commitTxnWithTemporaryData\n\tpkg/session/session.go:665\ngithub.com/pingcap/tidb/pkg/session.(*session).doCommit\n\tpkg/session/session.go:545\ngithub.com/pingcap/tidb/pkg/session.(*session).doCommitWithRetry\n\tpkg/session/session.go:787\ngithub.com/pingcap/tidb/pkg/session.(*session).CommitTxn\n\tpkg/session/session.go:917\ngithub.com/pingcap/tidb/pkg/session.autoCommitAfterStmt\n\tpkg/session/tidb.go:281\ngithub.com/pingcap/tidb/pkg/session.finishStmt\n\tpkg/session/tidb.go:243\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2311\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExecWithContext\n\tpkg/testkit/testkit.go:162\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExec\n\tpkg/testkit/testkit.go:157\ngithub.com/pingcap/tidb/pkg/ddl_test.TestSkipSchemaChecker\n\tpkg/ddl/tiflash_replica_test.go:265\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/store/driver/error.ToTiDBErr\n\tpkg/store/driver/error/error.go:200\ngithub.com/pingcap/tidb/pkg/store/driver/txn.extractKeyErr\n\tpkg/store/driver/txn/error.go:164\ngithub.com/pingcap/tidb/pkg/store/driver/txn.(*tikvTxn).extractKeyErr\n\tpkg/store/driver/txn/txn_driver.go:340\ngithub.com/pingcap/tidb/pkg/store/driver/txn.(*tikvTxn).Commit\n\tpkg/store/driver/txn/txn_driver.go:114\ngithub.com/pingcap/tidb/pkg/session.(*LazyTxn).Commit\n\tpkg/session/txn.go:441\ngithub.com/pingcap/tidb/pkg/session.(*session).commitTxnWithTemporaryData\n\tpkg/session/session.go:665\ngithub.com/pingcap/tidb/pkg/session.(*session).doCommit\n\tpkg/session/session.go:545\ngithub.com/pingcap/tidb/pkg/session.(*session).doCommitWithRetry\n\tpkg/session/session.go:787\ngithub.com/pingcap/tidb/pkg/session.(*session).CommitTxn\n\tpkg/session/session.go:917\ngithub.com/pingcap/tidb/pkg/session.autoCommitAfterStmt\n\tpkg/session/tidb.go:281\ngithub.com/pingcap/tidb/pkg/session.finishStmt\n\tpkg/session/tidb.go:243\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2311\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExecWithContext\n\tpkg/testkit/testkit.go:162\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExec\n\tpkg/testkit/testkit.go:157\ngithub.com/pingcap/tidb/pkg/ddl_test.TestSkipSchemaChecker\n\tpkg/ddl/tiflash_replica_test.go:265\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650\nprevious statement: insert into t1 set a=1;"] [session="{\n \"currDBName\": \"test\",\n \"id\": 12,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] testkit.go:164: Error Trace: pkg/testkit/testkit.go:164 pkg/testkit/testkit.go:157 pkg/ddl/tiflash_replica_test.go:265 Error: Received unexpected error: [domain:8028]Information schema is changed during the execution of the statement(for example, table definition may be updated by other DDL ran in parallel). If you see this error often, try increasing `tidb_max_delta_schema_count`. [try again later] github.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).checkSchemaValid external/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1871 github.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).execute external/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1694 github.com/tikv/client-go/v2/txnkv/transaction.(*KVTxn).Commit external/com_github_tikv_client_go_v2/txnkv/transaction/txn.go:714 github.com/pingcap/tidb/pkg/store/driver/txn.(*tikvTxn).Commit pkg/store/driver/txn/txn_driver.go:113 github.com/pingcap/tidb/pkg/session.(*LazyTxn).Commit pkg/session/txn.go:441 github.com/pingcap/tidb/pkg/session.(*session).commitTxnWithTemporaryData pkg/session/session.go:665 github.com/pingcap/tidb/pkg/session.(*session).doCommit pkg/session/session.go:545 github.com/pingcap/tidb/pkg/session.(*session).doCommitWithRetry pkg/session/session.go:787 github.com/pingcap/tidb/pkg/session.(*session).CommitTxn pkg/session/session.go:917 github.com/pingcap/tidb/pkg/session.autoCommitAfterStmt pkg/session/tidb.go:281 github.com/pingcap/tidb/pkg/session.finishStmt pkg/session/tidb.go:243 github.com/pingcap/tidb/pkg/session.runStmt pkg/session/session.go:2311 github.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt pkg/session/session.go:2141 github.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext pkg/testkit/testkit.go:390 github.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExecWithContext pkg/testkit/testkit.go:162 github.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExec pkg/testkit/testkit.go:157 github.com/pingcap/tidb/pkg/ddl_test.TestSkipSchemaChecker pkg/ddl/tiflash_replica_test.go:265 testing.tRunner GOROOT/src/testing/testing.go:1595 runtime.goexit src/runtime/asm_amd64.s:1650 github.com/pingcap/errors.AddStack external/com_github_pingcap_errors/errors.go:178 github.com/pingcap/errors.Trace external/com_github_pingcap_errors/juju_adaptor.go:15 github.com/pingcap/tidb/pkg/store/driver/error.ToTiDBErr pkg/store/driver/error/error.go:200 github.com/pingcap/tidb/pkg/store/driver/txn.extractKeyErr pkg/store/driver/txn/error.go:164 github.com/pingcap/tidb/pkg/store/driver/txn.(*tikvTxn).extractKeyErr pkg/store/driver/txn/txn_driver.go:340 github.com/pingcap/tidb/pkg/store/driver/txn.(*tikvTxn).Commit pkg/store/driver/txn/txn_driver.go:114 github.com/pingcap/tidb/pkg/session.(*LazyTxn).Commit pkg/session/txn.go:441 github.com/pingcap/tidb/pkg/session.(*session).commitTxnWithTemporaryData pkg/session/session.go:665 github.com/pingcap/tidb/pkg/session.(*session).doCommit pkg/session/session.go:545 github.com/pingcap/tidb/pkg/session.(*session).doCommitWithRetry pkg/session/session.go:787 github.com/pingcap/tidb/pkg/session.(*session).CommitTxn pkg/session/session.go:917 github.com/pingcap/tidb/pkg/session.autoCommitAfterStmt pkg/session/tidb.go:281 github.com/pingcap/tidb/pkg/session.finishStmt pkg/session/tidb.go:243 github.com/pingcap/tidb/pkg/session.runStmt pkg/session/session.go:2311 github.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt pkg/session/session.go:2141 github.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext pkg/testkit/testkit.go:390 github.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExecWithContext pkg/testkit/testkit.go:162 github.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExec pkg/testkit/testkit.go:157 github.com/pingcap/tidb/pkg/ddl_test.TestSkipSchemaChecker pkg/ddl/tiflash_replica_test.go:265 testing.tRunner GOROOT/src/testing/testing.go:1595 runtime.goexit src/runtime/asm_amd64.s:1650 previous statement: insert into t1 set a=1; Test: TestSkipSchemaChecker Messages: sql:commit, [], error stack [domain:8028]Information schema is changed during the execution of the statement(for example, table definition may be updated by other DDL ran in parallel). If you see this error often, try increasing `tidb_max_delta_schema_count`. [try again later] github.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).checkSchemaValid external/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1871 github.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).execute external/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1694 github.com/tikv/client-go/v2/txnkv/transaction.(*KVTxn).Commit external/com_github_tikv_client_go_v2/txnkv/transaction/txn.go:714 github.com/pingcap/tidb/pkg/store/driver/txn.(*tikvTxn).Commit pkg/store/driver/txn/txn_driver.go:113 github.com/pingcap/tidb/pkg/session.(*LazyTxn).Commit pkg/session/txn.go:441 github.com/pingcap/tidb/pkg/session.(*session).commitTxnWithTemporaryData pkg/session/session.go:665 github.com/pingcap/tidb/pkg/session.(*session).doCommit pkg/session/session.go:545 github.com/pingcap/tidb/pkg/session.(*session).doCommitWithRetry pkg/session/session.go:787 github.com/pingcap/tidb/pkg/session.(*session).CommitTxn pkg/session/session.go:917 github.com/pingcap/tidb/pkg/session.autoCommitAfterStmt pkg/session/tidb.go:281 github.com/pingcap/tidb/pkg/session.finishStmt pkg/session/tidb.go:243 github.com/pingcap/tidb/pkg/session.runStmt pkg/session/session.go:2311 github.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt pkg/session/session.go:2141 github.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext pkg/testkit/testkit.go:390 github.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExecWithContext pkg/testkit/testkit.go:162 github.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExec pkg/testkit/testkit.go:157 github.com/pingcap/tidb/pkg/ddl_test.TestSkipSchemaChecker pkg/ddl/tiflash_replica_test.go:265 testing.tRunner GOROOT/src/testing/testing.go:1595 runtime.goexit src/runtime/asm_amd64.s:1650 github.com/pingcap/errors.AddStack external/com_github_pingcap_errors/errors.go:178 github.com/pingcap/errors.Trace external/com_github_pingcap_errors/juju_adaptor.go:15 github.com/pingcap/tidb/pkg/store/driver/error.ToTiDBErr pkg/store/driver/error/error.go:200 github.com/pingcap/tidb/pkg/store/driver/txn.extractKeyErr pkg/store/driver/txn/error.go:164 github.com/pingcap/tidb/pkg/store/driver/txn.(*tikvTxn).extractKeyErr pkg/store/driver/txn/txn_driver.go:340 github.com/pingcap/tidb/pkg/store/driver/txn.(*tikvTxn).Commit pkg/store/driver/txn/txn_driver.go:114 github.com/pingcap/tidb/pkg/session.(*LazyTxn).Commit pkg/session/txn.go:441 github.com/pingcap/tidb/pkg/session.(*session).commitTxnWithTemporaryData pkg/session/session.go:665 github.com/pingcap/tidb/pkg/session.(*session).doCommit pkg/session/session.go:545 github.com/pingcap/tidb/pkg/session.(*session).doCommitWithRetry pkg/session/session.go:787 github.com/pingcap/tidb/pkg/session.(*session).CommitTxn pkg/session/session.go:917 github.com/pingcap/tidb/pkg/session.autoCommitAfterStmt pkg/session/tidb.go:281 github.com/pingcap/tidb/pkg/session.finishStmt pkg/session/tidb.go:243 github.com/pingcap/tidb/pkg/session.runStmt pkg/session/session.go:2311 github.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt pkg/session/session.go:2141 github.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext pkg/testkit/testkit.go:390 github.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExecWithContext pkg/testkit/testkit.go:162 github.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExec pkg/testkit/testkit.go:157 github.com/pingcap/tidb/pkg/ddl_test.TestSkipSchemaChecker pkg/ddl/tiflash_replica_test.go:265 testing.tRunner GOROOT/src/testing/testing.go:1595 runtime.goexit src/runtime/asm_amd64.s:1650 previous statement: insert into t1 set a=1; [2024/05/06 09:30:24.211 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=1bbfe168-3ed5-4d85-8ba4-92cc37204844] [ownerKey=/tidb/ddl/fg/owner] [2024/05/06 09:30:24.211 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/06 09:30:24.211 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 88, tp add index"] [category=ddl] ["take time"=1.927µs] [2024/05/06 09:30:24.211 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 89, tp add index"] [category=ddl] ["take time"=1.365µs] [2024/05/06 09:30:24.211 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 90, tp add index"] [category=ddl] ["take time"=1.153µs] [2024/05/06 09:30:24.211 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 87, tp add index"] [category=ddl] ["take time"=1.044µs] [2024/05/06 09:30:24.211 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/06 09:30:24.211 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 86, tp general"] [category=ddl] ["take time"=958ns] [2024/05/06 09:30:24.211 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/06 09:30:24.211 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2024/05/06 09:30:24.211 +00:00] [INFO] [session_pool.go:99] ["closing session pool"] [category=ddl] [2024/05/06 09:30:24.211 +00:00] [INFO] [ddl.go:951] ["DDL closed"] [category=ddl] [ID=1bbfe168-3ed5-4d85-8ba4-92cc37204844] ["take time"=3.514684ms] [2024/05/06 09:30:24.211 +00:00] [INFO] [ddl.go:769] ["stop DDL"] [category=ddl] [ID=1bbfe168-3ed5-4d85-8ba4-92cc37204844] [2024/05/06 09:30:24.211 +00:00] [INFO] [domain.go:1026] ["stopping ttlJobManager"] [2024/05/06 09:30:24.211 +00:00] [INFO] [task_manager.go:194] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=4] [newCount=0] [2024/05/06 09:30:24.211 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/06 09:30:24.211 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/06 09:30:24.211 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/06 09:30:24.211 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/06 09:30:24.211 +00:00] [INFO] [task_manager.go:194] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=4] [newCount=0] [2024/05/06 09:30:24.211 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/06 09:30:24.211 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/06 09:30:24.211 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/06 09:30:24.211 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/06 09:30:24.212 +00:00] [INFO] [job_manager.go:174] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [2024/05/06 09:30:24.212 +00:00] [INFO] [domain.go:1037] ["ttlJobManager exited."] [2024/05/06 09:30:24.212 +00:00] [INFO] [manager.go:280] ["recoverMetaLoop done"] [server-id=:4000] [2024/05/06 09:30:24.212 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2024/05/06 09:30:24.212 +00:00] [INFO] [domain.go:907] ["loadSchemaInLoop exited."] [2024/05/06 09:30:24.212 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2024/05/06 09:30:24.212 +00:00] [INFO] [domain.go:1527] ["stopping dist task executor manager"] [2024/05/06 09:30:24.212 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2024/05/06 09:30:24.212 +00:00] [INFO] [stats_syncload.go:202] ["SubLoadWorker exited."] [2024/05/06 09:30:24.212 +00:00] [INFO] [stats_syncload.go:202] ["SubLoadWorker exited."] [2024/05/06 09:30:24.212 +00:00] [INFO] [stats_syncload.go:202] ["SubLoadWorker exited."] [2024/05/06 09:30:24.212 +00:00] [INFO] [stats_syncload.go:202] ["SubLoadWorker exited."] [2024/05/06 09:30:24.212 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=1bbfe168-3ed5-4d85-8ba4-92cc37204844] [ownerKey=/tidb/stats/owner] [2024/05/06 09:30:24.212 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=quitStatsOwner] [2024/05/06 09:30:24.212 +00:00] [INFO] [domain.go:2352] ["indexUsageWorker exited."] [2024/05/06 09:30:24.212 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=indexUsageWorker] [2024/05/06 09:30:24.212 +00:00] [INFO] [domain.go:2074] ["dumpFileGcChecker exited."] [2024/05/06 09:30:24.212 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2024/05/06 09:30:24.212 +00:00] [INFO] [stats_syncload.go:202] ["SubLoadWorker exited."] [2024/05/06 09:30:24.212 +00:00] [INFO] [domain.go:1750] ["LoadSysVarCacheLoop exited."] [2024/05/06 09:30:24.212 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2024/05/06 09:30:24.212 +00:00] [INFO] [domain.go:1700] ["loadPrivilegeInLoop exited."] [2024/05/06 09:30:24.212 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2024/05/06 09:30:24.212 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=1bbfe168-3ed5-4d85-8ba4-92cc37204844] [ownerKey=/tidb/bindinfo/owner] [2024/05/06 09:30:24.212 +00:00] [INFO] [domain.go:1889] ["globalBindHandleWorkerLoop exited."] [2024/05/06 09:30:24.212 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2024/05/06 09:30:24.212 +00:00] [INFO] [domain.go:737] ["globalConfigSyncerKeeper exited."] [2024/05/06 09:30:24.212 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/06 09:30:24.212 +00:00] [INFO] [domain.go:711] ["infoSyncerKeeper exited."] [2024/05/06 09:30:24.212 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2024/05/06 09:30:24.212 +00:00] [INFO] [domain.go:761] ["topologySyncerKeeper exited."] [2024/05/06 09:30:24.212 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2024/05/06 09:30:24.212 +00:00] [INFO] [domain.go:1361] ["closestReplicaReadCheckLoop exited."] [2024/05/06 09:30:24.212 +00:00] [INFO] [domain.go:683] ["topNSlowQueryLoop exited."] [2024/05/06 09:30:24.212 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/06 09:30:24.212 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2024/05/06 09:30:24.212 +00:00] [INFO] [manager.go:179] ["handle tasks loop done"] [server-id=:4000] [2024/05/06 09:30:24.212 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayStartLoop] [2024/05/06 09:30:24.212 +00:00] [INFO] [domain.go:1529] ["dist task executor manager stopped"] [2024/05/06 09:30:24.212 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2024/05/06 09:30:24.213 +00:00] [INFO] [domain.go:1074] ["domain closed"] ["take time"=5.356118ms] [2024/05/06 09:30:24.214 +00:00] [INFO] [db.go:567] ["Closing database"] [2024/05/06 09:30:24.215 +00:00] [INFO] [db.go:592] ["Memtable flushed"] [2024/05/06 09:30:24.215 +00:00] [INFO] [db.go:596] ["Compaction finished"] [2024/05/06 09:30:24.215 +00:00] [INFO] [db.go:615] ["BlobManager finished"] [2024/05/06 09:30:24.215 +00:00] [INFO] [db.go:619] ["ResourceManager finished"] [2024/05/06 09:30:24.215 +00:00] [INFO] [db.go:625] ["Waiting for closer"] --- FAIL: TestSkipSchemaChecker (1.94s) FAIL coverage: 11.2% of statements -- Coverage runner: Not collecting coverage for failed test. The following commands failed with status 1 /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/sandbox/linux-sandbox/10712/execroot/__main__/bazel-out/k8-fastbuild/bin/pkg/ddl/ddl_test_/ddl_test.runfiles/__main__/pkg/ddl/ddl_test_/ddl_test ================================================================================ [11,713 / 12,556] 260 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 72s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,714 / 12,556] 260 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 73s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,716 / 12,556] 260 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 75s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,719 / 12,568] 260 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 76s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,722 / 12,570] 260 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 77s remote-cache, linux-sandbox ... (70 actions running) [11,727 / 12,570] 260 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 78s remote-cache, linux-sandbox ... (68 actions running) [11,730 / 12,570] 260 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 79s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,731 / 12,570] 261 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 80s remote-cache, linux-sandbox ... (70 actions running) [11,736 / 12,570] 261 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 82s remote-cache, linux-sandbox ... (70 actions running) [11,738 / 12,570] 261 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 83s remote-cache, linux-sandbox ... (70 actions running) [11,741 / 12,570] 261 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 84s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,746 / 12,570] 261 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 85s remote-cache, linux-sandbox ... (69 actions running) [11,748 / 12,570] 261 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 86s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,749 / 12,570] 261 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 88s remote-cache, linux-sandbox ... (70 actions running) [11,751 / 12,570] 261 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 89s remote-cache, linux-sandbox ... (70 actions running) [11,752 / 12,570] 261 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 91s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,756 / 12,570] 261 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 92s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,758 / 12,570] 261 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 93s remote-cache, linux-sandbox ... (70 actions running) [11,760 / 12,570] 261 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 94s remote-cache, linux-sandbox ... (70 actions running) [11,761 / 12,570] 261 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 95s remote-cache, linux-sandbox ... (70 actions running) [11,762 / 12,570] 261 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 96s remote-cache, linux-sandbox ... (70 actions running) [11,764 / 12,570] 261 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 98s remote-cache, linux-sandbox ... (70 actions running) [11,766 / 12,570] 261 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 99s remote-cache, linux-sandbox ... (70 actions running) [11,770 / 12,570] 261 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 100s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,771 / 12,570] 261 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 5 of 17); 102s remote-cache, linux-sandbox ... (70 actions running) [11,773 / 12,570] 261 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 86s remote-cache, linux-sandbox ... (70 actions running) [11,778 / 12,570] 261 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 88s remote-cache, linux-sandbox ... (70 actions running) [11,778 / 12,570] 261 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 89s remote-cache, linux-sandbox ... (70 actions running) [11,781 / 12,570] 262 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 90s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,783 / 12,572] 262 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 92s remote-cache, linux-sandbox ... (70 actions running) [11,786 / 12,572] 263 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 93s remote-cache, linux-sandbox ... (70 actions running) [11,787 / 12,572] 263 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 94s remote-cache, linux-sandbox ... (70 actions running) [11,790 / 12,572] 263 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 95s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,792 / 12,572] 263 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 97s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,793 / 12,572] 263 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 98s remote-cache, linux-sandbox ... (70 actions running) [11,796 / 12,572] 263 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 99s remote-cache, linux-sandbox ... (70 actions running) [11,797 / 12,572] 263 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 101s remote-cache, linux-sandbox ... (70 actions running) [11,804 / 12,572] 264 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 102s remote-cache, linux-sandbox ... (70 actions running) [11,808 / 12,572] 264 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 103s remote-cache, linux-sandbox ... (69 actions running) [11,810 / 12,572] 264 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 105s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,810 / 12,572] 264 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 106s remote-cache, linux-sandbox ... (70 actions running) [11,813 / 12,585] 264 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 108s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,815 / 12,585] 264 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 109s remote-cache, linux-sandbox ... (70 actions running) [11,817 / 12,585] 264 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 111s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,818 / 12,585] 264 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 112s remote-cache, linux-sandbox ... (70 actions running) [11,818 / 12,585] 264 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 113s remote-cache, linux-sandbox ... (70 actions running) [11,819 / 12,585] 264 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 115s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,826 / 12,598] 264 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 116s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,829 / 12,598] 264 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 117s remote-cache, linux-sandbox ... (70 actions running) [11,832 / 12,598] 264 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 118s remote-cache, linux-sandbox ... (70 actions running) [11,836 / 12,598] 264 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 120s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,838 / 12,598] 264 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 121s remote-cache, linux-sandbox ... (70 actions running) [11,841 / 12,598] 264 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 122s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,842 / 12,598] 264 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 124s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,848 / 12,598] 264 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 125s remote-cache, linux-sandbox ... (70 actions running) [11,848 / 12,598] 264 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 126s remote-cache, linux-sandbox ... (70 actions running) [11,849 / 12,598] 264 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 128s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,852 / 12,598] 264 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 129s remote-cache, linux-sandbox ... (70 actions running) [11,854 / 12,598] 264 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 130s remote-cache, linux-sandbox ... (70 actions running) [11,856 / 12,598] 264 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 131s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,858 / 12,598] 264 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 133s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,860 / 12,598] 264 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 134s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,861 / 12,598] 264 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 135s remote-cache, linux-sandbox ... (70 actions running) [11,861 / 12,598] 264 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 139s remote-cache, linux-sandbox ... (70 actions running) [11,867 / 12,598] 264 / 411 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 85s remote-cache, linux-sandbox ... (70 actions running) [11,874 / 12,646] 264 / 411 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 86s remote-cache, linux-sandbox ... (70 actions running) [11,874 / 12,646] 264 / 411 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 88s remote-cache, linux-sandbox ... (70 actions running) [11,877 / 12,646] 264 / 411 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 89s remote-cache, linux-sandbox ... (70 actions running) [11,880 / 12,646] 265 / 411 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 90s remote-cache, linux-sandbox ... (70 actions running) [11,884 / 12,646] 265 / 411 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 92s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,886 / 12,646] 266 / 411 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 93s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,887 / 12,646] 266 / 411 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 94s remote-cache, linux-sandbox ... (70 actions running) [11,891 / 12,646] 267 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 61s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,893 / 12,646] 268 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 62s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,895 / 12,646] 268 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 63s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,895 / 12,646] 268 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 64s remote-cache, linux-sandbox ... (70 actions running) [11,896 / 12,646] 268 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 66s remote-cache, linux-sandbox ... (70 actions running) [11,899 / 12,646] 268 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 67s remote-cache, linux-sandbox ... (70 actions running) [11,901 / 12,646] 268 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 68s remote-cache, linux-sandbox ... (70 actions running) [11,903 / 12,646] 268 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 69s remote-cache, linux-sandbox ... (70 actions running) [11,909 / 12,666] 268 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 70s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,912 / 12,666] 268 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 72s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,913 / 12,666] 268 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 73s remote-cache, linux-sandbox ... (70 actions running) [11,916 / 12,666] 268 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 75s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,917 / 12,666] 268 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 76s remote-cache, linux-sandbox ... (68 actions running) [11,923 / 12,687] 268 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 78s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,929 / 12,687] 268 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 79s remote-cache, linux-sandbox ... (70 actions running) [11,933 / 12,687] 268 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 80s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,933 / 12,687] 268 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 82s remote-cache, linux-sandbox ... (70 actions running) [11,933 / 12,687] 268 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 83s remote-cache, linux-sandbox ... (70 actions running) [11,936 / 12,687] 268 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 85s remote-cache, linux-sandbox ... (70 actions running) [11,937 / 12,687] 268 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 86s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,942 / 12,687] 268 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 88s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,944 / 12,687] 268 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 89s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,947 / 12,687] 268 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 90s remote-cache, linux-sandbox ... (70 actions running) [11,947 / 12,687] 268 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 92s remote-cache, linux-sandbox ... (70 actions running) [11,953 / 12,749] 268 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 94s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,955 / 12,749] 268 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 95s remote-cache, linux-sandbox ... (70 actions running) [11,960 / 12,749] 268 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 97s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,965 / 12,749] 268 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 98s remote-cache, linux-sandbox ... (70 actions running) [11,967 / 12,749] 268 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 99s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,970 / 12,749] 268 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 101s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,975 / 12,749] 268 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 102s remote-cache, linux-sandbox ... (70 actions running) [11,978 / 12,749] 268 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 104s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,978 / 12,749] 268 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 105s remote-cache, linux-sandbox ... (70 actions running) [11,980 / 12,749] 268 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 106s remote-cache, linux-sandbox ... (70 actions running) [11,985 / 12,749] 268 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 107s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,988 / 12,749] 268 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 109s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,989 / 12,749] 268 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 110s remote-cache, linux-sandbox ... (70 actions running) [11,995 / 12,749] 268 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 111s remote-cache, linux-sandbox ... (70 actions running) [11,996 / 12,749] 268 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 112s remote-cache, linux-sandbox ... (70 actions running) [12,004 / 12,749] 269 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 113s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,005 / 12,749] 269 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 114s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,007 / 12,749] 269 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 116s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,011 / 12,749] 269 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 117s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,016 / 12,749] 269 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 118s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,016 / 12,749] 269 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 119s remote-cache, linux-sandbox ... (70 actions running) [12,016 / 12,749] 269 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 120s remote-cache, linux-sandbox ... (70 actions running) [12,024 / 12,749] 270 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 122s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,025 / 12,749] 271 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 123s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,026 / 12,749] 271 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 124s remote-cache, linux-sandbox ... (70 actions running) [12,032 / 12,751] 271 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 125s remote-cache, linux-sandbox ... (70 actions running) [12,033 / 12,751] 271 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 127s remote-cache, linux-sandbox ... (70 actions running) [12,034 / 12,751] 271 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 128s remote-cache, linux-sandbox ... (70 actions running) [12,039 / 12,751] 272 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 130s remote-cache, linux-sandbox ... (70 actions running) [12,040 / 12,751] 272 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 131s remote-cache, linux-sandbox ... (70 actions running) [12,043 / 12,751] 272 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 133s remote-cache, linux-sandbox ... (70 actions running) [12,049 / 12,751] 272 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 134s remote-cache, linux-sandbox ... (70 actions running) [12,052 / 12,751] 272 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 135s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,055 / 12,760] 272 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 136s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,062 / 12,760] 272 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 138s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,063 / 12,760] 272 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 139s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,066 / 12,760] 272 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 140s remote-cache, linux-sandbox ... (70 actions running) [12,071 / 12,760] 272 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 141s remote-cache, linux-sandbox ... (70 actions running) [12,080 / 12,760] 272 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 142s remote-cache, linux-sandbox ... (70 actions running) [12,086 / 12,760] 272 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 144s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,088 / 12,760] 272 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 145s remote-cache, linux-sandbox ... (70 actions running) [12,093 / 12,760] 272 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 146s remote-cache, linux-sandbox ... (70 actions running) [12,097 / 12,760] 272 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 147s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,098 / 12,760] 272 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 148s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,101 / 12,760] 273 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 150s remote-cache, linux-sandbox ... (70 actions running) [12,109 / 12,760] 273 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 151s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,118 / 12,760] 273 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 152s remote-cache, linux-sandbox ... (70 actions running) [12,121 / 12,760] 273 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 154s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,129 / 12,760] 274 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 155s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,131 / 12,760] 274 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 156s remote-cache, linux-sandbox ... (70 actions running) [12,135 / 12,760] 274 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 158s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,137 / 12,760] 275 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 159s remote-cache, linux-sandbox ... (70 actions running) [12,141 / 12,760] 276 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 160s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,143 / 12,760] 276 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 161s remote-cache, linux-sandbox ... (70 actions running) [12,144 / 12,760] 276 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 163s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,157 / 12,811] 276 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 164s remote-cache, linux-sandbox ... (67 actions, 66 running) [12,162 / 12,839] 276 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 165s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,167 / 12,839] 276 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 166s remote-cache, linux-sandbox ... (70 actions running) [12,171 / 12,839] 276 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 167s remote-cache, linux-sandbox ... (70 actions running) [12,173 / 12,848] 276 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 168s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,180 / 12,848] 276 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 170s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,183 / 12,848] 276 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 171s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,186 / 12,848] 276 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 172s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,189 / 12,848] 276 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 173s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,192 / 12,848] 276 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 174s remote-cache, linux-sandbox ... (69 actions running) [12,198 / 12,848] 277 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 175s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,203 / 12,848] 277 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 176s remote-cache, linux-sandbox ... (70 actions running) [12,203 / 12,848] 277 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 178s remote-cache, linux-sandbox ... (70 actions running) [12,211 / 12,848] 277 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 179s remote-cache, linux-sandbox ... (70 actions running) [12,216 / 12,848] 277 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 181s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,219 / 12,848] 277 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 182s remote-cache, linux-sandbox ... (70 actions running) [12,223 / 12,872] 277 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 183s remote-cache, linux-sandbox ... (70 actions running) [12,228 / 12,872] 277 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 185s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,231 / 12,872] 278 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 186s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,236 / 12,872] 278 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 187s remote-cache, linux-sandbox ... (70 actions running) [12,242 / 12,923] 278 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 188s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,243 / 12,923] 279 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 189s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,246 / 12,923] 279 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 191s remote-cache, linux-sandbox ... (70 actions running) [12,246 / 12,923] 279 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 192s remote-cache, linux-sandbox ... (70 actions running) [12,254 / 12,923] 279 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 193s remote-cache, linux-sandbox ... (70 actions running) [12,258 / 12,927] 279 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 194s remote-cache, linux-sandbox ... (70 actions running) [12,261 / 12,927] 279 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 196s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,265 / 12,927] 279 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 197s remote-cache, linux-sandbox ... (70 actions running) [12,265 / 12,927] 279 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 199s remote-cache, linux-sandbox ... (70 actions running) [12,274 / 12,936] 281 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 200s remote-cache, linux-sandbox ... (70 actions running) [12,279 / 12,936] 281 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 201s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,285 / 12,936] 281 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 203s remote-cache, linux-sandbox ... (70 actions running) [12,288 / 12,936] 281 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 205s remote-cache, linux-sandbox ... (70 actions running) [12,292 / 12,936] 281 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 207s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,297 / 12,936] 281 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 208s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,298 / 12,936] 282 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 209s remote-cache, linux-sandbox ... (70 actions running) [12,299 / 12,936] 282 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 211s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,301 / 12,936] 282 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 212s remote-cache, linux-sandbox ... (70 actions running) [12,305 / 12,936] 282 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 213s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,307 / 12,936] 282 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 215s remote-cache, linux-sandbox ... (67 actions, 66 running) [12,310 / 12,948] 282 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 216s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,311 / 12,948] 282 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 217s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,311 / 12,948] 282 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 218s remote-cache, linux-sandbox ... (70 actions running) [12,314 / 12,948] 283 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 219s remote-cache, linux-sandbox ... (70 actions running) [12,318 / 12,977] 283 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 221s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,319 / 12,977] 283 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 222s remote-cache, linux-sandbox ... (70 actions running) [12,319 / 12,977] 283 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 223s remote-cache, linux-sandbox ... (70 actions running) [12,320 / 12,977] 283 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 224s remote-cache, linux-sandbox ... (70 actions running) [12,321 / 12,977] 283 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 225s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,325 / 12,977] 283 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 226s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,327 / 12,989] 283 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 228s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,329 / 12,989] 283 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 229s remote-cache, linux-sandbox ... (70 actions running) [12,332 / 12,989] 283 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 230s remote-cache, linux-sandbox ... (68 actions running) [12,334 / 12,989] 283 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 231s remote-cache, linux-sandbox ... (70 actions running) [12,339 / 12,989] 283 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 232s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,340 / 12,989] 283 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 234s remote-cache, linux-sandbox ... (70 actions running) [12,344 / 12,989] 283 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 235s remote-cache, linux-sandbox ... (70 actions running) [12,345 / 12,989] 283 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 237s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,353 / 12,989] 283 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 238s remote-cache, linux-sandbox ... (70 actions running) [12,356 / 12,989] 283 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 240s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,358 / 12,989] 284 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 241s remote-cache, linux-sandbox ... (70 actions running) [12,360 / 12,989] 284 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 242s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,363 / 12,989] 284 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 243s remote-cache, linux-sandbox ... (69 actions running) [12,365 / 12,989] 284 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 244s remote-cache, linux-sandbox ... (70 actions running) [12,366 / 12,989] 284 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 245s remote-cache, linux-sandbox ... (70 actions running) [12,368 / 12,989] 284 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 247s remote-cache, linux-sandbox ... (70 actions running) [12,371 / 12,989] 284 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 248s remote-cache, linux-sandbox ... (70 actions running) [12,374 / 12,989] 284 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 250s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,379 / 12,989] 284 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 251s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,383 / 12,991] 284 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 252s remote-cache, linux-sandbox ... (70 actions running) [12,385 / 12,991] 284 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 253s remote-cache, linux-sandbox ... (70 actions running) [12,386 / 12,991] 284 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 255s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,387 / 12,991] 284 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 256s remote-cache, linux-sandbox ... (70 actions running) [12,391 / 12,991] 284 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 257s remote-cache, linux-sandbox ... (70 actions running) [12,393 / 12,991] 284 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 259s remote-cache, linux-sandbox ... (70 actions running) [12,395 / 12,991] 284 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 261s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,396 / 12,991] 284 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 262s remote-cache, linux-sandbox ... (70 actions running) [12,400 / 12,991] 284 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 264s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,403 / 12,991] 284 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 265s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,405 / 12,991] 284 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 266s remote-cache, linux-sandbox ... (70 actions running) [12,408 / 12,991] 284 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 267s remote-cache, linux-sandbox ... (70 actions running) [12,411 / 12,991] 284 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 268s remote-cache, linux-sandbox ... (70 actions running) [12,414 / 12,991] 284 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 269s remote-cache, linux-sandbox ... (70 actions running) [12,414 / 12,991] 284 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 270s remote-cache, linux-sandbox ... (70 actions running) [12,417 / 12,991] 284 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 272s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,418 / 12,991] 284 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 273s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,421 / 12,991] 284 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 274s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,423 / 12,991] 284 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 275s remote-cache, linux-sandbox ... (70 actions running) [12,423 / 12,991] 284 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 276s remote-cache, linux-sandbox ... (70 actions running) [12,430 / 12,991] 284 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 278s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,432 / 12,991] 284 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 279s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,434 / 12,991] 284 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 280s remote-cache, linux-sandbox ... (70 actions running) [12,438 / 12,991] 285 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 281s remote-cache, linux-sandbox ... (70 actions running) [12,440 / 12,991] 285 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 283s remote-cache, linux-sandbox ... (70 actions running) [12,446 / 12,991] 285 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 284s remote-cache, linux-sandbox ... (70 actions running) [12,447 / 12,991] 285 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 285s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,453 / 12,991] 286 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 287s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,463 / 12,991] 286 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 288s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,471 / 12,991] 286 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 289s remote-cache, linux-sandbox ... (69 actions running) [12,478 / 12,991] 287 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 290s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,478 / 12,991] 287 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 291s remote-cache, linux-sandbox ... (70 actions running) [12,485 / 12,991] 287 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 293s remote-cache, linux-sandbox ... (70 actions running) [12,486 / 12,991] 287 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 294s remote-cache, linux-sandbox ... (70 actions running) [12,490 / 12,991] 287 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 296s remote-cache, linux-sandbox ... (70 actions running) [12,491 / 12,991] 287 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 297s remote-cache, linux-sandbox ... (70 actions running) [12,493 / 12,991] 287 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 298s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,498 / 12,991] 288 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 300s remote-cache, linux-sandbox ... (70 actions running) [12,498 / 12,991] 288 / 411 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 19 of 28); 61s remote-cache, linux-sandbox ... (70 actions running) [12,502 / 12,993] 288 / 411 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 19 of 28); 62s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,505 / 12,997] 288 / 411 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 19 of 28); 64s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,507 / 12,997] 288 / 411 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 19 of 28); 65s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,512 / 12,999] 288 / 411 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 19 of 28); 66s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,514 / 13,001] 289 / 411 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 19 of 28); 67s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,519 / 13,001] 290 / 411 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 19 of 28); 68s remote-cache, linux-sandbox ... (70 actions running) [12,521 / 13,001] 291 / 411 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 19 of 28); 69s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,524 / 13,001] 291 / 411 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 19 of 28); 71s remote-cache, linux-sandbox ... (70 actions running) [12,526 / 13,003] 291 / 411 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 19 of 28); 73s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,530 / 13,003] 291 / 411 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 19 of 28); 74s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,530 / 13,003] 291 / 411 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 19 of 28); 75s remote-cache, linux-sandbox ... (70 actions running) [12,534 / 13,003] 292 / 411 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 19 of 28); 76s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,534 / 13,003] 292 / 411 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 19 of 28); 78s remote-cache, linux-sandbox ... (70 actions running) [12,535 / 13,003] 292 / 411 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 19 of 28); 80s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,540 / 13,067] 292 / 411 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 19 of 28); 81s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,543 / 13,069] 292 / 411 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 19 of 28); 82s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,544 / 13,069] 292 / 411 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 19 of 28); 83s remote-cache, linux-sandbox ... (70 actions running) [12,546 / 13,069] 293 / 411 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 19 of 28); 84s remote-cache, linux-sandbox ... (70 actions running) [12,550 / 13,069] 293 / 411 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 19 of 28); 86s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,554 / 13,076] 293 / 411 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 19 of 28); 87s remote-cache, linux-sandbox ... (68 actions running) [12,555 / 13,098] 293 / 411 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 19 of 28); 88s remote-cache, linux-sandbox ... (70 actions running) [12,563 / 13,129] 293 / 411 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 12 of 28); 63s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,564 / 13,129] 293 / 411 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 12 of 28); 64s remote-cache, linux-sandbox ... (70 actions running) [12,565 / 13,129] 294 / 411 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 12 of 28); 66s remote-cache, linux-sandbox ... (70 actions running) [12,576 / 13,153] 294 / 411 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 12 of 28); 67s remote-cache, linux-sandbox ... (70 actions running) [12,577 / 13,153] 294 / 411 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 12 of 28); 69s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,587 / 13,160] 294 / 411 tests; Testing //pkg/bindinfo:bindinfo_test (shard 38 of 50); 63s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,592 / 13,183] 295 / 411 tests; Testing //pkg/bindinfo:bindinfo_test (shard 38 of 50); 64s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,595 / 13,183] 295 / 411 tests; Testing //pkg/bindinfo:bindinfo_test (shard 38 of 50); 65s remote-cache, linux-sandbox ... (70 actions running) [12,601 / 13,183] 295 / 411 tests; Testing //pkg/bindinfo:bindinfo_test (shard 38 of 50); 67s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,604 / 13,183] 295 / 411 tests; Testing //pkg/bindinfo:bindinfo_test (shard 38 of 50); 68s remote-cache, linux-sandbox ... (70 actions running) [12,607 / 13,183] 295 / 411 tests; Testing //pkg/bindinfo:bindinfo_test (shard 38 of 50); 69s remote-cache, linux-sandbox ... (70 actions running) [12,613 / 13,183] 295 / 411 tests; Testing //pkg/bindinfo:bindinfo_test (shard 38 of 50); 71s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,617 / 13,183] 295 / 411 tests; Testing //pkg/bindinfo:bindinfo_test (shard 38 of 50); 72s remote-cache, linux-sandbox ... (70 actions running) [12,620 / 13,185] 296 / 411 tests; Testing //pkg/bindinfo:bindinfo_test (shard 38 of 50); 74s remote-cache, linux-sandbox ... (70 actions running) [12,630 / 13,185] 296 / 411 tests; Testing //pkg/bindinfo:bindinfo_test (shard 38 of 50); 75s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,635 / 13,187] 298 / 411 tests; Testing //pkg/bindinfo:bindinfo_test (shard 38 of 50); 76s remote-cache, linux-sandbox ... (70 actions running) [12,640 / 13,220] 298 / 411 tests; Testing //pkg/bindinfo:bindinfo_test (shard 38 of 50); 77s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,643 / 13,238] 298 / 411 tests; Testing //pkg/bindinfo:bindinfo_test (shard 38 of 50); 78s remote-cache, linux-sandbox ... (70 actions running) [12,647 / 13,238] 298 / 411 tests; Testing //pkg/bindinfo:bindinfo_test (shard 38 of 50); 79s remote-cache, linux-sandbox ... (70 actions running) [12,657 / 13,238] 301 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 52s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,662 / 13,238] 301 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 53s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,662 / 13,238] 302 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 54s remote-cache, linux-sandbox ... (70 actions running) [12,665 / 13,238] 302 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 56s remote-cache, linux-sandbox ... (70 actions running) [12,676 / 13,238] 302 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 58s remote-cache, linux-sandbox ... (70 actions running) [12,676 / 13,238] 302 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 59s remote-cache, linux-sandbox ... (70 actions running) FLAKY: //pkg/ddl:ddl_test (Summary) /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_7_of_50/test_attempts/attempt_1.log /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_17_of_50/test_attempts/attempt_1.log INFO: From Testing //pkg/ddl:ddl_test (shard 17 of 50): ==================== Test output for //pkg/ddl:ddl_test (shard 17 of 50): === RUN TestCancel [2024/05/06 09:31:31.909 +00:00] [INFO] [store_cache.go:510] ["change store resolve state"] [store=1] [addr=store1] [from=unresolved] [to=resolved] [liveness-state=reachable] [2024/05/06 09:31:31.910 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 09:31:31.910 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 09:31:31.911 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 09:31:31.911 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 09:31:31.914 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 09:31:31.916 +00:00] [INFO] [tidb.go:80] ["new domain"] [store=1a51bf8b-6d74-4bfc-8f77-4fb58b4c4fb4] ["ddl lease"=100ms] ["stats lease"=-1ns] [2024/05/06 09:31:31.928 +00:00] [WARN] [controller.go:198] ["[resource group controller] server does not save config, load config failed"] [2024/05/06 09:31:31.928 +00:00] [INFO] [controller.go:185] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":10,\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\"}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":10,\"DegradedModeWaitDuration\":0}"] [2024/05/06 09:31:31.929 +00:00] [WARN] [domain.go:245] ["failed to get schema version"] [error="There is no Write MVCC info for the schema version"] [errorVerbose="There is no Write MVCC info for the schema version\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:335\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:242\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:606\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init\n\tpkg/domain/domain.go:1260\ngithub.com/pingcap/tidb/pkg/session.(*domainMap).Get.func1\n\tpkg/session/tidb.go:92\ngithub.com/pingcap/tidb/pkg/util.RunWithRetry\n\tpkg/util/misc.go:70\ngithub.com/pingcap/tidb/pkg/session.(*domainMap).Get\n\tpkg/session/tidb.go:79\ngithub.com/pingcap/tidb/pkg/session.createSessionWithOpt\n\tpkg/session/session.go:3620\ngithub.com/pingcap/tidb/pkg/session.createSession\n\tpkg/session/session.go:3612\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3562\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3346\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3312\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:294\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomainWithSchemaLease\n\tpkg/testkit/mockstore.go:319\ngithub.com/pingcap/tidb/pkg/ddl_test.TestCancel\n\tpkg/ddl/cancel_test.go:207\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=0] [2024/05/06 09:31:31.933 +00:00] [INFO] [domain.go:315] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=0] ["start time"=3.898295ms] [2024/05/06 09:31:31.933 +00:00] [INFO] [domain.go:635] ["full load and reset schema validator"] [2024/05/06 09:31:31.933 +00:00] [INFO] [ddl.go:818] ["start DDL"] [category=ddl] [ID=b443fa78-cdd0-4c73-8855-83ae0b3cce63] [runWorker=true] [2024/05/06 09:31:31.934 +00:00] [INFO] [ddl.go:777] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=true] [2024/05/06 09:31:31.934 +00:00] [WARN] [env.go:51] ["initialize environment failed"] [category=ddl-ingest] ["storage limitation"="only support TiKV storage"] ["current storage"=unistore] ["lightning is initialized"=false] [2024/05/06 09:31:31.934 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2024/05/06 09:31:31.934 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=mdlCheckLoop] [2024/05/06 09:31:31.934 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2024/05/06 09:31:31.934 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2024/05/06 09:31:31.934 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/06 09:31:31.934 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayStartLoop] [2024/05/06 09:31:31.934 +00:00] [INFO] [delete_range.go:172] ["start delRange emulator"] [category=ddl] [2024/05/06 09:31:31.934 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/06 09:31:31.934 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2024/05/06 09:31:31.934 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/06 09:31:31.934 +00:00] [WARN] [domain.go:1326] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/06 09:31:31.934 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/06 09:31:31.934 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/06 09:31:31.934 +00:00] [INFO] [runaway.go:149] ["try to start runaway manager loop"] [2024/05/06 09:31:31.935 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=0] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS test"] [user=] [2024/05/06 09:31:31.941 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:31.939 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:31:31.941 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:31.939 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE DATABASE IF NOT EXISTS test"] [2024/05/06 09:31:31.986 +00:00] [WARN] [domain.go:245] ["failed to get schema version"] [error="There is no Write MVCC info for the schema version"] [errorVerbose="There is no Write MVCC info for the schema version\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:335\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:242\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:606\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:914\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1287\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:99\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=0] [2024/05/06 09:31:31.987 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/06 09:31:31.987 +00:00] [INFO] [job_table.go:349] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2024/05/06 09:31:31.993 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=3] [category=ddl] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:31.939 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:32.000 +00:00] [INFO] [domain.go:315] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=1] ["start time"=3.876466ms] [2024/05/06 09:31:32.000 +00:00] [INFO] [domain.go:635] ["full load and reset schema validator"] [2024/05/06 09:31:32.002 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:31:32.002 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=3] [version=1] [2024/05/06 09:31:32.002 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=1] ["take time"=6.589686ms] [job="ID:3, Type:create schema, State:done, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:31.939 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:32.015 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=3] [job="ID:3, Type:create schema, State:synced, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:31.939 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:32.019 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=3] [2024/05/06 09:31:32.019 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:31:32.019 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS `mysql`"] [user=] [2024/05/06 09:31:32.020 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.user (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tauthentication_string\tTEXT,\n\t\tplugin\t\t\t\t\tCHAR(64),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tProcess_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_db_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tSuper_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_user_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_slave_priv\t \tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_client_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_role_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_role_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAccount_locked\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShutdown_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReload_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tFILE_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tConfig_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_reuse_history smallint unsigned DEFAULT NULL,\n\t\tPassword_reuse_time smallint unsigned DEFAULT NULL,\n\t\tUser_attributes\t\t\tjson,\n\t\tToken_issuer\t\t\tVARCHAR(255),\n\t\tPassword_expired\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_last_changed\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP(),\n\t\tPassword_lifetime\t\tSMALLINT UNSIGNED DEFAULT NULL,\n\t\tPRIMARY KEY (Host, User));"] [user=] [2024/05/06 09:31:32.026 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:32.022 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:31:32.026 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:32.022 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.user (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tauthentication_string\tTEXT,\n\t\tplugin\t\t\t\t\tCHAR(64),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tProcess_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_db_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tSuper_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_user_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_slave_priv\t \tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_client_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_role_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_role_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAccount_locked\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShutdown_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReload_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tFILE_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tConfig_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_reuse_history smallint unsigned DEFAULT NULL,\n\t\tPassword_reuse_time smallint unsigned DEFAULT NULL,\n\t\tUser_attributes\t\t\tjson,\n\t\tToken_issuer\t\t\tVARCHAR(255),\n\t\tPassword_expired\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_last_changed\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP(),\n\t\tPassword_lifetime\t\tSMALLINT UNSIGNED DEFAULT NULL,\n\t\tPRIMARY KEY (Host, User));"] [2024/05/06 09:31:32.034 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=5] [category=ddl] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:32.022 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:32.048 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=1] [neededSchemaVersion=2] ["start time"=967.348µs] [gotSchemaVersion=2] [phyTblIDs="[4]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:31:32.049 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:31:32.049 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=5] [version=2] [2024/05/06 09:31:32.060 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=2] ["take time"=13.268017ms] [job="ID:5, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:32.022 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:32.068 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=5] [job="ID:5, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:32.022 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:32.076 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=5] [2024/05/06 09:31:32.076 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:31:32.076 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=2] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.password_history (\n Host char(255) NOT NULL DEFAULT '',\n User char(32) NOT NULL DEFAULT '',\n Password_timestamp timestamp(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n Password text,\n PRIMARY KEY (Host,User,Password_timestamp )\n ) COMMENT='Password history for user accounts' "] [user=] [2024/05/06 09:31:32.096 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:32.084 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:31:32.096 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:32.084 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.password_history (\n Host char(255) NOT NULL DEFAULT '',\n User char(32) NOT NULL DEFAULT '',\n Password_timestamp timestamp(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n Password text,\n PRIMARY KEY (Host,User,Password_timestamp )\n ) COMMENT='Password history for user accounts' "] [2024/05/06 09:31:32.120 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=7] [category=ddl] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:32.084 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:32.124 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=2] [neededSchemaVersion=3] ["start time"=247.58µs] [gotSchemaVersion=3] [phyTblIDs="[6]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:31:32.125 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:31:32.125 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=7] [version=3] [2024/05/06 09:31:32.141 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=3] ["take time"=17.463068ms] [job="ID:7, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:32.084 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:32.147 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=7] [job="ID:7, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:32.084 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:32.152 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=7] [2024/05/06 09:31:32.152 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:31:32.152 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=3] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.global_priv (Host CHAR(255) NOT NULL DEFAULT '',User CHAR(80) NOT NULL DEFAULT '',Priv LONGTEXT NOT NULL DEFAULT '',PRIMARY KEY (Host, User))"] [user=] [2024/05/06 09:31:32.156 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:32.154 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:31:32.156 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:32.154 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.global_priv (Host CHAR(255) NOT NULL DEFAULT '',User CHAR(80) NOT NULL DEFAULT '',Priv LONGTEXT NOT NULL DEFAULT '',PRIMARY KEY (Host, User))"] [2024/05/06 09:31:32.207 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=9] [category=ddl] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:32.154 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:32.215 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=3] [neededSchemaVersion=4] ["start time"=352.454µs] [gotSchemaVersion=4] [phyTblIDs="[8]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:31:32.217 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:31:32.217 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=9] [version=4] [2024/05/06 09:31:32.217 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=4] ["take time"=2.251929ms] [job="ID:9, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:32.154 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:32.241 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=9] [job="ID:9, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:32.154 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:32.248 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=9] [2024/05/06 09:31:32.248 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:31:32.249 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=4] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.db (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tDB\t\t\t\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv \t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (Host, DB, User));"] [user=] [2024/05/06 09:31:32.254 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:32.251 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:31:32.254 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:32.251 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.db (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tDB\t\t\t\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv \t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (Host, DB, User));"] [2024/05/06 09:31:32.267 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=11] [category=ddl] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:32.251 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:32.273 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=4] [neededSchemaVersion=5] ["start time"=484.329µs] [gotSchemaVersion=5] [phyTblIDs="[10]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:31:32.274 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:31:32.274 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=11] [version=5] [2024/05/06 09:31:32.274 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=5] ["take time"=2.156824ms] [job="ID:11, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:32.251 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:32.280 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=11] [job="ID:11, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:32.251 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:32.286 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=11] [2024/05/06 09:31:32.286 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:31:32.287 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=5] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tables_priv (\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tGrantor\t\tCHAR(77),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tTable_priv\tSET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'),\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name));"] [user=] [2024/05/06 09:31:32.292 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:32.288 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:31:32.292 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:32.288 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tables_priv (\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tGrantor\t\tCHAR(77),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tTable_priv\tSET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'),\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name));"] [2024/05/06 09:31:32.302 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=13] [category=ddl] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:32.288 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:32.308 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=5] [neededSchemaVersion=6] ["start time"=301.135µs] [gotSchemaVersion=6] [phyTblIDs="[12]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:31:32.309 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:31:32.309 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=13] [version=6] [2024/05/06 09:31:32.310 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=6] ["take time"=2.645416ms] [job="ID:13, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:32.288 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:32.319 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=13] [job="ID:13, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:32.288 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:32.332 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=13] [2024/05/06 09:31:32.332 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:31:32.333 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=6] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.columns_priv(\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tColumn_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name, Column_name));"] [user=] [2024/05/06 09:31:32.339 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:32.337 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:31:32.339 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:32.337 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.columns_priv(\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tColumn_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name, Column_name));"] [2024/05/06 09:31:32.346 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=15] [category=ddl] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:32.337 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:32.350 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=7] ["start time"=363.908µs] [gotSchemaVersion=7] [phyTblIDs="[14]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:31:32.352 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:31:32.352 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=15] [version=7] [2024/05/06 09:31:32.353 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=7] ["take time"=3.037097ms] [job="ID:15, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:32.337 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:32.374 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=15] [job="ID:15, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:32.337 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:32.380 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=15] [2024/05/06 09:31:32.380 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:31:32.381 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=7] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.GLOBAL_VARIABLES(\n\t\tVARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE VARCHAR(16383) DEFAULT NULL);"] [user=] [2024/05/06 09:31:32.385 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:32.383 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:31:32.385 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:32.383 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.GLOBAL_VARIABLES(\n\t\tVARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE VARCHAR(16383) DEFAULT NULL);"] [2024/05/06 09:31:32.393 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=17] [category=ddl] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:32.383 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:32.396 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=7] [neededSchemaVersion=8] ["start time"=242.193µs] [gotSchemaVersion=8] [phyTblIDs="[16]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:31:32.398 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:31:32.398 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=17] [version=8] [2024/05/06 09:31:32.398 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=8] ["take time"=2.301732ms] [job="ID:17, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:32.383 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:32.408 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=17] [job="ID:17, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:32.383 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:32.414 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=17] [2024/05/06 09:31:32.414 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:31:32.415 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=8] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb(\n\t\tVARIABLE_NAME \tVARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE \tVARCHAR(1024) DEFAULT NULL,\n\t\tCOMMENT \t\tVARCHAR(1024));"] [user=] [2024/05/06 09:31:32.420 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:32.418 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:31:32.420 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:32.418 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb(\n\t\tVARIABLE_NAME \tVARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE \tVARCHAR(1024) DEFAULT NULL,\n\t\tCOMMENT \t\tVARCHAR(1024));"] [2024/05/06 09:31:32.428 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=19] [category=ddl] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:32.418 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:32.431 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=8] [neededSchemaVersion=9] ["start time"=229.398µs] [gotSchemaVersion=9] [phyTblIDs="[18]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:31:32.433 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:31:32.433 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=19] [version=9] [2024/05/06 09:31:32.436 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=9] ["take time"=5.178141ms] [job="ID:19, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:32.418 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:32.449 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=19] [job="ID:19, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:32.418 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:32.452 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=19] [2024/05/06 09:31:32.452 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:31:32.452 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=9] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.help_topic (\n \t\thelp_topic_id \t\tINT(10) UNSIGNED NOT NULL,\n \t\tname \t\t\t\tCHAR(64) NOT NULL,\n \t\thelp_category_id \tSMALLINT(5) UNSIGNED NOT NULL,\n \t\tdescription \t\tTEXT NOT NULL,\n \t\texample \t\t\tTEXT NOT NULL,\n \t\turl \t\t\t\tTEXT NOT NULL,\n \t\tPRIMARY KEY (help_topic_id) clustered,\n \t\tUNIQUE KEY name (name)\n\t\t) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] [user=] [2024/05/06 09:31:32.456 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:32.454 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:31:32.456 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:32.454 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.help_topic (\n \t\thelp_topic_id \t\tINT(10) UNSIGNED NOT NULL,\n \t\tname \t\t\t\tCHAR(64) NOT NULL,\n \t\thelp_category_id \tSMALLINT(5) UNSIGNED NOT NULL,\n \t\tdescription \t\tTEXT NOT NULL,\n \t\texample \t\t\tTEXT NOT NULL,\n \t\turl \t\t\t\tTEXT NOT NULL,\n \t\tPRIMARY KEY (help_topic_id) clustered,\n \t\tUNIQUE KEY name (name)\n\t\t) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] [2024/05/06 09:31:32.464 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=21] [category=ddl] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:32.454 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:32.469 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=9] [neededSchemaVersion=10] ["start time"=386.726µs] [gotSchemaVersion=10] [phyTblIDs="[20]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:31:32.471 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:31:32.471 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=21] [version=10] [2024/05/06 09:31:32.473 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=10] ["take time"=4.562045ms] [job="ID:21, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:32.454 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:32.482 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=21] [job="ID:21, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:32.454 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:32.486 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=21] [2024/05/06 09:31:32.486 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:31:32.487 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=10] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_meta (\n\t\tversion \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\ttable_id \t\tBIGINT(64) NOT NULL,\n\t\tmodify_count\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcount \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tsnapshot BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tINDEX idx_ver(version),\n\t\tUNIQUE INDEX tbl(table_id)\n\t);"] [user=] [2024/05/06 09:31:32.496 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:32.489 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:31:32.496 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:32.489 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_meta (\n\t\tversion \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\ttable_id \t\tBIGINT(64) NOT NULL,\n\t\tmodify_count\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcount \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tsnapshot BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tINDEX idx_ver(version),\n\t\tUNIQUE INDEX tbl(table_id)\n\t);"] [2024/05/06 09:31:32.504 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=23] [category=ddl] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:32.489 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:32.508 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=10] [neededSchemaVersion=11] ["start time"=340.219µs] [gotSchemaVersion=11] [phyTblIDs="[22]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:31:32.510 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:31:32.510 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=23] [version=11] [2024/05/06 09:31:32.515 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=11] ["take time"=7.62142ms] [job="ID:23, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:32.489 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:32.524 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=23] [job="ID:23, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:32.489 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:32.529 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=23] [2024/05/06 09:31:32.529 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:31:32.535 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=11] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_histograms (\n\t\ttable_id \t\t\tBIGINT(64) NOT NULL,\n\t\tis_index \t\t\tTINYINT(2) NOT NULL,\n\t\thist_id \t\t\tBIGINT(64) NOT NULL,\n\t\tdistinct_count \t\tBIGINT(64) NOT NULL,\n\t\tnull_count \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\ttot_col_size \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tmodify_count \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tversion \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tcm_sketch \t\t\tBLOB(6291456),\n\t\tstats_ver \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tflag \t\t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcorrelation \t\tDOUBLE NOT NULL DEFAULT 0,\n\t\tlast_analyze_pos \tLONGBLOB DEFAULT NULL,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] [2024/05/06 09:31:32.535 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(6291456) to MEDIUMBLOB"] [category=ddl] [2024/05/06 09:31:32.539 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:32.537 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:31:32.539 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:32.537 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_histograms (\n\t\ttable_id \t\t\tBIGINT(64) NOT NULL,\n\t\tis_index \t\t\tTINYINT(2) NOT NULL,\n\t\thist_id \t\t\tBIGINT(64) NOT NULL,\n\t\tdistinct_count \t\tBIGINT(64) NOT NULL,\n\t\tnull_count \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\ttot_col_size \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tmodify_count \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tversion \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tcm_sketch \t\t\tBLOB(6291456),\n\t\tstats_ver \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tflag \t\t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcorrelation \t\tDOUBLE NOT NULL DEFAULT 0,\n\t\tlast_analyze_pos \tLONGBLOB DEFAULT NULL,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id)\n\t);"] [2024/05/06 09:31:32.556 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=25] [category=ddl] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:32.537 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:32.574 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=11] [neededSchemaVersion=12] ["start time"=11.194641ms] [gotSchemaVersion=12] [phyTblIDs="[24]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:31:32.576 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:31:32.576 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=25] [version=12] [2024/05/06 09:31:32.578 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=12] ["take time"=16.211877ms] [job="ID:25, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:32.537 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:32.587 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=25] [job="ID:25, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:32.537 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:32.592 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=25] [2024/05/06 09:31:32.592 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:31:32.593 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=12] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_buckets (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tbucket_id \tBIGINT(64) NOT NULL,\n\t\tcount \t\tBIGINT(64) NOT NULL,\n\t\trepeats \tBIGINT(64) NOT NULL,\n\t\tupper_bound LONGBLOB NOT NULL,\n\t\tlower_bound LONGBLOB ,\n\t\tndv BIGINT NOT NULL DEFAULT 0,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id)\n\t);"] [user=] [2024/05/06 09:31:32.598 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:32.596 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:31:32.598 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:32.596 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_buckets (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tbucket_id \tBIGINT(64) NOT NULL,\n\t\tcount \t\tBIGINT(64) NOT NULL,\n\t\trepeats \tBIGINT(64) NOT NULL,\n\t\tupper_bound LONGBLOB NOT NULL,\n\t\tlower_bound LONGBLOB ,\n\t\tndv BIGINT NOT NULL DEFAULT 0,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id)\n\t);"] [2024/05/06 09:31:32.613 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=27] [category=ddl] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:32.596 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:32.618 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=12] [neededSchemaVersion=13] ["start time"=442.079µs] [gotSchemaVersion=13] [phyTblIDs="[26]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:31:32.619 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:31:32.619 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=27] [version=13] [2024/05/06 09:31:32.621 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=13] ["take time"=4.415282ms] [job="ID:27, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:32.596 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:32.636 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=27] [job="ID:27, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:32.596 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:32.641 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=27] [2024/05/06 09:31:32.641 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:31:32.642 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=13] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_index (job_id, element_id)\n\t);"] [user=] [2024/05/06 09:31:32.649 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:32.648 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:31:32.649 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:32.648 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_index (job_id, element_id)\n\t);"] [2024/05/06 09:31:32.659 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=29] [category=ddl] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:32.648 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:32.665 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=13] [neededSchemaVersion=14] ["start time"=802.442µs] [gotSchemaVersion=14] [phyTblIDs="[28]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:31:32.667 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:31:32.667 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=29] [version=14] [2024/05/06 09:31:32.680 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=14] ["take time"=15.683617ms] [job="ID:29, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:32.648 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:32.685 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=29] [job="ID:29, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:32.648 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:32.689 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=29] [2024/05/06 09:31:32.689 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:31:32.689 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=14] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_done_index (job_id, element_id)\n\t);"] [user=] [2024/05/06 09:31:32.693 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:32.691 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:31:32.693 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:32.691 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_done_index (job_id, element_id)\n\t);"] [2024/05/06 09:31:32.700 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=31] [category=ddl] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:32.691 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:32.712 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=14] [neededSchemaVersion=15] ["start time"=355.415µs] [gotSchemaVersion=15] [phyTblIDs="[30]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:31:32.714 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:31:32.714 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=31] [version=15] [2024/05/06 09:31:32.716 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=15] ["take time"=4.251274ms] [job="ID:31, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:32.691 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:32.728 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=31] [job="ID:31, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:32.691 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:32.733 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=31] [2024/05/06 09:31:32.733 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:31:32.733 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=15] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_feedback (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tfeedback \tBLOB NOT NULL,\n\t\tINDEX hist(table_id, is_index, hist_id)\n\t);"] [user=] [2024/05/06 09:31:32.742 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:32.741 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:31:32.742 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:32.741 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_feedback (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tfeedback \tBLOB NOT NULL,\n\t\tINDEX hist(table_id, is_index, hist_id)\n\t);"] [2024/05/06 09:31:32.753 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=33] [category=ddl] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:32.741 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:32.761 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=15] [neededSchemaVersion=16] ["start time"=464.752µs] [gotSchemaVersion=16] [phyTblIDs="[32]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:31:32.763 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:31:32.763 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=33] [version=16] [2024/05/06 09:31:32.764 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=16] ["take time"=4.183076ms] [job="ID:33, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:32.741 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:32.772 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=33] [job="ID:33, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:32.741 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:32.776 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=33] [2024/05/06 09:31:32.776 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:31:32.776 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=16] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.role_edges (\n\t\tFROM_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tFROM_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tWITH_ADMIN_OPTION \tENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER)\n\t);"] [user=] [2024/05/06 09:31:32.780 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:32.778 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:31:32.780 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:32.778 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.role_edges (\n\t\tFROM_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tFROM_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tWITH_ADMIN_OPTION \tENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER)\n\t);"] [2024/05/06 09:31:32.789 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=35] [category=ddl] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:32.778 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:32.792 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=16] [neededSchemaVersion=17] ["start time"=308.04µs] [gotSchemaVersion=17] [phyTblIDs="[34]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:31:32.794 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:31:32.794 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=35] [version=17] [2024/05/06 09:31:32.794 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=17] ["take time"=2.417134ms] [job="ID:35, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:32.778 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:32.802 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=35] [job="ID:35, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:32.778 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:32.805 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=35] [2024/05/06 09:31:32.805 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:31:32.806 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=17] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.default_roles (\n\t\tHOST \t\t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tUSER \t\t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tDEFAULT_ROLE_HOST \tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%',\n\t\tDEFAULT_ROLE_USER \tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tPRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER)\n\t)"] [user=] [2024/05/06 09:31:32.809 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:32.808 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:31:32.809 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:32.808 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.default_roles (\n\t\tHOST \t\t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tUSER \t\t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tDEFAULT_ROLE_HOST \tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%',\n\t\tDEFAULT_ROLE_USER \tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tPRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER)\n\t)"] [2024/05/06 09:31:32.821 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=37] [category=ddl] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:32.808 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:32.824 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=18] ["start time"=329.964µs] [gotSchemaVersion=18] [phyTblIDs="[36]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:31:32.826 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:31:32.826 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=37] [version=18] [2024/05/06 09:31:32.829 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=18] ["take time"=4.755585ms] [job="ID:37, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:32.808 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:32.835 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=37] [job="ID:37, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:32.808 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:32.839 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=37] [2024/05/06 09:31:32.839 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:31:32.840 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=18] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql TEXT NOT NULL,\n\t\tbind_sql TEXT NOT NULL,\n\t\tdefault_db TEXT NOT NULL,\n\t\tstatus TEXT NOT NULL,\n\t\tcreate_time TIMESTAMP(3) NOT NULL,\n\t\tupdate_time TIMESTAMP(3) NOT NULL,\n\t\tcharset TEXT NOT NULL,\n\t\tcollation TEXT NOT NULL,\n\t\tsource VARCHAR(10) NOT NULL DEFAULT 'unknown',\n\t\tsql_digest varchar(64),\n\t\tplan_digest varchar(64),\n\t\tINDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\",\n\t\tINDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2024/05/06 09:31:32.844 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:32.842 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:31:32.844 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:32.842 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql TEXT NOT NULL,\n\t\tbind_sql TEXT NOT NULL,\n\t\tdefault_db TEXT NOT NULL,\n\t\tstatus TEXT NOT NULL,\n\t\tcreate_time TIMESTAMP(3) NOT NULL,\n\t\tupdate_time TIMESTAMP(3) NOT NULL,\n\t\tcharset TEXT NOT NULL,\n\t\tcollation TEXT NOT NULL,\n\t\tsource VARCHAR(10) NOT NULL DEFAULT 'unknown',\n\t\tsql_digest varchar(64),\n\t\tplan_digest varchar(64),\n\t\tINDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\",\n\t\tINDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2024/05/06 09:31:32.856 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=39] [category=ddl] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:32.842 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:32.860 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=18] [neededSchemaVersion=19] ["start time"=446.932µs] [gotSchemaVersion=19] [phyTblIDs="[38]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:31:32.862 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:31:32.862 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=39] [version=19] [2024/05/06 09:31:32.872 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=19] ["take time"=12.088249ms] [job="ID:39, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:32.842 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:32.881 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=39] [job="ID:39, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:32.842 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:32.886 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=39] [2024/05/06 09:31:32.886 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:31:32.887 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=19] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_top_n (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tcount \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] [2024/05/06 09:31:32.890 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:32.889 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:31:32.890 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:32.889 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_top_n (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tcount \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [2024/05/06 09:31:32.897 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=41] [category=ddl] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:32.889 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:32.901 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=19] [neededSchemaVersion=20] ["start time"=341.049µs] [gotSchemaVersion=20] [phyTblIDs="[40]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:31:32.903 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:31:32.903 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=41] [version=20] [2024/05/06 09:31:32.903 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=20] ["take time"=2.092135ms] [job="ID:41, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:32.889 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:32.910 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=41] [job="ID:41, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:32.889 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:32.920 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=41] [2024/05/06 09:31:32.920 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:31:32.921 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=20] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.expr_pushdown_blacklist (\n\t\tname \t\tCHAR(100) NOT NULL,\n\t\tstore_type \tCHAR(100) NOT NULL DEFAULT 'tikv,tiflash,tidb',\n\t\treason \t\tVARCHAR(200)\n\t);"] [user=] [2024/05/06 09:31:32.940 +00:00] [WARN] [runaway.go:166] ["failed to start runaway manager loop, please check whether the bootstrap or update is finished"] [error="[schema:1146]Table 'mysql.tidb_runaway_watch' doesn't exist"] [errorVerbose="[schema:1146]Table 'mysql.tidb_runaway_watch' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:141\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:67\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2089\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternalStmt\n\tpkg/session/session.go:1993\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL.func1\n\tpkg/session/session.go:1958\ngithub.com/pingcap/tidb/pkg/session.(*session).withRestrictedSQLExecutor\n\tpkg/session/session.go:1944\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL\n\tpkg/session/session.go:1948\ngithub.com/pingcap/tidb/pkg/domain.(*SystemTableReader).Read\n\tpkg/domain/runaway.go:655\ngithub.com/pingcap/tidb/pkg/domain.getRunawayWatchRecord\n\tpkg/domain/runaway.go:543\ngithub.com/pingcap/tidb/pkg/domain.(*runawaySyncer).getWatchRecord\n\tpkg/domain/runaway.go:526\ngithub.com/pingcap/tidb/pkg/domain.(*runawaySyncer).getNewWatchRecords\n\tpkg/domain/runaway.go:509\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).updateNewAndDoneWatch\n\tpkg/domain/runaway.go:177\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).runawayStartLoop\n\tpkg/domain/runaway.go:156\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:99\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [2024/05/06 09:31:32.944 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:32.94 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:31:32.944 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:32.94 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.expr_pushdown_blacklist (\n\t\tname \t\tCHAR(100) NOT NULL,\n\t\tstore_type \tCHAR(100) NOT NULL DEFAULT 'tikv,tiflash,tidb',\n\t\treason \t\tVARCHAR(200)\n\t);"] [2024/05/06 09:31:32.957 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=43] [category=ddl] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:32.94 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:32.961 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=20] [neededSchemaVersion=21] ["start time"=239.115µs] [gotSchemaVersion=21] [phyTblIDs="[42]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:31:32.962 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:31:32.962 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=43] [version=21] [2024/05/06 09:31:32.963 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=21] ["take time"=2.074627ms] [job="ID:43, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:32.94 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:32.968 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=43] [job="ID:43, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:32.94 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:32.972 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=43] [2024/05/06 09:31:32.972 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:31:32.972 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=21] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] [user=] [2024/05/06 09:31:32.976 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:32.974 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:31:32.976 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:32.974 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] [2024/05/06 09:31:32.991 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=45] [category=ddl] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:32.974 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:32.994 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=21] [neededSchemaVersion=22] ["start time"=183.967µs] [gotSchemaVersion=22] [phyTblIDs="[44]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:31:32.995 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:31:32.995 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=45] [version=22] [2024/05/06 09:31:32.997 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=22] ["take time"=3.102166ms] [job="ID:45, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:32.974 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:33.008 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=45] [job="ID:45, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:32.974 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:33.016 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=45] [2024/05/06 09:31:33.016 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:31:33.016 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=22] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_extended (\n\t\tname varchar(32) NOT NULL,\n\t\ttype tinyint(4) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcolumn_ids varchar(32) NOT NULL,\n\t\tstats blob DEFAULT NULL,\n\t\tversion bigint(64) unsigned NOT NULL,\n\t\tstatus tinyint(4) NOT NULL,\n\t\tPRIMARY KEY(name, table_id),\n\t\tKEY idx_1 (table_id, status, version),\n\t\tKEY idx_2 (status, version)\n\t);"] [user=] [2024/05/06 09:31:33.020 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:33.018 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:31:33.020 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:33.018 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_extended (\n\t\tname varchar(32) NOT NULL,\n\t\ttype tinyint(4) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcolumn_ids varchar(32) NOT NULL,\n\t\tstats blob DEFAULT NULL,\n\t\tversion bigint(64) unsigned NOT NULL,\n\t\tstatus tinyint(4) NOT NULL,\n\t\tPRIMARY KEY(name, table_id),\n\t\tKEY idx_1 (table_id, status, version),\n\t\tKEY idx_2 (status, version)\n\t);"] [2024/05/06 09:31:33.028 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=47] [category=ddl] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:33.018 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:33.032 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=22] [neededSchemaVersion=23] ["start time"=390.547µs] [gotSchemaVersion=23] [phyTblIDs="[46]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:31:33.033 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:31:33.034 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=47] [version=23] [2024/05/06 09:31:33.035 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=23] ["take time"=2.978193ms] [job="ID:47, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:33.018 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:33.044 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=47] [job="ID:47, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:33.018 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:33.048 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=47] [2024/05/06 09:31:33.048 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:31:33.048 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=23] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] [2024/05/06 09:31:33.051 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:33.05 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:31:33.051 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:33.05 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [2024/05/06 09:31:33.062 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=49] [category=ddl] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:33.05 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:33.065 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=23] [neededSchemaVersion=24] ["start time"=264.714µs] [gotSchemaVersion=24] [phyTblIDs="[48]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:31:33.067 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:31:33.067 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=49] [version=24] [2024/05/06 09:31:33.067 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=24] ["take time"=2.352954ms] [job="ID:49, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:33.05 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:33.073 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=49] [job="ID:49, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:33.05 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:33.076 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=49] [2024/05/06 09:31:33.076 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:31:33.076 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=24] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.global_grants (\n\t\tUSER char(32) NOT NULL DEFAULT '',\n\t\tHOST char(255) NOT NULL DEFAULT '',\n\t\tPRIV char(32) NOT NULL DEFAULT '',\n\t\tWITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (USER,HOST,PRIV)\n\t);"] [user=] [2024/05/06 09:31:33.079 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:33.078 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:31:33.079 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:33.078 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.global_grants (\n\t\tUSER char(32) NOT NULL DEFAULT '',\n\t\tHOST char(255) NOT NULL DEFAULT '',\n\t\tPRIV char(32) NOT NULL DEFAULT '',\n\t\tWITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (USER,HOST,PRIV)\n\t);"] [2024/05/06 09:31:33.091 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=51] [category=ddl] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:33.078 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:33.094 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=24] [neededSchemaVersion=25] ["start time"=274.381µs] [gotSchemaVersion=25] [phyTblIDs="[50]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:31:33.095 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:31:33.095 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=51] [version=25] [2024/05/06 09:31:33.095 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=25] ["take time"=2.027008ms] [job="ID:51, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:33.078 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:33.107 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=51] [job="ID:51, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:33.078 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:33.114 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=51] [2024/05/06 09:31:33.114 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:31:33.114 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=25] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist (\n\t\tid bigint(64) auto_increment,\n\t\tfilter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\",\n\t\tfilter_value varchar(32) NOT NULL,\n\t\tkey idx(filter_type),\n\t\tprimary key(id)\n\t);"] [user=] [2024/05/06 09:31:33.122 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:33.12 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:31:33.122 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:33.12 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist (\n\t\tid bigint(64) auto_increment,\n\t\tfilter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\",\n\t\tfilter_value varchar(32) NOT NULL,\n\t\tkey idx(filter_type),\n\t\tprimary key(id)\n\t);"] [2024/05/06 09:31:33.130 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=53] [category=ddl] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:33.12 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:33.133 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=25] [neededSchemaVersion=26] ["start time"=276.775µs] [gotSchemaVersion=26] [phyTblIDs="[52]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:31:33.135 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:31:33.135 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=53] [version=26] [2024/05/06 09:31:33.136 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=26] ["take time"=3.45183ms] [job="ID:53, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:33.12 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:33.149 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=53] [job="ID:53, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:33.12 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:33.153 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=53] [2024/05/06 09:31:33.153 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:31:33.153 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=26] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.column_stats_usage (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tcolumn_id BIGINT(64) NOT NULL,\n\t\tlast_used_at TIMESTAMP,\n\t\tlast_analyzed_at TIMESTAMP,\n\t\tPRIMARY KEY (table_id, column_id) CLUSTERED\n\t);"] [user=] [2024/05/06 09:31:33.164 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:33.162 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:31:33.164 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:33.162 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.column_stats_usage (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tcolumn_id BIGINT(64) NOT NULL,\n\t\tlast_used_at TIMESTAMP,\n\t\tlast_analyzed_at TIMESTAMP,\n\t\tPRIMARY KEY (table_id, column_id) CLUSTERED\n\t);"] [2024/05/06 09:31:33.177 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=55] [category=ddl] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:33.162 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:33.182 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=26] [neededSchemaVersion=27] ["start time"=336.09µs] [gotSchemaVersion=27] [phyTblIDs="[54]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:31:33.184 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:31:33.184 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=55] [version=27] [2024/05/06 09:31:33.186 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=27] ["take time"=4.165268ms] [job="ID:55, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:33.162 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:33.202 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=55] [job="ID:55, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:33.162 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:33.208 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=55] [2024/05/06 09:31:33.208 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:31:33.209 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=27] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.table_cache_meta (\n\t\ttid bigint(11) NOT NULL DEFAULT 0,\n\t\tlock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE',\n\t\tlease bigint(20) NOT NULL DEFAULT 0,\n\t\toldReadLease bigint(20) NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (tid)\n\t);"] [user=] [2024/05/06 09:31:33.218 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:33.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:31:33.218 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:33.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.table_cache_meta (\n\t\ttid bigint(11) NOT NULL DEFAULT 0,\n\t\tlock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE',\n\t\tlease bigint(20) NOT NULL DEFAULT 0,\n\t\toldReadLease bigint(20) NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (tid)\n\t);"] [2024/05/06 09:31:33.226 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=57] [category=ddl] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:33.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:33.238 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=27] [neededSchemaVersion=28] ["start time"=277.825µs] [gotSchemaVersion=28] [phyTblIDs="[56]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:31:33.241 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:31:33.241 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=57] [version=28] [2024/05/06 09:31:33.245 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=28] ["take time"=7.162384ms] [job="ID:57, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:33.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:33.251 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=57] [job="ID:57, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:33.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:33.257 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=57] [2024/05/06 09:31:33.257 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:31:33.258 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=28] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_options (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tsample_num BIGINT(64) NOT NULL DEFAULT 0,\n\t\tsample_rate DOUBLE NOT NULL DEFAULT -1,\n\t\tbuckets BIGINT(64) NOT NULL DEFAULT 0,\n\t\ttopn BIGINT(64) NOT NULL DEFAULT -1,\n\t\tcolumn_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT',\n\t\tcolumn_ids TEXT(19372),\n\t\tPRIMARY KEY (table_id) CLUSTERED\n\t);"] [user=] [2024/05/06 09:31:33.258 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(19372) to MEDIUMBLOB"] [category=ddl] [2024/05/06 09:31:33.262 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:33.26 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:31:33.262 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:33.26 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.analyze_options (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tsample_num BIGINT(64) NOT NULL DEFAULT 0,\n\t\tsample_rate DOUBLE NOT NULL DEFAULT -1,\n\t\tbuckets BIGINT(64) NOT NULL DEFAULT 0,\n\t\ttopn BIGINT(64) NOT NULL DEFAULT -1,\n\t\tcolumn_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT',\n\t\tcolumn_ids TEXT(19372),\n\t\tPRIMARY KEY (table_id) CLUSTERED\n\t);"] [2024/05/06 09:31:33.271 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=59] [category=ddl] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:33.26 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:33.276 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=28] [neededSchemaVersion=29] ["start time"=330.463µs] [gotSchemaVersion=29] [phyTblIDs="[58]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:31:33.277 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:31:33.277 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=59] [version=29] [2024/05/06 09:31:33.278 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=29] ["take time"=2.453443ms] [job="ID:59, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:33.26 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:33.284 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=59] [job="ID:59, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:33.26 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:33.294 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=59] [2024/05/06 09:31:33.294 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:31:33.298 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=29] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tstats_data longblob NOT NULL,\n\t\tseq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice',\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version_seq (table_id, version, seq_no),\n\t\tKEY table_create_time (table_id, create_time, seq_no),\n \tKEY idx_create_time (create_time)\n\t);"] [user=] [2024/05/06 09:31:33.303 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:33.3 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:31:33.303 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:33.3 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tstats_data longblob NOT NULL,\n\t\tseq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice',\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version_seq (table_id, version, seq_no),\n\t\tKEY table_create_time (table_id, create_time, seq_no),\n \tKEY idx_create_time (create_time)\n\t);"] [2024/05/06 09:31:33.313 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=61] [category=ddl] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:33.3 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:33.317 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=29] [neededSchemaVersion=30] ["start time"=337.032µs] [gotSchemaVersion=30] [phyTblIDs="[60]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:31:33.318 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:31:33.318 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=61] [version=30] [2024/05/06 09:31:33.330 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=30] ["take time"=13.808451ms] [job="ID:61, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:33.3 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:33.335 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=61] [job="ID:61, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:33.3 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:33.339 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=61] [2024/05/06 09:31:33.339 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:31:33.340 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=30] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_meta_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL,\n\t\tcount bigint(64) NOT NULL,\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n \tsource varchar(40) NOT NULL,\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version (table_id, version),\n\t\tKEY table_create_time (table_id, create_time),\n \tKEY idx_create_time (create_time)\n\t);"] [user=] [2024/05/06 09:31:33.343 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:33.341 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:31:33.343 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:33.341 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_meta_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL,\n\t\tcount bigint(64) NOT NULL,\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n \tsource varchar(40) NOT NULL,\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version (table_id, version),\n\t\tKEY table_create_time (table_id, create_time),\n \tKEY idx_create_time (create_time)\n\t);"] [2024/05/06 09:31:33.357 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=63] [category=ddl] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:33.341 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:33.361 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=30] [neededSchemaVersion=31] ["start time"=354.372µs] [gotSchemaVersion=31] [phyTblIDs="[62]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:31:33.362 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:31:33.362 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=63] [version=31] [2024/05/06 09:31:33.364 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=31] ["take time"=3.0885ms] [job="ID:63, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:33.341 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:33.372 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=63] [job="ID:63, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:33.341 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:33.377 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=63] [2024/05/06 09:31:33.377 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:31:33.378 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=31] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_jobs (\n\t\tid BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\ttable_schema CHAR(64) NOT NULL DEFAULT '',\n\t\ttable_name CHAR(64) NOT NULL DEFAULT '',\n\t\tpartition_name CHAR(64) NOT NULL DEFAULT '',\n\t\tjob_info TEXT NOT NULL,\n\t\tprocessed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tstart_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tstate ENUM('pending', 'running', 'finished', 'failed') NOT NULL,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job',\n\t\tprocess_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job',\n\t\tPRIMARY KEY (id),\n\t\tKEY (update_time)\n\t);"] [user=] [2024/05/06 09:31:33.385 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:33.383 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:31:33.385 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:33.383 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.analyze_jobs (\n\t\tid BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\ttable_schema CHAR(64) NOT NULL DEFAULT '',\n\t\ttable_name CHAR(64) NOT NULL DEFAULT '',\n\t\tpartition_name CHAR(64) NOT NULL DEFAULT '',\n\t\tjob_info TEXT NOT NULL,\n\t\tprocessed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tstart_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tstate ENUM('pending', 'running', 'finished', 'failed') NOT NULL,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job',\n\t\tprocess_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job',\n\t\tPRIMARY KEY (id),\n\t\tKEY (update_time)\n\t);"] [2024/05/06 09:31:33.392 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=65] [category=ddl] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:33.383 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:33.401 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=31] [neededSchemaVersion=32] ["start time"=558.678µs] [gotSchemaVersion=32] [phyTblIDs="[64]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:31:33.403 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:31:33.403 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=65] [version=32] [2024/05/06 09:31:33.413 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=32] ["take time"=12.600671ms] [job="ID:65, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:33.383 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:33.421 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=65] [job="ID:65, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:33.383 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:33.429 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=65] [2024/05/06 09:31:33.429 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:31:33.429 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=32] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] [user=] [2024/05/06 09:31:33.436 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:33.435 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:31:33.436 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:33.435 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] [2024/05/06 09:31:33.443 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=67] [category=ddl] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:33.435 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:33.445 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=205.034µs] [gotSchemaVersion=33] [phyTblIDs="[66]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:31:33.447 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:31:33.447 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=67] [version=33] [2024/05/06 09:31:33.448 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=33] ["take time"=2.650621ms] [job="ID:67, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:33.435 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:33.455 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=67] [job="ID:67, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:33.435 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:33.458 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=67] [2024/05/06 09:31:33.459 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:31:33.463 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:33.461 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:31:33.463 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:33.461 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE OR REPLACE VIEW mysql.tidb_mdl_view as (\n\t\tSELECT tidb_mdl_info.job_id,\n\t\t\tJSON_UNQUOTE(JSON_EXTRACT(cast(cast(job_meta as char) as json), \"$.schema_name\")) as db_name,\n\t\t\tJSON_UNQUOTE(JSON_EXTRACT(cast(cast(job_meta as char) as json), \"$.table_name\")) as table_name,\n\t\t\tJSON_UNQUOTE(JSON_EXTRACT(cast(cast(job_meta as char) as json), \"$.query\")) as query,\n\t\t\tsession_id,\n\t\t\tcluster_tidb_trx.start_time,\n\t\t\ttidb_decode_sql_digests(all_sql_digests, 4096) AS SQL_DIGESTS\n\t\tFROM mysql.tidb_ddl_job,\n\t\t\tmysql.tidb_mdl_info,\n\t\t\tinformation_schema.cluster_tidb_trx\n\t\tWHERE tidb_ddl_job.job_id=tidb_mdl_info.job_id\n\t\t\tAND CONCAT(',', tidb_mdl_info.table_ids, ',') REGEXP CONCAT(',', REPLACE(cluster_tidb_trx.related_table_ids, ',', '|'), ',') != 0\n\t);"] [2024/05/06 09:31:33.470 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=69] [category=ddl] [job="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:33.461 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:33.474 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=33] [neededSchemaVersion=34] ["start time"=326.795µs] [gotSchemaVersion=34] [phyTblIDs="[68]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2024/05/06 09:31:33.475 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:31:33.475 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=69] [version=34] [2024/05/06 09:31:33.476 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=34] ["take time"=2.447683ms] [job="ID:69, Type:create view, State:done, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:33.461 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:33.482 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=69] [job="ID:69, Type:create view, State:synced, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:33.461 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:33.486 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=69] [2024/05/06 09:31:33.487 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:31:33.487 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=34] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_status (\n\t\tsql_digest VARCHAR(128),\n\t\tplan_digest VARCHAR(128),\n\t\torigin_sql TEXT,\n\t\ttoken VARCHAR(128),\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the plan replayer job');"] [user=] [2024/05/06 09:31:33.493 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:33.489 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:31:33.493 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:33.489 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_status (\n\t\tsql_digest VARCHAR(128),\n\t\tplan_digest VARCHAR(128),\n\t\torigin_sql TEXT,\n\t\ttoken VARCHAR(128),\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the plan replayer job');"] [2024/05/06 09:31:33.499 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=71] [category=ddl] [job="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:33.489 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:33.503 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=34] [neededSchemaVersion=35] ["start time"=303.642µs] [gotSchemaVersion=35] [phyTblIDs="[70]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:31:33.504 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:31:33.504 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=71] [version=35] [2024/05/06 09:31:33.505 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=35] ["take time"=2.178207ms] [job="ID:71, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:33.489 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:33.511 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=71] [job="ID:71, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:33.489 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:33.515 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=71] [2024/05/06 09:31:33.515 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:31:33.516 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=35] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_task (\n\t\tsql_digest VARCHAR(128) NOT NULL,\n\t\tplan_digest VARCHAR(128) NOT NULL,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tPRIMARY KEY (sql_digest,plan_digest));"] [user=] [2024/05/06 09:31:33.520 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:33.518 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:31:33.520 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:33.518 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_task (\n\t\tsql_digest VARCHAR(128) NOT NULL,\n\t\tplan_digest VARCHAR(128) NOT NULL,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tPRIMARY KEY (sql_digest,plan_digest));"] [2024/05/06 09:31:33.529 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=73] [category=ddl] [job="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:33.518 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:33.533 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=35] [neededSchemaVersion=36] ["start time"=276.791µs] [gotSchemaVersion=36] [phyTblIDs="[72]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:31:33.534 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:31:33.534 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=73] [version=36] [2024/05/06 09:31:33.535 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=36] ["take time"=2.560116ms] [job="ID:73, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:33.518 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:33.546 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=73] [job="ID:73, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:33.518 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:33.550 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=73] [2024/05/06 09:31:33.550 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:31:33.550 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=36] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_table_locked(\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL DEFAULT 0,\n\t\tcount bigint(64) NOT NULL DEFAULT 0,\n\t\tversion bigint(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (table_id));"] [user=] [2024/05/06 09:31:33.553 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:33.552 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:31:33.553 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:33.552 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_table_locked(\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL DEFAULT 0,\n\t\tcount bigint(64) NOT NULL DEFAULT 0,\n\t\tversion bigint(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (table_id));"] [2024/05/06 09:31:33.558 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=75] [category=ddl] [job="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:33.552 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:33.562 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=36] [neededSchemaVersion=37] ["start time"=195.521µs] [gotSchemaVersion=37] [phyTblIDs="[74]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:31:33.563 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:31:33.563 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=75] [version=37] [2024/05/06 09:31:33.565 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=37] ["take time"=2.990209ms] [job="ID:75, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:33.552 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:33.574 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=75] [job="ID:75, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:33.552 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:33.577 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=75] [2024/05/06 09:31:33.577 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:31:33.578 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=37] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_table_status (\n\t\ttable_id bigint(64) PRIMARY KEY,\n parent_table_id bigint(64),\n table_statistics text DEFAULT NULL,\n\t\tlast_job_id varchar(64) DEFAULT NULL,\n\t\tlast_job_start_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_finish_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_ttl_expire timestamp NULL DEFAULT NULL,\n last_job_summary text DEFAULT NULL,\n\t\tcurrent_job_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_addr varchar(256) DEFAULT NULL,\n\t\tcurrent_job_owner_hb_time timestamp,\n\t\tcurrent_job_start_time timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_ttl_expire timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_state text DEFAULT NULL,\n\t\tcurrent_job_status varchar(64) DEFAULT NULL,\n \t\tcurrent_job_status_update_time timestamp NULL DEFAULT NULL);"] [user=] [2024/05/06 09:31:33.582 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:33.579 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:31:33.582 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:33.579 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_table_status (\n\t\ttable_id bigint(64) PRIMARY KEY,\n parent_table_id bigint(64),\n table_statistics text DEFAULT NULL,\n\t\tlast_job_id varchar(64) DEFAULT NULL,\n\t\tlast_job_start_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_finish_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_ttl_expire timestamp NULL DEFAULT NULL,\n last_job_summary text DEFAULT NULL,\n\t\tcurrent_job_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_addr varchar(256) DEFAULT NULL,\n\t\tcurrent_job_owner_hb_time timestamp,\n\t\tcurrent_job_start_time timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_ttl_expire timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_state text DEFAULT NULL,\n\t\tcurrent_job_status varchar(64) DEFAULT NULL,\n \t\tcurrent_job_status_update_time timestamp NULL DEFAULT NULL);"] [2024/05/06 09:31:33.592 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=77] [category=ddl] [job="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:33.579 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:33.602 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=37] [neededSchemaVersion=38] ["start time"=537.67µs] [gotSchemaVersion=38] [phyTblIDs="[76]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:31:33.604 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:31:33.604 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=77] [version=38] [2024/05/06 09:31:33.606 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=38] ["take time"=4.678833ms] [job="ID:77, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:33.579 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:33.611 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=77] [job="ID:77, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:33.579 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:33.616 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=77] [2024/05/06 09:31:33.616 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:31:33.617 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=38] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_task (\n\t\tjob_id varchar(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tscan_id int NOT NULL,\n\t\tscan_range_start BLOB,\n\t\tscan_range_end BLOB,\n\t\texpire_time timestamp NOT NULL,\n\t\towner_id varchar(64) DEFAULT NULL,\n\t\towner_addr varchar(64) DEFAULT NULL,\n\t\towner_hb_time timestamp DEFAULT NULL,\n\t\tstatus varchar(64) DEFAULT 'waiting',\n\t\tstatus_update_time timestamp NULL DEFAULT NULL,\n\t\tstate text,\n\t\tcreated_time timestamp NOT NULL,\n\t\tprimary key(job_id, scan_id),\n\t\tkey(created_time));"] [user=] [2024/05/06 09:31:33.636 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:33.619 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:31:33.636 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:33.619 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_task (\n\t\tjob_id varchar(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tscan_id int NOT NULL,\n\t\tscan_range_start BLOB,\n\t\tscan_range_end BLOB,\n\t\texpire_time timestamp NOT NULL,\n\t\towner_id varchar(64) DEFAULT NULL,\n\t\towner_addr varchar(64) DEFAULT NULL,\n\t\towner_hb_time timestamp DEFAULT NULL,\n\t\tstatus varchar(64) DEFAULT 'waiting',\n\t\tstatus_update_time timestamp NULL DEFAULT NULL,\n\t\tstate text,\n\t\tcreated_time timestamp NOT NULL,\n\t\tprimary key(job_id, scan_id),\n\t\tkey(created_time));"] [2024/05/06 09:31:33.647 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=79] [category=ddl] [job="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:33.619 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:33.651 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=38] [neededSchemaVersion=39] ["start time"=514.193µs] [gotSchemaVersion=39] [phyTblIDs="[78]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:31:33.652 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:31:33.652 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=79] [version=39] [2024/05/06 09:31:33.652 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=39] ["take time"=2.023446ms] [job="ID:79, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:33.619 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:33.658 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=79] [job="ID:79, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:33.619 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:33.662 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=79] [2024/05/06 09:31:33.662 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:31:33.662 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=39] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_job_history (\n\t\tjob_id varchar(64) PRIMARY KEY,\n\t\ttable_id bigint(64) NOT NULL,\n parent_table_id bigint(64) NOT NULL,\n \ttable_schema varchar(64) NOT NULL,\n\t\ttable_name varchar(64) NOT NULL,\n \tpartition_name varchar(64) DEFAULT NULL,\n\t\tcreate_time timestamp NOT NULL,\n\t\tfinish_time timestamp NOT NULL,\n\t\tttl_expire timestamp NOT NULL,\n summary_text text,\n\t\texpired_rows bigint(64) DEFAULT NULL,\n \tdeleted_rows bigint(64) DEFAULT NULL,\n \terror_delete_rows bigint(64) DEFAULT NULL,\n \tstatus varchar(64) NOT NULL,\n \tkey(table_schema, table_name, create_time),\n \tkey(parent_table_id, create_time),\n \tkey(create_time)\n\t);"] [user=] [2024/05/06 09:31:33.666 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:33.664 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:31:33.666 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:33.664 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_job_history (\n\t\tjob_id varchar(64) PRIMARY KEY,\n\t\ttable_id bigint(64) NOT NULL,\n parent_table_id bigint(64) NOT NULL,\n \ttable_schema varchar(64) NOT NULL,\n\t\ttable_name varchar(64) NOT NULL,\n \tpartition_name varchar(64) DEFAULT NULL,\n\t\tcreate_time timestamp NOT NULL,\n\t\tfinish_time timestamp NOT NULL,\n\t\tttl_expire timestamp NOT NULL,\n summary_text text,\n\t\texpired_rows bigint(64) DEFAULT NULL,\n \tdeleted_rows bigint(64) DEFAULT NULL,\n \terror_delete_rows bigint(64) DEFAULT NULL,\n \tstatus varchar(64) NOT NULL,\n \tkey(table_schema, table_name, create_time),\n \tkey(parent_table_id, create_time),\n \tkey(create_time)\n\t);"] [2024/05/06 09:31:33.673 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=81] [category=ddl] [job="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:80, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:33.664 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:33.677 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=39] [neededSchemaVersion=40] ["start time"=555.322µs] [gotSchemaVersion=40] [phyTblIDs="[80]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:31:33.678 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:31:33.678 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=81] [version=40] [2024/05/06 09:31:33.678 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=40] ["take time"=2.014108ms] [job="ID:81, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:33.664 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:33.683 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=81] [job="ID:81, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:80, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:33.664 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:33.687 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=81] [2024/05/06 09:31:33.687 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:31:33.688 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=40] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(261),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tpriority INT DEFAULT 1,\n\t\tcreate_time TIMESTAMP,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\ttarget_scope VARCHAR(256) DEFAULT \"\",\n\t\terror BLOB,\n\t\tkey(state),\n \tUNIQUE KEY task_key(task_key)\n\t);"] [user=] [2024/05/06 09:31:33.691 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:33.689 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:31:33.691 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:33.689 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(261),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tpriority INT DEFAULT 1,\n\t\tcreate_time TIMESTAMP,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\ttarget_scope VARCHAR(256) DEFAULT \"\",\n\t\terror BLOB,\n\t\tkey(state),\n \tUNIQUE KEY task_key(task_key)\n\t);"] [2024/05/06 09:31:33.697 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=83] [category=ddl] [job="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:82, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:33.689 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:33.701 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=40] [neededSchemaVersion=41] ["start time"=550.121µs] [gotSchemaVersion=41] [phyTblIDs="[82]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:31:33.703 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:31:33.703 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=83] [version=41] [2024/05/06 09:31:33.709 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=41] ["take time"=8.329351ms] [job="ID:83, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:33.689 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:33.718 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=83] [job="ID:83, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:82, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:33.689 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:33.723 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=83] [2024/05/06 09:31:33.723 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:31:33.724 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=41] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task_history (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(261),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tpriority INT DEFAULT 1,\n\t\tcreate_time TIMESTAMP,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\ttarget_scope VARCHAR(256) DEFAULT \"\",\n\t\terror BLOB,\n\t\tkey(state),\n \tUNIQUE KEY task_key(task_key)\n\t);"] [user=] [2024/05/06 09:31:33.728 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:85, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:84, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:33.726 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:31:33.728 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:85, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:84, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:33.726 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task_history (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(261),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tpriority INT DEFAULT 1,\n\t\tcreate_time TIMESTAMP,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\ttarget_scope VARCHAR(256) DEFAULT \"\",\n\t\terror BLOB,\n\t\tkey(state),\n \tUNIQUE KEY task_key(task_key)\n\t);"] [2024/05/06 09:31:33.735 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=85] [category=ddl] [job="ID:85, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:84, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:33.726 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:33.740 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=41] [neededSchemaVersion=42] ["start time"=463.132µs] [gotSchemaVersion=42] [phyTblIDs="[84]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:31:33.741 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:31:33.741 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=85] [version=42] [2024/05/06 09:31:33.741 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=42] ["take time"=2.03283ms] [job="ID:85, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:84, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:33.726 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:33.750 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=85] [job="ID:85, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:84, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:33.726 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:33.755 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=85] [2024/05/06 09:31:33.755 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:31:33.755 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=42] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_import_jobs (\n\t\tid bigint(64) NOT NULL AUTO_INCREMENT,\n\t\tcreate_time TIMESTAMP(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n\t\tstart_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tupdate_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tend_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\ttable_schema VARCHAR(64) NOT NULL,\n\t\ttable_name VARCHAR(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcreated_by VARCHAR(300) NOT NULL,\n\t\tparameters text NOT NULL,\n\t\tsource_file_size bigint(64) NOT NULL,\n\t\tstatus VARCHAR(64) NOT NULL,\n\t\tstep VARCHAR(64) NOT NULL,\n\t\tsummary text DEFAULT NULL,\n\t\terror_message TEXT DEFAULT NULL,\n\t\tPRIMARY KEY (id),\n\t\tKEY (created_by),\n\t\tKEY (status));"] [user=] [2024/05/06 09:31:33.763 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:87, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:86, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:33.761 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:31:33.763 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:87, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:86, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:33.761 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_import_jobs (\n\t\tid bigint(64) NOT NULL AUTO_INCREMENT,\n\t\tcreate_time TIMESTAMP(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n\t\tstart_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tupdate_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tend_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\ttable_schema VARCHAR(64) NOT NULL,\n\t\ttable_name VARCHAR(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcreated_by VARCHAR(300) NOT NULL,\n\t\tparameters text NOT NULL,\n\t\tsource_file_size bigint(64) NOT NULL,\n\t\tstatus VARCHAR(64) NOT NULL,\n\t\tstep VARCHAR(64) NOT NULL,\n\t\tsummary text DEFAULT NULL,\n\t\terror_message TEXT DEFAULT NULL,\n\t\tPRIMARY KEY (id),\n\t\tKEY (created_by),\n\t\tKEY (status));"] [2024/05/06 09:31:33.769 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=87] [category=ddl] [job="ID:87, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:86, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:33.761 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:33.773 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=42] [neededSchemaVersion=43] ["start time"=350.405µs] [gotSchemaVersion=43] [phyTblIDs="[86]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:31:33.775 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:31:33.775 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=87] [version=43] [2024/05/06 09:31:33.776 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=43] ["take time"=2.991534ms] [job="ID:87, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:86, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:33.761 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:33.781 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=87] [job="ID:87, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:86, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:33.761 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:33.785 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=87] [2024/05/06 09:31:33.785 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:31:33.787 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=43] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tINDEX sql_index(resource_group_name,watch_text(700)) COMMENT \"accelerate the speed when select quarantined query\",\n\t\tINDEX time_index(end_time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2024/05/06 09:31:33.790 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:89, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:88, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:33.788 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:31:33.790 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:89, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:88, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:33.788 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tINDEX sql_index(resource_group_name,watch_text(700)) COMMENT \"accelerate the speed when select quarantined query\",\n\t\tINDEX time_index(end_time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2024/05/06 09:31:33.800 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=89] [category=ddl] [job="ID:89, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:88, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:33.788 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:33.804 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=43] [neededSchemaVersion=44] ["start time"=435.66µs] [gotSchemaVersion=44] [phyTblIDs="[88]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:31:33.806 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:31:33.806 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=89] [version=44] [2024/05/06 09:31:33.810 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=44] ["take time"=6.822546ms] [job="ID:89, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:88, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:33.788 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:33.816 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=89] [job="ID:89, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:88, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:33.788 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:33.820 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=89] [2024/05/06 09:31:33.820 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:31:33.821 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=44] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_queries (\n\t\tresource_group_name varchar(32) not null,\n\t\ttime TIMESTAMP NOT NULL,\n\t\tmatch_type varchar(12) NOT NULL,\n\t\taction varchar(12) NOT NULL,\n\t\toriginal_sql TEXT NOT NULL,\n\t\tplan_digest TEXT NOT NULL,\n\t\ttidb_server varchar(512),\n\t\tINDEX plan_index(plan_digest(64)) COMMENT \"accelerate the speed when select runaway query\",\n\t\tINDEX time_index(time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2024/05/06 09:31:33.823 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:91, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:90, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:33.822 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:31:33.823 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:91, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:90, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:33.822 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_queries (\n\t\tresource_group_name varchar(32) not null,\n\t\ttime TIMESTAMP NOT NULL,\n\t\tmatch_type varchar(12) NOT NULL,\n\t\taction varchar(12) NOT NULL,\n\t\toriginal_sql TEXT NOT NULL,\n\t\tplan_digest TEXT NOT NULL,\n\t\ttidb_server varchar(512),\n\t\tINDEX plan_index(plan_digest(64)) COMMENT \"accelerate the speed when select runaway query\",\n\t\tINDEX time_index(time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2024/05/06 09:31:33.832 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=91] [category=ddl] [job="ID:91, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:90, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:33.822 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:33.836 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=44] [neededSchemaVersion=45] ["start time"=500.652µs] [gotSchemaVersion=45] [phyTblIDs="[90]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:31:33.837 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:31:33.837 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=91] [version=45] [2024/05/06 09:31:33.837 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=45] ["take time"=2.056349ms] [job="ID:91, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:90, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:33.822 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:33.842 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=91] [job="ID:91, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:90, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:33.822 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:33.849 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=91] [2024/05/06 09:31:33.849 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:31:33.850 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=45] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS `mysql`.`tidb_timers` (\n\t\tID BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tNAMESPACE VARCHAR(256) NOT NULL,\n\t\tTIMER_KEY VARCHAR(256) NOT NULL,\n\t\tTIMER_DATA BLOB,\n\t\tTIMEZONE VARCHAR(64) NOT NULL,\n\t\tSCHED_POLICY_TYPE VARCHAR(32) NOT NULL,\n\t\tSCHED_POLICY_EXPR VARCHAR(256) NOT NULL,\n\t\tHOOK_CLASS VARCHAR(64) NOT NULL,\n\t\tWATERMARK TIMESTAMP DEFAULT NULL,\n\t\tENABLE TINYINT(2) NOT NULL,\n\t\tTIMER_EXT JSON NOT NULL,\n\t\tEVENT_STATUS VARCHAR(32) NOT NULL,\n\t\tEVENT_ID VARCHAR(64) NOT NULL,\n\t\tEVENT_DATA BLOB,\n\t\tEVENT_START TIMESTAMP DEFAULT NULL,\n\t\tSUMMARY_DATA BLOB,\n\t\tCREATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,\n\t\tUPDATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tVERSION BIGINT(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (ID),\n\t\tUNIQUE KEY timer_key(NAMESPACE, TIMER_KEY),\n\t\tKEY hook_class(HOOK_CLASS)\n\t)"] [user=] [2024/05/06 09:31:33.854 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:93, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:92, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:33.851 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:31:33.854 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:93, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:92, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:33.851 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS `mysql`.`tidb_timers` (\n\t\tID BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tNAMESPACE VARCHAR(256) NOT NULL,\n\t\tTIMER_KEY VARCHAR(256) NOT NULL,\n\t\tTIMER_DATA BLOB,\n\t\tTIMEZONE VARCHAR(64) NOT NULL,\n\t\tSCHED_POLICY_TYPE VARCHAR(32) NOT NULL,\n\t\tSCHED_POLICY_EXPR VARCHAR(256) NOT NULL,\n\t\tHOOK_CLASS VARCHAR(64) NOT NULL,\n\t\tWATERMARK TIMESTAMP DEFAULT NULL,\n\t\tENABLE TINYINT(2) NOT NULL,\n\t\tTIMER_EXT JSON NOT NULL,\n\t\tEVENT_STATUS VARCHAR(32) NOT NULL,\n\t\tEVENT_ID VARCHAR(64) NOT NULL,\n\t\tEVENT_DATA BLOB,\n\t\tEVENT_START TIMESTAMP DEFAULT NULL,\n\t\tSUMMARY_DATA BLOB,\n\t\tCREATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,\n\t\tUPDATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tVERSION BIGINT(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (ID),\n\t\tUNIQUE KEY timer_key(NAMESPACE, TIMER_KEY),\n\t\tKEY hook_class(HOOK_CLASS)\n\t)"] [2024/05/06 09:31:33.861 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=93] [category=ddl] [job="ID:93, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:92, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:33.851 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:33.866 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=45] [neededSchemaVersion=46] ["start time"=549.345µs] [gotSchemaVersion=46] [phyTblIDs="[92]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:31:33.867 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:31:33.867 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=93] [version=46] [2024/05/06 09:31:33.868 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=46] ["take time"=2.410235ms] [job="ID:93, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:33.851 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:33.873 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=93] [job="ID:93, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:33.851 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:33.878 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=93] [2024/05/06 09:31:33.878 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:31:33.879 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=46] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch_done (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\trecord_id BIGINT(20) not null,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tdone_time TIMESTAMP(6) NOT NULL\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2024/05/06 09:31:33.882 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:95, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:94, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:33.88 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:31:33.882 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:95, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:94, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:33.88 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch_done (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\trecord_id BIGINT(20) not null,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tdone_time TIMESTAMP(6) NOT NULL\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2024/05/06 09:31:33.889 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=95] [category=ddl] [job="ID:95, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:94, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:33.88 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:33.892 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=46] [neededSchemaVersion=47] ["start time"=336.58µs] [gotSchemaVersion=47] [phyTblIDs="[94]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:31:33.893 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:31:33.893 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=95] [version=47] [2024/05/06 09:31:33.912 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=47] ["take time"=20.236861ms] [job="ID:95, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:94, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:33.88 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:33.922 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=95] [job="ID:95, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:94, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:33.88 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:33.934 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=95] [2024/05/06 09:31:33.934 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:31:33.934 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=47] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.dist_framework_meta (\n host VARCHAR(261) NOT NULL PRIMARY KEY,\n role VARCHAR(64),\n cpu_count int default 0,\n keyspace_id bigint(8) NOT NULL DEFAULT -1\n );"] [user=] [2024/05/06 09:31:33.935 +00:00] [INFO] [info.go:1142] [SetTiFlashGroupConfig] [2024/05/06 09:31:33.937 +00:00] [INFO] [runaway.go:158] ["preparations for the runaway manager are finished and start runaway manager loop"] [2024/05/06 09:31:33.937 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2024/05/06 09:31:33.937 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2024/05/06 09:31:33.937 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayStartLoop] [2024/05/06 09:31:33.939 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:97, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:96, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:33.937 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:31:33.939 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:97, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:96, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:33.937 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.dist_framework_meta (\n host VARCHAR(261) NOT NULL PRIMARY KEY,\n role VARCHAR(64),\n cpu_count int default 0,\n keyspace_id bigint(8) NOT NULL DEFAULT -1\n );"] [2024/05/06 09:31:33.945 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=97] [category=ddl] [job="ID:97, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:96, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:33.937 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:33.948 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=47] [neededSchemaVersion=48] ["start time"=231.019µs] [gotSchemaVersion=48] [phyTblIDs="[96]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:31:33.949 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:31:33.949 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=97] [version=48] [2024/05/06 09:31:33.950 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=48] ["take time"=2.037409ms] [job="ID:97, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:96, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:33.937 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:33.957 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=97] [job="ID:97, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:96, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:33.937 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:33.962 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=97] [2024/05/06 09:31:33.963 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:31:33.963 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=48] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.request_unit_by_group (\n\t\tstart_time TIMESTAMP(6) NOT NULL,\n\t\tend_time TIMESTAMP(6) NOT NULL,\n\t\tresource_group VARCHAR(32) NOT null,\n\t\ttotal_ru bigint(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (start_time, end_time, resource_group),\n\t\tKEY (resource_group)\n\t);"] [user=] [2024/05/06 09:31:33.966 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:99, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:98, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:33.964 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:31:33.966 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:99, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:98, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:33.964 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.request_unit_by_group (\n\t\tstart_time TIMESTAMP(6) NOT NULL,\n\t\tend_time TIMESTAMP(6) NOT NULL,\n\t\tresource_group VARCHAR(32) NOT null,\n\t\ttotal_ru bigint(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (start_time, end_time, resource_group),\n\t\tKEY (resource_group)\n\t);"] [2024/05/06 09:31:33.972 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=99] [category=ddl] [job="ID:99, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:98, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:33.964 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:33.974 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=48] [neededSchemaVersion=49] ["start time"=245.475µs] [gotSchemaVersion=49] [phyTblIDs="[98]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:31:33.975 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:31:33.975 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=99] [version=49] [2024/05/06 09:31:33.976 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=49] ["take time"=2.108035ms] [job="ID:99, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:98, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:33.964 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:33.982 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=99] [job="ID:99, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:98, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:33.964 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:33.986 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=99] [2024/05/06 09:31:33.986 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:31:33.986 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=49] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS sys;"] [user=] [2024/05/06 09:31:33.991 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:101, Type:create schema, State:queueing, SchemaState:none, SchemaID:100, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:33.99 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:31:33.992 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:101, Type:create schema, State:queueing, SchemaState:none, SchemaID:100, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:33.99 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE DATABASE IF NOT EXISTS sys;"] [2024/05/06 09:31:33.998 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=101] [category=ddl] [job="ID:101, Type:create schema, State:queueing, SchemaState:none, SchemaID:100, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:33.99 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:34.000 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=49] [neededSchemaVersion=50] ["start time"=84.94µs] [gotSchemaVersion=50] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2024/05/06 09:31:34.001 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:31:34.001 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=101] [version=50] [2024/05/06 09:31:34.003 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=50] ["take time"=3.035265ms] [job="ID:101, Type:create schema, State:done, SchemaState:public, SchemaID:100, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:33.99 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:34.008 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=101] [job="ID:101, Type:create schema, State:synced, SchemaState:public, SchemaID:100, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:33.99 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:34.010 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=101] [2024/05/06 09:31:34.010 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:31:34.014 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:103, Type:create view, State:queueing, SchemaState:none, SchemaID:100, TableID:102, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:34.012 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:31:34.014 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:103, Type:create view, State:queueing, SchemaState:none, SchemaID:100, TableID:102, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:34.012 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE OR REPLACE VIEW sys.schema_unused_indexes AS\n\t\tSELECT\n\t\t\ttable_schema as object_schema,\n\t\t\ttable_name as object_name,\n\t\t\tindex_name\n\t\tFROM information_schema.cluster_tidb_index_usage\n\t\tWHERE\n\t\t\ttable_schema not in ('sys', 'mysql', 'INFORMATION_SCHEMA', 'PERFORMANCE_SCHEMA') and\n\t\t\tindex_name != 'PRIMARY'\n\t\tGROUP BY table_schema, table_name, index_name\n\t\tHAVING\n\t\t\tsum(last_access_time) is null;"] [2024/05/06 09:31:34.025 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=103] [category=ddl] [job="ID:103, Type:create view, State:queueing, SchemaState:none, SchemaID:100, TableID:102, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:34.012 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:34.028 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=50] [neededSchemaVersion=51] ["start time"=220.208µs] [gotSchemaVersion=51] [phyTblIDs="[102]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2024/05/06 09:31:34.030 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:31:34.030 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=103] [version=51] [2024/05/06 09:31:34.030 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=51] ["take time"=2.044355ms] [job="ID:103, Type:create view, State:done, SchemaState:public, SchemaID:100, TableID:102, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:34.012 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:34.037 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=103] [job="ID:103, Type:create view, State:synced, SchemaState:public, SchemaID:100, TableID:102, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:34.012 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:34.040 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=103] [2024/05/06 09:31:34.040 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:31:34.078 +00:00] [INFO] [bootstrap.go:745] ["bootstrap successful"] ["take time"=2.144038841s] [2024/05/06 09:31:34.081 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=b443fa78-cdd0-4c73-8855-83ae0b3cce63] [ownerKey=/tidb/ddl/fg/owner] [2024/05/06 09:31:34.081 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/06 09:31:34.081 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 5, tp add index"] [category=ddl] ["take time"=2.446µs] [2024/05/06 09:31:34.081 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 2, tp add index"] [category=ddl] ["take time"=1.172µs] [2024/05/06 09:31:34.081 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 3, tp add index"] [category=ddl] ["take time"=1.753µs] [2024/05/06 09:31:34.081 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 4, tp add index"] [category=ddl] ["take time"=1.066µs] [2024/05/06 09:31:34.081 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/06 09:31:34.081 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 1, tp general"] [category=ddl] ["take time"=1.539µs] [2024/05/06 09:31:34.081 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/06 09:31:34.081 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2024/05/06 09:31:34.081 +00:00] [INFO] [session_pool.go:99] ["closing session pool"] [category=ddl] [2024/05/06 09:31:34.084 +00:00] [INFO] [ddl.go:951] ["DDL closed"] [category=ddl] [ID=b443fa78-cdd0-4c73-8855-83ae0b3cce63] ["take time"=5.849167ms] [2024/05/06 09:31:34.084 +00:00] [INFO] [ddl.go:769] ["stop DDL"] [category=ddl] [ID=b443fa78-cdd0-4c73-8855-83ae0b3cce63] [2024/05/06 09:31:34.087 +00:00] [INFO] [domain.go:683] ["topNSlowQueryLoop exited."] [2024/05/06 09:31:34.087 +00:00] [INFO] [domain.go:907] ["loadSchemaInLoop exited."] [2024/05/06 09:31:34.087 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2024/05/06 09:31:34.087 +00:00] [INFO] [domain.go:737] ["globalConfigSyncerKeeper exited."] [2024/05/06 09:31:34.087 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2024/05/06 09:31:34.087 +00:00] [INFO] [domain.go:1361] ["closestReplicaReadCheckLoop exited."] [2024/05/06 09:31:34.087 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/06 09:31:34.087 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/06 09:31:34.087 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2024/05/06 09:31:34.087 +00:00] [INFO] [domain.go:761] ["topologySyncerKeeper exited."] [2024/05/06 09:31:34.087 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2024/05/06 09:31:34.087 +00:00] [INFO] [domain.go:711] ["infoSyncerKeeper exited."] [2024/05/06 09:31:34.087 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2024/05/06 09:31:34.087 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2024/05/06 09:31:34.087 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2024/05/06 09:31:34.087 +00:00] [INFO] [domain.go:1074] ["domain closed"] ["take time"=9.116676ms] [2024/05/06 09:31:34.087 +00:00] [INFO] [tidb.go:80] ["new domain"] [store=1a51bf8b-6d74-4bfc-8f77-4fb58b4c4fb4] ["ddl lease"=100ms] ["stats lease"=-1ns] [2024/05/06 09:31:34.096 +00:00] [WARN] [controller.go:198] ["[resource group controller] server does not save config, load config failed"] [2024/05/06 09:31:34.096 +00:00] [INFO] [controller.go:185] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":10,\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\"}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":10,\"DegradedModeWaitDuration\":0}"] [2024/05/06 09:31:34.110 +00:00] [INFO] [domain.go:315] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=51] ["start time"=13.820148ms] [2024/05/06 09:31:34.111 +00:00] [INFO] [domain.go:635] ["full load and reset schema validator"] [2024/05/06 09:31:34.111 +00:00] [INFO] [ddl.go:818] ["start DDL"] [category=ddl] [ID=90b7295d-4ec6-4f9c-b958-ee8665a05af2] [runWorker=true] [2024/05/06 09:31:34.111 +00:00] [INFO] [ddl.go:777] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=true] [2024/05/06 09:31:34.111 +00:00] [WARN] [env.go:51] ["initialize environment failed"] [category=ddl-ingest] ["storage limitation"="only support TiKV storage"] ["current storage"=unistore] ["lightning is initialized"=false] [2024/05/06 09:31:34.111 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2024/05/06 09:31:34.111 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=mdlCheckLoop] [2024/05/06 09:31:34.111 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2024/05/06 09:31:34.111 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2024/05/06 09:31:34.111 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/06 09:31:34.111 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayStartLoop] [2024/05/06 09:31:34.111 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/06 09:31:34.111 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2024/05/06 09:31:34.111 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/06 09:31:34.111 +00:00] [WARN] [domain.go:1326] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/06 09:31:34.111 +00:00] [INFO] [delete_range.go:172] ["start delRange emulator"] [category=ddl] [2024/05/06 09:31:34.111 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/06 09:31:34.112 +00:00] [INFO] [runaway.go:149] ["try to start runaway manager loop"] [2024/05/06 09:31:34.112 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/06 09:31:34.114 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2024/05/06 09:31:34.114 +00:00] [WARN] [sysvar_cache.go:49] ["sysvar cache is empty, triggering rebuild"] [2024/05/06 09:31:34.117 +00:00] [INFO] [sysvar.go:2748] ["set resource control"] [enable=true] [2024/05/06 09:31:34.118 +00:00] [INFO] [controller.go:447] ["[resource group controller] create resource group cost controller"] [name=default] [2024/05/06 09:31:34.129 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2024/05/06 09:31:34.132 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2024/05/06 09:31:34.134 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2024/05/06 09:31:34.134 +00:00] [INFO] [domain.go:2070] ["dumpFileGcChecker started"] [2024/05/06 09:31:34.135 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=indexUsageWorker] [2024/05/06 09:31:34.135 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=quitStatsOwner] [2024/05/06 09:31:34.135 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2024/05/06 09:31:34.136 +00:00] [INFO] [manager.go:113] ["build task executor manager"] [server-id=:4000] [total-cpu=16] [total-mem=342.3GiB] [2024/05/06 09:31:34.136 +00:00] [INFO] [task_manager.go:217] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=0] [newCount=4] [2024/05/06 09:31:34.136 +00:00] [INFO] [task_manager.go:217] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=0] [newCount=4] [2024/05/06 09:31:34.138 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2024/05/06 09:31:34.138 +00:00] [INFO] [manager.go:146] ["task executor manager start"] [server-id=:4000] [2024/05/06 09:31:34.138 +00:00] [INFO] [domain.go:1525] ["dist task executor manager started"] [2024/05/06 09:31:34.143 +00:00] [INFO] [set.go:170] ["set global var"] [conn=1] [name=tidb_schema_cache_size] [val=1024] [2024/05/06 09:31:34.146 +00:00] [INFO] [set.go:170] ["set global var"] [conn=2] [name=tidb_schema_cache_size] [val=1024] [2024/05/06 09:31:34.147 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=1] [schemaVersion=51] [cur_db=test] [sql="drop table if exists t_partition;"] [user=] [2024/05/06 09:31:34.147 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=1] [schemaVersion=51] [cur_db=test] [sql="create table t_partition (\n\t\tc1 int, c2 int, c3 int\n\t)\n\tpartition by range( c1 ) (\n \tpartition p0 values less than (1024),\n \tpartition p1 values less than (2048),\n \tpartition p2 values less than (3072),\n \tpartition p3 values less than (4096),\n\t\tpartition p4 values less than (7096)\n \t);"] [user=] [2024/05/06 09:31:34.151 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:110, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:34.149 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:31:34.151 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:110, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:34.149 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table t_partition (\n\t\tc1 int, c2 int, c3 int\n\t)\n\tpartition by range( c1 ) (\n \tpartition p0 values less than (1024),\n \tpartition p1 values less than (2048),\n \tpartition p2 values less than (3072),\n \tpartition p3 values less than (4096),\n\t\tpartition p4 values less than (7096)\n \t);"] [2024/05/06 09:31:34.169 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/06 09:31:34.169 +00:00] [INFO] [job_table.go:349] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2024/05/06 09:31:34.180 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=110] [conn=1] [category=ddl] [job="ID:110, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:34.149 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:34.197 +00:00] [INFO] [domain.go:315] ["full load InfoSchema success"] [currentSchemaVersion=51] [neededSchemaVersion=51] ["start time"=29.146547ms] [2024/05/06 09:31:34.202 +00:00] [INFO] [domain.go:635] ["full load and reset schema validator"] [2024/05/06 09:31:34.211 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=51] [neededSchemaVersion=52] ["start time"=7.039694ms] [gotSchemaVersion=52] [phyTblIDs="[104,105,106,107,108,109]"] [actionTypes="[3,3,3,3,3,3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:31:34.213 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=110] [version=52] [2024/05/06 09:31:34.214 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=52] ["take time"=30.15715ms] [job="ID:110, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:34.149 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:34.222 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=110] [conn=1] [job="ID:110, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:34.149 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:34.232 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=110] [2024/05/06 09:31:34.232 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:31:34.233 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=1] [schemaVersion=52] [cur_db=test] [sql="create table t (\n\t\tc1 int, c2 int, c3 int, c11 tinyint, index fk_c1(c1)\n\t);"] [user=] [2024/05/06 09:31:34.237 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:112, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:34.235 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:31:34.237 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:112, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:34.235 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table t (\n\t\tc1 int, c2 int, c3 int, c11 tinyint, index fk_c1(c1)\n\t);"] [2024/05/06 09:31:34.244 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=112] [conn=1] [category=ddl] [job="ID:112, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:34.235 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:34.248 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=52] [neededSchemaVersion=53] ["start time"=248µs] [gotSchemaVersion=53] [phyTblIDs="[111]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:31:34.249 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=112] [version=53] [2024/05/06 09:31:34.252 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=53] ["take time"=5.114625ms] [job="ID:112, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:34.235 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:34.262 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=112] [conn=1] [job="ID:112, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:34.235 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:34.271 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=112] [2024/05/06 09:31:34.271 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:31:35.122 +00:00] [INFO] [runaway.go:158] ["preparations for the runaway manager are finished and start runaway manager loop"] [2024/05/06 09:31:35.122 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2024/05/06 09:31:35.122 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2024/05/06 09:31:35.122 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayStartLoop] [2024/05/06 09:31:35.144 +00:00] [INFO] [slots.go:205] ["initialize slot capacity"] [capacity=16] [2024/05/06 09:31:35.147 +00:00] [INFO] [scheduler_manager.go:200] ["schedule task loop start"] [server-id=:4000] [2024/05/06 09:31:35.147 +00:00] [INFO] [scheduler_manager.go:312] ["subtask table gc loop start"] [server-id=:4000] [2024/05/06 09:31:35.147 +00:00] [INFO] [scheduler_manager.go:373] ["cleanup loop start"] [server-id=:4000] [2024/05/06 09:31:35.147 +00:00] [INFO] [scheduler_manager.go:453] ["collect loop start"] [server-id=:4000] [2024/05/06 09:31:35.147 +00:00] [INFO] [runtime.go:160] ["TimerGroupRuntime loop started"] [groupID=ttl] [2024/05/06 09:31:35.147 +00:00] [INFO] [runtime.go:402] ["create watch chan if possible for timer runtime"] [groupID=ttl] [storeSupportWatch=true] [2024/05/06 09:31:36.115 +00:00] [INFO] [info.go:1142] [SetTiFlashGroupConfig] [2024/05/06 09:31:36.899 +00:00] [INFO] [set.go:170] ["set global var"] [conn=1] [name=tidb_ddl_reorg_batch_size] [val=8] [2024/05/06 09:31:36.904 +00:00] [INFO] [set.go:170] ["set global var"] [conn=1] [name=tidb_ddl_reorg_worker_cnt] [val=1] [2024/05/06 09:31:36.905 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=53] [cur_db=test] [sql="create unique index c3_index on t_partition (c1)"] [user=] [2024/05/06 09:31:36.908 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:113, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:36.906 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 09:31:36.908 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:113, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:36.906 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="create unique index c3_index on t_partition (c1)"] [2024/05/06 09:31:36.917 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:113, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:36.906 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:36.917 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=113] [conn=3] [category=ddl] [job="ID:113, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:36.906 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:36.917 +00:00] [INFO] [index.go:654] ["run add index job"] [category=ddl] [job="ID:113, Type:add index, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:36.906 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [indexInfo="{\"id\":1,\"idx_name\":{\"O\":\"c3_index\",\"L\":\"c3_index\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"c1\",\"L\":\"c1\"},\"offset\":0,\"length\":-1}],\"state\":0,\"backfill_state\":0,\"comment\":\"\",\"index_type\":1,\"is_unique\":true,\"is_primary\":false,\"is_invisible\":false,\"is_global\":false,\"mv_index\":false}"] [2024/05/06 09:31:36.917 +00:00] [INFO] [index.go:817] ["fallback to txn-merge backfill process"] [category=ddl] ["lightning env initialized"=false] [2024/05/06 09:31:36.918 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:113, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:36.906 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:36.928 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=53] [neededSchemaVersion=54] ["start time"=8.137995ms] [gotSchemaVersion=54] [phyTblIDs="[104,105,106,107,108,109]"] [actionTypes="[7,7,7,7,7,7]"] [diffTypes="[\"add index\"]"] [2024/05/06 09:31:36.930 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=113] [version=54] [2024/05/06 09:31:36.931 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=54] ["take time"=10.499301ms] [job="ID:113, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:36.906 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:36.932 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:113, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:36.906 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:36.937 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:113, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:36.906 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:36.937 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=113] [conn=3] [category=ddl] [job="ID:113, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:36.906 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:36.937 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:113, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:36.906 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:36.945 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=54] [neededSchemaVersion=55] ["start time"=6.15497ms] [gotSchemaVersion=55] [phyTblIDs="[104,105,106,107,108,109]"] [actionTypes="[7,7,7,7,7,7]"] [diffTypes="[\"add index\"]"] [2024/05/06 09:31:36.946 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=113] [version=55] [2024/05/06 09:31:36.947 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=55] ["take time"=8.402156ms] [job="ID:113, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:36.906 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:36.948 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:113, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:36.906 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:36.952 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:113, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:36.906 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:36.952 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=113] [conn=3] [category=ddl] [job="ID:113, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:36.906 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:36.953 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:113, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:36.906 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:36.968 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=55] [neededSchemaVersion=56] ["start time"=13.137716ms] [gotSchemaVersion=56] [phyTblIDs="[104,105,106,107,108,109]"] [actionTypes="[7,7,7,7,7,7]"] [diffTypes="[\"add index\"]"] [2024/05/06 09:31:36.969 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=113] [version=56] [2024/05/06 09:31:36.971 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=56] ["take time"=16.45229ms] [job="ID:113, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:36.906 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:36.972 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:113, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:36.906 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:36.981 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:113, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:36.906 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:36.983 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=113] [conn=3] [category=ddl] [job="ID:113, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:36.906 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:36.984 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=113] [table=t_partition] ["ingest mode"=false] [index=c3_index] [2024/05/06 09:31:36.985 +00:00] [INFO] [reorg.go:718] ["job get table range"] [category=ddl] [jobID=113] [physicalTableID=105] [startKey=7480000000000000695f728000000000000001] [endKey=7480000000000000695f72800000000000015600] [2024/05/06 09:31:36.987 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:113, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:36.906 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787266973696, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:36.988 +00:00] [WARN] [session.go:813] ["can not retry txn"] [label=internal] [error="[kv:9007]Write conflict, txnStartTS=449573787266187264, conflictStartTS=449573787266187265, conflictCommitTS=449573787266711552, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=113}, originalKey=748000fffffffffffe5f728000000000000071, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [IsBatchInsert=false] [IsPessimistic=false] [InRestrictedSQL=true] [tidb_retry_limit=10] [tidb_disable_txn_auto_retry=true] [2024/05/06 09:31:36.988 +00:00] [WARN] [session.go:829] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[kv:9007]Write conflict, txnStartTS=449573787266187264, conflictStartTS=449573787266187265, conflictCommitTS=449573787266711552, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=113}, originalKey=748000fffffffffffe5f728000000000000071, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [2024/05/06 09:31:36.988 +00:00] [INFO] [job_table.go:465] ["handle ddl job failed"] [worker="worker 9, tp add index"] [category=ddl] [error="[kv:9007]Write conflict, txnStartTS=449573787266187264, conflictStartTS=449573787266187265, conflictCommitTS=449573787266711552, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=113}, originalKey=748000fffffffffffe5f728000000000000071, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [job="ID:113, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:36.906 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787266973696, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:36.995 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:113, Type:add index, State:cancelling, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:36.906 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:36.995 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=113] [conn=3] [category=ddl] [job="ID:113, Type:add index, State:cancelling, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:36.906 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:36.996 +00:00] [INFO] [rollingback.go:559] ["the DDL job is cancelled normally"] [worker="worker 10, tp add index"] [category=ddl] [jobID=113] [conn=3] [job="ID:113, Type:add index, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:36.906 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [error="[ddl:8214]Cancelled DDL job"] [errorVerbose="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.completeErr\n\tpkg/ddl/index_cop.go:319\ngithub.com/pingcap/tidb/pkg/ddl.convertAddIdxJob2RollbackJob\n\tpkg/ddl/rollingback.go:93\ngithub.com/pingcap/tidb/pkg/ddl.convertNotReorgAddIdxJob2RollbackJob\n\tpkg/ddl/rollingback.go:139\ngithub.com/pingcap/tidb/pkg/ddl.rollingbackAddIndex\n\tpkg/ddl/rollingback.go:270\ngithub.com/pingcap/tidb/pkg/ddl.convertJob2RollbackJob\n\tpkg/ddl/rollingback.go:480\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).runDDLJob\n\tpkg/ddl/ddl_worker.go:1202\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).HandleDDLJobTable\n\tpkg/ddl/ddl_worker.go:946\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2Worker.func1\n\tpkg/ddl/job_table.go:461\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:157\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [2024/05/06 09:31:36.996 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:113, Type:add index, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:36.906 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.007 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=56] [neededSchemaVersion=57] ["start time"=9.271834ms] [gotSchemaVersion=57] [phyTblIDs="[104,105,106,107,108,109]"] [actionTypes="[7,7,7,7,7,7]"] [diffTypes="[\"add index\"]"] [2024/05/06 09:31:37.008 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=113] [version=57] [2024/05/06 09:31:37.014 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=57] ["take time"=16.191767ms] [job="ID:113, Type:add index, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:36.906 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.015 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:113, Type:add index, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:36.906 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.019 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:113, Type:add index, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:36.906 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.019 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=113] [conn=3] [category=ddl] [job="ID:113, Type:add index, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:36.906 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.023 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:113, Type:add index, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:36.906 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.034 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=57] [neededSchemaVersion=58] ["start time"=8.228637ms] [gotSchemaVersion=58] [phyTblIDs="[104,105,106,107,108,109]"] [actionTypes="[7,7,7,7,7,7]"] [diffTypes="[\"add index\"]"] [2024/05/06 09:31:37.036 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=113] [version=58] [2024/05/06 09:31:37.036 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=58] ["take time"=10.035678ms] [job="ID:113, Type:add index, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:36.906 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.037 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:113, Type:add index, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:36.906 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.042 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:113, Type:add index, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:36.906 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.043 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=113] [conn=3] [category=ddl] [job="ID:113, Type:add index, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:36.906 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.044 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:113, Type:add index, State:rollback done, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:36.906 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.054 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=58] [neededSchemaVersion=59] ["start time"=8.2905ms] [gotSchemaVersion=59] [phyTblIDs="[104,105,106,107,108,109]"] [actionTypes="[7,7,7,7,7,7]"] [diffTypes="[\"add index\"]"] [2024/05/06 09:31:37.056 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=113] [version=59] [2024/05/06 09:31:37.058 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=59] ["take time"=12.478113ms] [job="ID:113, Type:add index, State:rollback done, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:36.906 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.059 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:113, Type:add index, State:rollback done, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:36.906 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.065 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=113] [tableID=104] [indexIDs="[1,9223090561878065153]"] [comment="add index: physical table ID(s)"] [2024/05/06 09:31:37.066 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=113] [jobType="add index"] [2024/05/06 09:31:37.067 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=113] [conn=3] [job="ID:113, Type:add index, State:rollback done, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:36.906 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.070 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=113] [2024/05/06 09:31:37.070 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=113] [elementID=1] [startKey=7480000000000000685f698000000000000001] [endKey=7480000000000000685f698000000000000002] [2024/05/06 09:31:37.070 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:113, Type:add index, State:rollback done, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:36.906 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.071 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=113] [elementID=2] [startKey=7480000000000000685f69ffff000000000001] [endKey=7480000000000000685f69ffff000000000002] [2024/05/06 09:31:37.073 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=113] [2024/05/06 09:31:37.073 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 09:31:37.073 +00:00] [WARN] [session.go:2153] ["run statement failed"] [schemaVersion=53] [error="[ddl:8214]Cancelled DDL job"] [errorVerbose="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).DoDDLJob\n\tpkg/ddl/ddl.go:1293\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).createIndex\n\tpkg/ddl/ddl_api.go:7732\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateIndex\n\tpkg/ddl/ddl_api.go:7584\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeCreateIndex\n\tpkg/executor/ddl.go:320\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:154\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1211\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:960\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:794\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:559\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2280\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:469\ngithub.com/pingcap/tidb/pkg/ddl_test.TestCancel\n\tpkg/ddl/cancel_test.go:289\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 3,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 09:31:37.073 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=59] [cur_db=test] [sql="create unique index c3_index on t_partition (c1)"] [user=] [2024/05/06 09:31:37.076 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:114, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:37.074 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 09:31:37.076 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:114, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:37.074 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="create unique index c3_index on t_partition (c1)"] [2024/05/06 09:31:37.084 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:114, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:37.074 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.084 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=114] [conn=3] [category=ddl] [job="ID:114, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:37.074 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.084 +00:00] [INFO] [index.go:654] ["run add index job"] [category=ddl] [job="ID:114, Type:add index, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:37.074 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [indexInfo="{\"id\":2,\"idx_name\":{\"O\":\"c3_index\",\"L\":\"c3_index\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"c1\",\"L\":\"c1\"},\"offset\":0,\"length\":-1}],\"state\":0,\"backfill_state\":0,\"comment\":\"\",\"index_type\":1,\"is_unique\":true,\"is_primary\":false,\"is_invisible\":false,\"is_global\":false,\"mv_index\":false}"] [2024/05/06 09:31:37.084 +00:00] [INFO] [index.go:817] ["fallback to txn-merge backfill process"] [category=ddl] ["lightning env initialized"=false] [2024/05/06 09:31:37.085 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:114, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:37.074 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.093 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=59] [neededSchemaVersion=60] ["start time"=6.269256ms] [gotSchemaVersion=60] [phyTblIDs="[104,105,106,107,108,109]"] [actionTypes="[7,7,7,7,7,7]"] [diffTypes="[\"add index\"]"] [2024/05/06 09:31:37.094 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=114] [version=60] [2024/05/06 09:31:37.095 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=60] ["take time"=8.848641ms] [job="ID:114, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:37.074 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.096 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:114, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:37.074 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.101 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:114, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:37.074 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.101 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=114] [conn=3] [category=ddl] [job="ID:114, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:37.074 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.102 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:114, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:37.074 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.110 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=60] [neededSchemaVersion=61] ["start time"=6.800033ms] [gotSchemaVersion=61] [phyTblIDs="[104,105,106,107,108,109]"] [actionTypes="[7,7,7,7,7,7]"] [diffTypes="[\"add index\"]"] [2024/05/06 09:31:37.111 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=114] [version=61] [2024/05/06 09:31:37.116 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=61] ["take time"=13.332369ms] [job="ID:114, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:37.074 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.117 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:114, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:37.074 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.122 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:114, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:37.074 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.122 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=114] [conn=3] [category=ddl] [job="ID:114, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:37.074 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.122 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:114, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:37.074 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.131 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=61] [neededSchemaVersion=62] ["start time"=7.501939ms] [gotSchemaVersion=62] [phyTblIDs="[104,105,106,107,108,109]"] [actionTypes="[7,7,7,7,7,7]"] [diffTypes="[\"add index\"]"] [2024/05/06 09:31:37.133 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=114] [version=62] [2024/05/06 09:31:37.134 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=62] ["take time"=10.157438ms] [job="ID:114, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:37.074 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.135 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:114, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:37.074 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.140 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:114, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:37.074 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.140 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=114] [conn=3] [category=ddl] [job="ID:114, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:37.074 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.141 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=114] [table=t_partition] ["ingest mode"=false] [index=c3_index] [2024/05/06 09:31:37.142 +00:00] [INFO] [reorg.go:718] ["job get table range"] [category=ddl] [jobID=114] [physicalTableID=105] [startKey=7480000000000000695f728000000000000001] [endKey=7480000000000000695f72800000000000015600] [2024/05/06 09:31:37.144 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:114, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:37.074 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787308130304, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.145 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=114] [2024/05/06 09:31:37.145 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:114, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:37.074 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787308130304, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.151 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:114, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:37.074 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787308130304, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.151 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=114] [conn=3] [category=ddl] [job="ID:114, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:37.074 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787308130304, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.152 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=114] [table=t_partition] ["ingest mode"=false] [index=c3_index] [2024/05/06 09:31:37.153 +00:00] [INFO] [index.go:1931] ["start to add table index"] [category=ddl] [job="ID:114, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:37.074 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787308130304, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:2,StartKey:7480000000000000695f728000000000000001,EndKey:7480000000000000695f72800000000000015600,First:false,PhysicalTableID:105,Ingest mode:false"] [2024/05/06 09:31:37.154 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=105] ["start key"=7480000000000000695f728000000000000001] ["end key"=7480000000000000695f72800000000000015600] [2024/05/06 09:31:37.154 +00:00] [INFO] [backfilling.go:692] ["start backfill workers to reorg record"] [category=ddl] [type="add index"] [workerCnt=1] [regionCnt=1] [startKey=7480000000000000695f728000000000000001] [endKey=7480000000000000695f72800000000000015600] [2024/05/06 09:31:37.154 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=105] ["end key"=7480000000000000695f72800000000000015600] ["current end key"=7480000000000000695f72800000000000015600] [2024/05/06 09:31:37.170 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 09:31:37.170 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:114, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:37.074 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787308130304, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.171 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=114] [2024/05/06 09:31:37.171 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:114, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:37.074 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787308130304, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.177 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:114, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:37.074 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787308130304, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.177 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=114] [conn=3] [category=ddl] [job="ID:114, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:37.074 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787308130304, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.177 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=114] [table=t_partition] ["ingest mode"=false] [index=c3_index] [2024/05/06 09:31:37.190 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 09:31:37.190 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:114, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:37.074 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787308130304, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.190 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=114] [2024/05/06 09:31:37.191 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:114, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:37.074 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787308130304, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.195 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:114, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:37.074 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787308130304, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.196 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=114] [conn=3] [category=ddl] [job="ID:114, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:37.074 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787308130304, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.196 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=114] [table=t_partition] ["ingest mode"=false] [index=c3_index] [2024/05/06 09:31:37.208 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 09:31:37.208 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:114, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:37.074 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787308130304, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.209 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=114] [2024/05/06 09:31:37.210 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:114, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:37.074 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787308130304, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.216 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:114, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:37.074 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787308130304, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.216 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=114] [conn=3] [category=ddl] [job="ID:114, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:37.074 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787308130304, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.216 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=114] [table=t_partition] ["ingest mode"=false] [index=c3_index] [2024/05/06 09:31:37.235 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 09:31:37.235 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:114, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:37.074 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787308130304, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.236 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=114] [2024/05/06 09:31:37.237 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:114, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:37.074 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787308130304, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.242 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:114, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:37.074 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787308130304, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.243 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=114] [conn=3] [category=ddl] [job="ID:114, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:37.074 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787308130304, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.243 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=114] [table=t_partition] ["ingest mode"=false] [index=c3_index] [2024/05/06 09:31:37.256 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 09:31:37.256 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:114, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:37.074 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787308130304, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.257 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=114] [2024/05/06 09:31:37.258 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:114, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:37.074 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787308130304, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.263 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:114, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:37.074 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787308130304, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.263 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=114] [conn=3] [category=ddl] [job="ID:114, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:37.074 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787308130304, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.264 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=114] [table=t_partition] ["ingest mode"=false] [index=c3_index] [2024/05/06 09:31:37.268 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp add index"] [task="taskID: 1, physicalTableID: 105, range: [7480000000000000695f728000000000000001, 7480000000000000695f72800000000000015600), jobID: 114"] ["added count"=342] ["scan count"=342] ["next key"=7480000000000000695f72800000000000015600] ["take time"=12.276853ms] [2024/05/06 09:31:37.268 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp add index"] [jobID=114] [2024/05/06 09:31:37.268 +00:00] [INFO] [backfilling.go:632] ["backfill workers successfully processed"] [category=ddl] [element=ID:2,TypeKey:_idx_] ["total added count"=342] ["start key"=7480000000000000695f728000000000000001] [2024/05/06 09:31:37.271 +00:00] [INFO] [index.go:2351] ["job update reorgInfo"] [category=ddl] [jobID=114] [element=ID:2,TypeKey:_idx_] [partitionTableID=106] [startKey=74800000000000006a5f728000000000000157] [endKey=74800000000000006a5f7280000000000002ab00] [] [2024/05/06 09:31:37.271 +00:00] [INFO] [index.go:1931] ["start to add table index"] [category=ddl] [job="ID:114, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:342, ArgLen:6, start time: 2024-05-06 09:31:37.074 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787308130304, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:2,StartKey:74800000000000006a5f728000000000000157,EndKey:74800000000000006a5f7280000000000002ab00,First:false,PhysicalTableID:106,Ingest mode:false"] [2024/05/06 09:31:37.272 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=106] ["start key"=74800000000000006a5f728000000000000157] ["end key"=74800000000000006a5f7280000000000002ab00] [2024/05/06 09:31:37.272 +00:00] [INFO] [backfilling.go:692] ["start backfill workers to reorg record"] [category=ddl] [type="add index"] [workerCnt=1] [regionCnt=1] [startKey=74800000000000006a5f728000000000000157] [endKey=74800000000000006a5f7280000000000002ab00] [2024/05/06 09:31:37.273 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=106] ["end key"=74800000000000006a5f7280000000000002ab00] ["current end key"=74800000000000006a5f7280000000000002ab00] [2024/05/06 09:31:37.318 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=342] [2024/05/06 09:31:37.318 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:114, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:342, ArgLen:6, start time: 2024-05-06 09:31:37.074 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787308130304, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.319 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=114] [2024/05/06 09:31:37.320 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:114, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:342, ArgLen:6, start time: 2024-05-06 09:31:37.074 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787308130304, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.328 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:114, Type:add index, State:cancelling, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:342, ArgLen:0, start time: 2024-05-06 09:31:37.074 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787308130304, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.328 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=114] [conn=3] [category=ddl] [job="ID:114, Type:add index, State:cancelling, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:342, ArgLen:0, start time: 2024-05-06 09:31:37.074 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787308130304, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.328 +00:00] [INFO] [rollingback.go:265] ["run the cancelling DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=114] [conn=3] [job="ID:114, Type:add index, State:cancelling, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:342, ArgLen:0, start time: 2024-05-06 09:31:37.074 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787308130304, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.328 +00:00] [INFO] [ddl.go:615] ["notify reorg worker the job's state"] [category=ddl] ["Job ID"=114] ["Job State"=cancelling] ["Schema State"="write reorganization"] [2024/05/06 09:31:37.329 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=114] [table=t_partition] ["ingest mode"=false] [index=c3_index] [2024/05/06 09:31:37.373 +00:00] [INFO] [backfilling.go:399] ["backfill worker exit on error"] [category=ddl] [worker="backfill-worker 0, tp add index"] [jobID=114] [error="[ddl:8214]Cancelled DDL job"] [2024/05/06 09:31:37.373 +00:00] [WARN] [backfilling.go:641] ["backfill worker failed"] [category=ddl] ["job ID"=114] ["total added count"=342] ["start key"=74800000000000006a5f728000000000000157] ["result next key"=74800000000000006a5f728000000000000157] [error="[ddl:8214]Cancelled DDL job"] [2024/05/06 09:31:37.375 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=342] [2024/05/06 09:31:37.375 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:114, Type:add index, State:cancelling, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:342, ArgLen:6, start time: 2024-05-06 09:31:37.074 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787308130304, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.376 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:114, Type:add index, State:cancelling, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:342, ArgLen:6, start time: 2024-05-06 09:31:37.074 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787308130304, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.382 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:114, Type:add index, State:cancelling, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:342, ArgLen:0, start time: 2024-05-06 09:31:37.074 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787308130304, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.382 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=114] [conn=3] [category=ddl] [job="ID:114, Type:add index, State:cancelling, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:342, ArgLen:0, start time: 2024-05-06 09:31:37.074 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787308130304, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.382 +00:00] [INFO] [rollingback.go:265] ["run the cancelling DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=114] [conn=3] [job="ID:114, Type:add index, State:cancelling, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:342, ArgLen:0, start time: 2024-05-06 09:31:37.074 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787308130304, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.382 +00:00] [INFO] [ddl.go:615] ["notify reorg worker the job's state"] [category=ddl] ["Job ID"=114] ["Job State"=cancelling] ["Schema State"="write reorganization"] [2024/05/06 09:31:37.383 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=114] [table=t_partition] ["ingest mode"=false] [index=c3_index] [2024/05/06 09:31:37.385 +00:00] [WARN] [index.go:1058] ["run add index job failed, convert job to rollback"] [category=ddl] [job="ID:114, Type:add index, State:cancelling, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:342, ArgLen:6, start time: 2024-05-06 09:31:37.074 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787308130304, LocalMode: false, UniqueWarnings:0"] [error="[ddl:8214]Cancelled DDL job"] [2024/05/06 09:31:37.387 +00:00] [INFO] [rollingback.go:559] ["the DDL job is cancelled normally"] [worker="worker 8, tp add index"] [category=ddl] [jobID=114] [conn=3] [job="ID:114, Type:add index, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:342, ArgLen:3, start time: 2024-05-06 09:31:37.074 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449573787308130304, LocalMode: false, UniqueWarnings:0"] [error="[ddl:8214]Cancelled DDL job"] [errorVerbose="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.completeErr\n\tpkg/ddl/index_cop.go:319\ngithub.com/pingcap/tidb/pkg/ddl.convertAddIdxJob2RollbackJob\n\tpkg/ddl/rollingback.go:93\ngithub.com/pingcap/tidb/pkg/ddl.runReorgJobAndHandleErr\n\tpkg/ddl/index.go:1059\ngithub.com/pingcap/tidb/pkg/ddl.doReorgWorkForCreateIndex\n\tpkg/ddl/index.go:869\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).onCreateIndex\n\tpkg/ddl/index.go:731\ngithub.com/pingcap/tidb/pkg/ddl.rollingbackAddIndex\n\tpkg/ddl/rollingback.go:267\ngithub.com/pingcap/tidb/pkg/ddl.convertJob2RollbackJob\n\tpkg/ddl/rollingback.go:480\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).runDDLJob\n\tpkg/ddl/ddl_worker.go:1202\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).HandleDDLJobTable\n\tpkg/ddl/ddl_worker.go:946\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2Worker.func1\n\tpkg/ddl/job_table.go:461\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:157\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [2024/05/06 09:31:37.387 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:114, Type:add index, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:342, ArgLen:3, start time: 2024-05-06 09:31:37.074 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449573787308130304, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.395 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=62] [neededSchemaVersion=63] ["start time"=6.611032ms] [gotSchemaVersion=63] [phyTblIDs="[104,105,106,107,108,109]"] [actionTypes="[7,7,7,7,7,7]"] [diffTypes="[\"add index\"]"] [2024/05/06 09:31:37.396 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=114] [version=63] [2024/05/06 09:31:37.399 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=63] ["take time"=10.59705ms] [job="ID:114, Type:add index, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:342, ArgLen:3, start time: 2024-05-06 09:31:37.074 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449573787308130304, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.400 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:114, Type:add index, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:342, ArgLen:3, start time: 2024-05-06 09:31:37.074 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449573787308130304, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.405 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:114, Type:add index, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:342, ArgLen:0, start time: 2024-05-06 09:31:37.074 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449573787308130304, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.405 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=114] [conn=3] [category=ddl] [job="ID:114, Type:add index, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:342, ArgLen:0, start time: 2024-05-06 09:31:37.074 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449573787308130304, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.406 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:114, Type:add index, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:104, RowCount:342, ArgLen:2, start time: 2024-05-06 09:31:37.074 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449573787308130304, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.416 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=63] [neededSchemaVersion=64] ["start time"=8.296443ms] [gotSchemaVersion=64] [phyTblIDs="[104,105,106,107,108,109]"] [actionTypes="[7,7,7,7,7,7]"] [diffTypes="[\"add index\"]"] [2024/05/06 09:31:37.417 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=114] [version=64] [2024/05/06 09:31:37.417 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=64] ["take time"=10.084385ms] [job="ID:114, Type:add index, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:104, RowCount:342, ArgLen:2, start time: 2024-05-06 09:31:37.074 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449573787308130304, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.418 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:114, Type:add index, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:104, RowCount:342, ArgLen:2, start time: 2024-05-06 09:31:37.074 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449573787308130304, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.425 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:114, Type:add index, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:104, RowCount:342, ArgLen:0, start time: 2024-05-06 09:31:37.074 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449573787308130304, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.425 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=114] [conn=3] [category=ddl] [job="ID:114, Type:add index, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:104, RowCount:342, ArgLen:0, start time: 2024-05-06 09:31:37.074 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449573787308130304, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.426 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:114, Type:add index, State:rollback done, SchemaState:none, SchemaID:2, TableID:104, RowCount:342, ArgLen:2, start time: 2024-05-06 09:31:37.074 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449573787308130304, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.437 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=64] [neededSchemaVersion=65] ["start time"=8.766534ms] [gotSchemaVersion=65] [phyTblIDs="[104,105,106,107,108,109]"] [actionTypes="[7,7,7,7,7,7]"] [diffTypes="[\"add index\"]"] [2024/05/06 09:31:37.438 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=114] [version=65] [2024/05/06 09:31:37.442 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=65] ["take time"=13.951887ms] [job="ID:114, Type:add index, State:rollback done, SchemaState:none, SchemaID:2, TableID:104, RowCount:342, ArgLen:2, start time: 2024-05-06 09:31:37.074 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449573787308130304, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.443 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:114, Type:add index, State:rollback done, SchemaState:none, SchemaID:2, TableID:104, RowCount:342, ArgLen:2, start time: 2024-05-06 09:31:37.074 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449573787308130304, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.449 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=114] [tableID=104] [indexIDs="[2,9223090561878065154]"] [comment="add index: physical table ID(s)"] [2024/05/06 09:31:37.450 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=114] [jobType="add index"] [2024/05/06 09:31:37.450 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=114] [conn=3] [job="ID:114, Type:add index, State:rollback done, SchemaState:none, SchemaID:2, TableID:104, RowCount:342, ArgLen:2, start time: 2024-05-06 09:31:37.074 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449573787308130304, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.454 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=114] [elementID=1] [startKey=7480000000000000685f698000000000000002] [endKey=7480000000000000685f698000000000000003] [2024/05/06 09:31:37.455 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=114] [2024/05/06 09:31:37.456 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=114] [elementID=2] [startKey=7480000000000000685f69ffff000000000002] [endKey=7480000000000000685f69ffff000000000003] [2024/05/06 09:31:37.456 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:114, Type:add index, State:rollback done, SchemaState:none, SchemaID:2, TableID:104, RowCount:342, ArgLen:2, start time: 2024-05-06 09:31:37.074 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449573787308130304, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.459 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=114] [2024/05/06 09:31:37.459 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 09:31:37.459 +00:00] [WARN] [session.go:2153] ["run statement failed"] [schemaVersion=59] [error="[ddl:8214]Cancelled DDL job"] [errorVerbose="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).DoDDLJob\n\tpkg/ddl/ddl.go:1293\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).createIndex\n\tpkg/ddl/ddl_api.go:7732\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateIndex\n\tpkg/ddl/ddl_api.go:7584\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeCreateIndex\n\tpkg/executor/ddl.go:320\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:154\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1211\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:960\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:794\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:559\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2280\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:469\ngithub.com/pingcap/tidb/pkg/ddl_test.TestCancel\n\tpkg/ddl/cancel_test.go:306\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 3,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 09:31:37.459 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=65] [cur_db=test] [sql="alter table t_partition add primary key c3_index (c1)"] [user=] [2024/05/06 09:31:37.461 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:115, Type:add primary key, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:37.46 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 09:31:37.461 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:115, Type:add primary key, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:37.46 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t_partition add primary key c3_index (c1)"] [2024/05/06 09:31:37.468 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:115, Type:add primary key, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:37.46 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.468 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=115] [conn=3] [category=ddl] [job="ID:115, Type:add primary key, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:37.46 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.469 +00:00] [INFO] [index.go:654] ["run add index job"] [category=ddl] [job="ID:115, Type:add primary key, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:37.46 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [indexInfo="{\"id\":3,\"idx_name\":{\"O\":\"PRIMARY\",\"L\":\"primary\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"c1\",\"L\":\"c1\"},\"offset\":0,\"length\":-1}],\"state\":0,\"backfill_state\":0,\"comment\":\"\",\"index_type\":1,\"is_unique\":true,\"is_primary\":true,\"is_invisible\":false,\"is_global\":false,\"mv_index\":false}"] [2024/05/06 09:31:37.469 +00:00] [INFO] [index.go:817] ["fallback to txn-merge backfill process"] [category=ddl] ["lightning env initialized"=false] [2024/05/06 09:31:37.469 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:115, Type:add primary key, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:37.46 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.478 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=65] [neededSchemaVersion=66] ["start time"=6.845404ms] [gotSchemaVersion=66] [phyTblIDs="[104,105,106,107,108,109]"] [actionTypes="[32,32,32,32,32,32]"] [diffTypes="[\"add primary key\"]"] [2024/05/06 09:31:37.479 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=115] [version=66] [2024/05/06 09:31:37.481 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=66] ["take time"=10.299483ms] [job="ID:115, Type:add primary key, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:37.46 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.482 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:115, Type:add primary key, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:37.46 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.487 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:115, Type:add primary key, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:37.46 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.487 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=115] [conn=3] [category=ddl] [job="ID:115, Type:add primary key, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:37.46 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.490 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:115, Type:add primary key, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:37.46 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.500 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=66] [neededSchemaVersion=67] ["start time"=8.478767ms] [gotSchemaVersion=67] [phyTblIDs="[104,105,106,107,108,109]"] [actionTypes="[32,32,32,32,32,32]"] [diffTypes="[\"add primary key\"]"] [2024/05/06 09:31:37.502 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=115] [version=67] [2024/05/06 09:31:37.502 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=67] ["take time"=10.044321ms] [job="ID:115, Type:add primary key, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:37.46 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.503 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:115, Type:add primary key, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:37.46 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.507 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:115, Type:add primary key, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:37.46 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.507 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=115] [conn=3] [category=ddl] [job="ID:115, Type:add primary key, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:37.46 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.510 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:115, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:37.46 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.519 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=67] [neededSchemaVersion=68] ["start time"=7.133703ms] [gotSchemaVersion=68] [phyTblIDs="[104,105,106,107,108,109]"] [actionTypes="[32,32,32,32,32,32]"] [diffTypes="[\"add primary key\"]"] [2024/05/06 09:31:37.520 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=115] [version=68] [2024/05/06 09:31:37.522 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=68] ["take time"=10.346483ms] [job="ID:115, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:37.46 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.523 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:115, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:37.46 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.528 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:115, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:37.46 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.530 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=115] [conn=3] [category=ddl] [job="ID:115, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:37.46 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.531 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=115] [table=t_partition] ["ingest mode"=false] [index=PRIMARY] [2024/05/06 09:31:37.531 +00:00] [INFO] [reorg.go:718] ["job get table range"] [category=ddl] [jobID=115] [physicalTableID=105] [startKey=7480000000000000695f728000000000000001] [endKey=7480000000000000695f72800000000000015600] [2024/05/06 09:31:37.533 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:115, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:37.46 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787410366464, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.534 +00:00] [WARN] [session.go:813] ["can not retry txn"] [label=internal] [error="[kv:9007]Write conflict, txnStartTS=449573787409580032, conflictStartTS=449573787409580033, conflictCommitTS=449573787409842176, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=115}, originalKey=748000fffffffffffe5f728000000000000073, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [IsBatchInsert=false] [IsPessimistic=false] [InRestrictedSQL=true] [tidb_retry_limit=10] [tidb_disable_txn_auto_retry=true] [2024/05/06 09:31:37.534 +00:00] [WARN] [session.go:829] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[kv:9007]Write conflict, txnStartTS=449573787409580032, conflictStartTS=449573787409580033, conflictCommitTS=449573787409842176, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=115}, originalKey=748000fffffffffffe5f728000000000000073, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [2024/05/06 09:31:37.534 +00:00] [INFO] [job_table.go:465] ["handle ddl job failed"] [worker="worker 7, tp add index"] [category=ddl] [error="[kv:9007]Write conflict, txnStartTS=449573787409580032, conflictStartTS=449573787409580033, conflictCommitTS=449573787409842176, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=115}, originalKey=748000fffffffffffe5f728000000000000073, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [job="ID:115, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:37.46 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787410366464, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.539 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:115, Type:add primary key, State:cancelling, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:37.46 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.539 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=115] [conn=3] [category=ddl] [job="ID:115, Type:add primary key, State:cancelling, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:37.46 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.540 +00:00] [INFO] [rollingback.go:559] ["the DDL job is cancelled normally"] [worker="worker 8, tp add index"] [category=ddl] [jobID=115] [conn=3] [job="ID:115, Type:add primary key, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:37.46 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [error="[ddl:8214]Cancelled DDL job"] [errorVerbose="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.completeErr\n\tpkg/ddl/index_cop.go:319\ngithub.com/pingcap/tidb/pkg/ddl.convertAddIdxJob2RollbackJob\n\tpkg/ddl/rollingback.go:93\ngithub.com/pingcap/tidb/pkg/ddl.convertNotReorgAddIdxJob2RollbackJob\n\tpkg/ddl/rollingback.go:139\ngithub.com/pingcap/tidb/pkg/ddl.rollingbackAddIndex\n\tpkg/ddl/rollingback.go:270\ngithub.com/pingcap/tidb/pkg/ddl.convertJob2RollbackJob\n\tpkg/ddl/rollingback.go:482\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).runDDLJob\n\tpkg/ddl/ddl_worker.go:1202\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).HandleDDLJobTable\n\tpkg/ddl/ddl_worker.go:946\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2Worker.func1\n\tpkg/ddl/job_table.go:461\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:157\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [2024/05/06 09:31:37.540 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:115, Type:add primary key, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:37.46 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.549 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=68] [neededSchemaVersion=69] ["start time"=7.149951ms] [gotSchemaVersion=69] [phyTblIDs="[104,105,106,107,108,109]"] [actionTypes="[32,32,32,32,32,32]"] [diffTypes="[\"add primary key\"]"] [2024/05/06 09:31:37.550 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=115] [version=69] [2024/05/06 09:31:37.552 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=69] ["take time"=10.425009ms] [job="ID:115, Type:add primary key, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:37.46 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.553 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:115, Type:add primary key, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:37.46 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.558 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:115, Type:add primary key, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:37.46 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.558 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=115] [conn=3] [category=ddl] [job="ID:115, Type:add primary key, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:37.46 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.559 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:115, Type:add primary key, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:37.46 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.578 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=69] [neededSchemaVersion=70] ["start time"=16.807518ms] [gotSchemaVersion=70] [phyTblIDs="[104,105,106,107,108,109]"] [actionTypes="[32,32,32,32,32,32]"] [diffTypes="[\"add primary key\"]"] [2024/05/06 09:31:37.579 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=115] [version=70] [2024/05/06 09:31:37.581 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=70] ["take time"=20.02848ms] [job="ID:115, Type:add primary key, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:37.46 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.588 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:115, Type:add primary key, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:37.46 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.595 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:115, Type:add primary key, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:37.46 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.595 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=115] [conn=3] [category=ddl] [job="ID:115, Type:add primary key, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:37.46 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.596 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:115, Type:add primary key, State:rollback done, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:37.46 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.605 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=70] [neededSchemaVersion=71] ["start time"=7.594178ms] [gotSchemaVersion=71] [phyTblIDs="[104,105,106,107,108,109]"] [actionTypes="[32,32,32,32,32,32]"] [diffTypes="[\"add primary key\"]"] [2024/05/06 09:31:37.607 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=115] [version=71] [2024/05/06 09:31:37.608 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=71] ["take time"=10.86677ms] [job="ID:115, Type:add primary key, State:rollback done, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:37.46 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.610 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:115, Type:add primary key, State:rollback done, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:37.46 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.616 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=115] [tableID=104] [indexIDs="[3,9223090561878065155]"] [comment="add index: physical table ID(s)"] [2024/05/06 09:31:37.617 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=115] [jobType="add primary key"] [2024/05/06 09:31:37.617 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=115] [conn=3] [job="ID:115, Type:add primary key, State:rollback done, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:37.46 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.620 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=115] [elementID=1] [startKey=7480000000000000685f698000000000000003] [endKey=7480000000000000685f698000000000000004] [2024/05/06 09:31:37.620 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=115] [2024/05/06 09:31:37.621 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:115, Type:add primary key, State:rollback done, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:37.46 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.621 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=115] [elementID=2] [startKey=7480000000000000685f69ffff000000000003] [endKey=7480000000000000685f69ffff000000000004] [2024/05/06 09:31:37.623 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=115] [2024/05/06 09:31:37.623 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 09:31:37.624 +00:00] [WARN] [session.go:2153] ["run statement failed"] [schemaVersion=65] [error="[ddl:8214]Cancelled DDL job"] [errorVerbose="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).DoDDLJob\n\tpkg/ddl/ddl.go:1293\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreatePrimaryKey\n\tpkg/ddl/ddl_api.go:7469\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AlterTable\n\tpkg/ddl/ddl_api.go:3945\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeAlterTable\n\tpkg/executor/ddl.go:388\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:152\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1211\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:960\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:794\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:559\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2280\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:469\ngithub.com/pingcap/tidb/pkg/ddl_test.TestCancel\n\tpkg/ddl/cancel_test.go:289\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 3,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 09:31:37.624 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=71] [cur_db=test] [sql="alter table t_partition add primary key c3_index (c1)"] [user=] [2024/05/06 09:31:37.626 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:116, Type:add primary key, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:37.625 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 09:31:37.626 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:116, Type:add primary key, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:37.625 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t_partition add primary key c3_index (c1)"] [2024/05/06 09:31:37.635 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:116, Type:add primary key, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:37.625 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.635 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=116] [conn=3] [category=ddl] [job="ID:116, Type:add primary key, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:37.625 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.636 +00:00] [INFO] [index.go:654] ["run add index job"] [category=ddl] [job="ID:116, Type:add primary key, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:37.625 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [indexInfo="{\"id\":4,\"idx_name\":{\"O\":\"PRIMARY\",\"L\":\"primary\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"c1\",\"L\":\"c1\"},\"offset\":0,\"length\":-1}],\"state\":0,\"backfill_state\":0,\"comment\":\"\",\"index_type\":1,\"is_unique\":true,\"is_primary\":true,\"is_invisible\":false,\"is_global\":false,\"mv_index\":false}"] [2024/05/06 09:31:37.636 +00:00] [INFO] [index.go:817] ["fallback to txn-merge backfill process"] [category=ddl] ["lightning env initialized"=false] [2024/05/06 09:31:37.636 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:116, Type:add primary key, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:37.625 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.646 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=71] [neededSchemaVersion=72] ["start time"=8.088042ms] [gotSchemaVersion=72] [phyTblIDs="[104,105,106,107,108,109]"] [actionTypes="[32,32,32,32,32,32]"] [diffTypes="[\"add primary key\"]"] [2024/05/06 09:31:37.648 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=116] [version=72] [2024/05/06 09:31:37.649 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=72] ["take time"=10.829008ms] [job="ID:116, Type:add primary key, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:37.625 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.650 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:116, Type:add primary key, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:37.625 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.656 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:116, Type:add primary key, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:37.625 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.656 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=116] [conn=3] [category=ddl] [job="ID:116, Type:add primary key, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:37.625 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.660 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:116, Type:add primary key, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:37.625 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.669 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=72] [neededSchemaVersion=73] ["start time"=7.07728ms] [gotSchemaVersion=73] [phyTblIDs="[104,105,106,107,108,109]"] [actionTypes="[32,32,32,32,32,32]"] [diffTypes="[\"add primary key\"]"] [2024/05/06 09:31:37.670 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=116] [version=73] [2024/05/06 09:31:37.672 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=73] ["take time"=10.158688ms] [job="ID:116, Type:add primary key, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:37.625 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.681 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:116, Type:add primary key, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:37.625 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.687 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:116, Type:add primary key, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:37.625 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.687 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=116] [conn=3] [category=ddl] [job="ID:116, Type:add primary key, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:37.625 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.689 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:116, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:37.625 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.697 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=73] [neededSchemaVersion=74] ["start time"=6.82213ms] [gotSchemaVersion=74] [phyTblIDs="[104,105,106,107,108,109]"] [actionTypes="[32,32,32,32,32,32]"] [diffTypes="[\"add primary key\"]"] [2024/05/06 09:31:37.699 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=116] [version=74] [2024/05/06 09:31:37.701 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=74] ["take time"=10.955037ms] [job="ID:116, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:37.625 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.702 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:116, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:37.625 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.707 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:116, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:37.625 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.707 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=116] [conn=3] [category=ddl] [job="ID:116, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:37.625 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.708 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=116] [table=t_partition] ["ingest mode"=false] [index=PRIMARY] [2024/05/06 09:31:37.709 +00:00] [INFO] [reorg.go:718] ["job get table range"] [category=ddl] [jobID=116] [physicalTableID=105] [startKey=7480000000000000695f728000000000000001] [endKey=7480000000000000695f72800000000000015600] [2024/05/06 09:31:37.711 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:116, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:37.625 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787456765952, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.711 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=116] [2024/05/06 09:31:37.712 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:116, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:37.625 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787456765952, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.718 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:116, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:37.625 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787456765952, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.718 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=116] [conn=3] [category=ddl] [job="ID:116, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:37.625 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787456765952, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.718 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=116] [table=t_partition] ["ingest mode"=false] [index=PRIMARY] [2024/05/06 09:31:37.720 +00:00] [INFO] [index.go:1931] ["start to add table index"] [category=ddl] [job="ID:116, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:37.625 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787456765952, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:4,StartKey:7480000000000000695f728000000000000001,EndKey:7480000000000000695f72800000000000015600,First:false,PhysicalTableID:105,Ingest mode:false"] [2024/05/06 09:31:37.721 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=105] ["start key"=7480000000000000695f728000000000000001] ["end key"=7480000000000000695f72800000000000015600] [2024/05/06 09:31:37.721 +00:00] [INFO] [backfilling.go:692] ["start backfill workers to reorg record"] [category=ddl] [type="add index"] [workerCnt=1] [regionCnt=1] [startKey=7480000000000000695f728000000000000001] [endKey=7480000000000000695f72800000000000015600] [2024/05/06 09:31:37.721 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=105] ["end key"=7480000000000000695f72800000000000015600] ["current end key"=7480000000000000695f72800000000000015600] [2024/05/06 09:31:37.730 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 09:31:37.730 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:116, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:37.625 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787456765952, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.731 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=116] [2024/05/06 09:31:37.732 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:116, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:37.625 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787456765952, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.738 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:116, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:37.625 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787456765952, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.738 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=116] [conn=3] [category=ddl] [job="ID:116, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:37.625 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787456765952, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.739 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=116] [table=t_partition] ["ingest mode"=false] [index=PRIMARY] [2024/05/06 09:31:37.752 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 09:31:37.752 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:116, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:37.625 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787456765952, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.752 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=116] [2024/05/06 09:31:37.753 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:116, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:37.625 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787456765952, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.759 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:116, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:37.625 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787456765952, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.759 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=116] [conn=3] [category=ddl] [job="ID:116, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:37.625 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787456765952, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.760 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=116] [table=t_partition] ["ingest mode"=false] [index=PRIMARY] [2024/05/06 09:31:37.774 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 09:31:37.774 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:116, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:37.625 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787456765952, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.775 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=116] [2024/05/06 09:31:37.776 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:116, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:37.625 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787456765952, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.782 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:116, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:37.625 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787456765952, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.782 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=116] [conn=3] [category=ddl] [job="ID:116, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:37.625 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787456765952, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.783 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=116] [table=t_partition] ["ingest mode"=false] [index=PRIMARY] [2024/05/06 09:31:37.794 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 09:31:37.794 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:116, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:37.625 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787456765952, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.795 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=116] [2024/05/06 09:31:37.796 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:116, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:37.625 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787456765952, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.800 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:116, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:37.625 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787456765952, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.800 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=116] [conn=3] [category=ddl] [job="ID:116, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:37.625 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787456765952, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.801 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=116] [table=t_partition] ["ingest mode"=false] [index=PRIMARY] [2024/05/06 09:31:37.816 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 09:31:37.816 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:116, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:37.625 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787456765952, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.817 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=116] [2024/05/06 09:31:37.818 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:116, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:37.625 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787456765952, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.826 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:116, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:37.625 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787456765952, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.826 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=116] [conn=3] [category=ddl] [job="ID:116, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:37.625 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787456765952, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.827 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=116] [table=t_partition] ["ingest mode"=false] [index=PRIMARY] [2024/05/06 09:31:37.840 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp add index"] [task="taskID: 1, physicalTableID: 105, range: [7480000000000000695f728000000000000001, 7480000000000000695f72800000000000015600), jobID: 116"] ["added count"=342] ["scan count"=342] ["next key"=7480000000000000695f72800000000000015600] ["take time"=17.894766ms] [2024/05/06 09:31:37.840 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp add index"] [jobID=116] [2024/05/06 09:31:37.840 +00:00] [INFO] [backfilling.go:632] ["backfill workers successfully processed"] [category=ddl] [element=ID:4,TypeKey:_idx_] ["total added count"=342] ["start key"=7480000000000000695f728000000000000001] [2024/05/06 09:31:37.843 +00:00] [INFO] [index.go:2351] ["job update reorgInfo"] [category=ddl] [jobID=116] [element=ID:4,TypeKey:_idx_] [partitionTableID=106] [startKey=74800000000000006a5f728000000000000157] [endKey=74800000000000006a5f7280000000000002ab00] [] [2024/05/06 09:31:37.843 +00:00] [INFO] [index.go:1931] ["start to add table index"] [category=ddl] [job="ID:116, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:342, ArgLen:7, start time: 2024-05-06 09:31:37.625 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787456765952, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:4,StartKey:74800000000000006a5f728000000000000157,EndKey:74800000000000006a5f7280000000000002ab00,First:false,PhysicalTableID:106,Ingest mode:false"] [2024/05/06 09:31:37.844 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=106] ["start key"=74800000000000006a5f728000000000000157] ["end key"=74800000000000006a5f7280000000000002ab00] [2024/05/06 09:31:37.844 +00:00] [INFO] [backfilling.go:692] ["start backfill workers to reorg record"] [category=ddl] [type="add index"] [workerCnt=1] [regionCnt=1] [startKey=74800000000000006a5f728000000000000157] [endKey=74800000000000006a5f7280000000000002ab00] [2024/05/06 09:31:37.844 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=106] ["end key"=74800000000000006a5f7280000000000002ab00] ["current end key"=74800000000000006a5f7280000000000002ab00] [2024/05/06 09:31:37.877 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=320] [2024/05/06 09:31:37.877 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:116, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:320, ArgLen:7, start time: 2024-05-06 09:31:37.625 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787456765952, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.878 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=116] [2024/05/06 09:31:37.879 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:116, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:320, ArgLen:7, start time: 2024-05-06 09:31:37.625 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787456765952, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.886 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:116, Type:add primary key, State:cancelling, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:320, ArgLen:0, start time: 2024-05-06 09:31:37.625 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787456765952, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.886 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=116] [conn=3] [category=ddl] [job="ID:116, Type:add primary key, State:cancelling, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:320, ArgLen:0, start time: 2024-05-06 09:31:37.625 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787456765952, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.887 +00:00] [INFO] [rollingback.go:265] ["run the cancelling DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=116] [conn=3] [job="ID:116, Type:add primary key, State:cancelling, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:320, ArgLen:0, start time: 2024-05-06 09:31:37.625 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787456765952, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.887 +00:00] [INFO] [ddl.go:615] ["notify reorg worker the job's state"] [category=ddl] ["Job ID"=116] ["Job State"=cancelling] ["Schema State"="write reorganization"] [2024/05/06 09:31:37.887 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=116] [table=t_partition] ["ingest mode"=false] [index=PRIMARY] [2024/05/06 09:31:37.944 +00:00] [INFO] [backfilling.go:399] ["backfill worker exit on error"] [category=ddl] [worker="backfill-worker 0, tp add index"] [jobID=116] [error="[ddl:8214]Cancelled DDL job"] [2024/05/06 09:31:37.944 +00:00] [WARN] [backfilling.go:641] ["backfill worker failed"] [category=ddl] ["job ID"=116] ["total added count"=342] ["start key"=74800000000000006a5f728000000000000157] ["result next key"=74800000000000006a5f728000000000000157] [error="[ddl:8214]Cancelled DDL job"] [2024/05/06 09:31:37.955 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=342] [2024/05/06 09:31:37.955 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:116, Type:add primary key, State:cancelling, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:342, ArgLen:7, start time: 2024-05-06 09:31:37.625 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787456765952, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.956 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:116, Type:add primary key, State:cancelling, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:342, ArgLen:7, start time: 2024-05-06 09:31:37.625 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787456765952, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.962 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:116, Type:add primary key, State:cancelling, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:342, ArgLen:0, start time: 2024-05-06 09:31:37.625 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787456765952, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.962 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=116] [conn=3] [category=ddl] [job="ID:116, Type:add primary key, State:cancelling, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:342, ArgLen:0, start time: 2024-05-06 09:31:37.625 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787456765952, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.963 +00:00] [INFO] [rollingback.go:265] ["run the cancelling DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=116] [conn=3] [job="ID:116, Type:add primary key, State:cancelling, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:342, ArgLen:0, start time: 2024-05-06 09:31:37.625 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787456765952, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.963 +00:00] [INFO] [ddl.go:615] ["notify reorg worker the job's state"] [category=ddl] ["Job ID"=116] ["Job State"=cancelling] ["Schema State"="write reorganization"] [2024/05/06 09:31:37.963 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=116] [table=t_partition] ["ingest mode"=false] [index=PRIMARY] [2024/05/06 09:31:37.965 +00:00] [WARN] [index.go:1058] ["run add index job failed, convert job to rollback"] [category=ddl] [job="ID:116, Type:add primary key, State:cancelling, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:342, ArgLen:7, start time: 2024-05-06 09:31:37.625 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787456765952, LocalMode: false, UniqueWarnings:0"] [error="[ddl:8214]Cancelled DDL job"] [2024/05/06 09:31:37.967 +00:00] [INFO] [rollingback.go:559] ["the DDL job is cancelled normally"] [worker="worker 8, tp add index"] [category=ddl] [jobID=116] [conn=3] [job="ID:116, Type:add primary key, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:342, ArgLen:3, start time: 2024-05-06 09:31:37.625 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449573787456765952, LocalMode: false, UniqueWarnings:0"] [error="[ddl:8214]Cancelled DDL job"] [errorVerbose="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.completeErr\n\tpkg/ddl/index_cop.go:319\ngithub.com/pingcap/tidb/pkg/ddl.convertAddIdxJob2RollbackJob\n\tpkg/ddl/rollingback.go:93\ngithub.com/pingcap/tidb/pkg/ddl.runReorgJobAndHandleErr\n\tpkg/ddl/index.go:1059\ngithub.com/pingcap/tidb/pkg/ddl.doReorgWorkForCreateIndex\n\tpkg/ddl/index.go:869\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).onCreateIndex\n\tpkg/ddl/index.go:731\ngithub.com/pingcap/tidb/pkg/ddl.rollingbackAddIndex\n\tpkg/ddl/rollingback.go:267\ngithub.com/pingcap/tidb/pkg/ddl.convertJob2RollbackJob\n\tpkg/ddl/rollingback.go:482\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).runDDLJob\n\tpkg/ddl/ddl_worker.go:1202\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).HandleDDLJobTable\n\tpkg/ddl/ddl_worker.go:946\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2Worker.func1\n\tpkg/ddl/job_table.go:461\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:157\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [2024/05/06 09:31:37.967 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:116, Type:add primary key, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:342, ArgLen:3, start time: 2024-05-06 09:31:37.625 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449573787456765952, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.977 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=74] [neededSchemaVersion=75] ["start time"=8.164469ms] [gotSchemaVersion=75] [phyTblIDs="[104,105,106,107,108,109]"] [actionTypes="[32,32,32,32,32,32]"] [diffTypes="[\"add primary key\"]"] [2024/05/06 09:31:37.979 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=116] [version=75] [2024/05/06 09:31:37.979 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=75] ["take time"=10.416315ms] [job="ID:116, Type:add primary key, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:342, ArgLen:3, start time: 2024-05-06 09:31:37.625 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449573787456765952, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.980 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:116, Type:add primary key, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:342, ArgLen:3, start time: 2024-05-06 09:31:37.625 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449573787456765952, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.987 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:116, Type:add primary key, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:342, ArgLen:0, start time: 2024-05-06 09:31:37.625 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449573787456765952, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.987 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=116] [conn=3] [category=ddl] [job="ID:116, Type:add primary key, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:342, ArgLen:0, start time: 2024-05-06 09:31:37.625 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449573787456765952, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.988 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:116, Type:add primary key, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:104, RowCount:342, ArgLen:2, start time: 2024-05-06 09:31:37.625 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449573787456765952, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:37.998 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=75] [neededSchemaVersion=76] ["start time"=8.290636ms] [gotSchemaVersion=76] [phyTblIDs="[104,105,106,107,108,109]"] [actionTypes="[32,32,32,32,32,32]"] [diffTypes="[\"add primary key\"]"] [2024/05/06 09:31:37.999 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=116] [version=76] [2024/05/06 09:31:38.012 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=76] ["take time"=22.832695ms] [job="ID:116, Type:add primary key, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:104, RowCount:342, ArgLen:2, start time: 2024-05-06 09:31:37.625 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449573787456765952, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.013 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:116, Type:add primary key, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:104, RowCount:342, ArgLen:2, start time: 2024-05-06 09:31:37.625 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449573787456765952, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.019 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:116, Type:add primary key, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:104, RowCount:342, ArgLen:0, start time: 2024-05-06 09:31:37.625 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449573787456765952, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.019 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=116] [conn=3] [category=ddl] [job="ID:116, Type:add primary key, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:104, RowCount:342, ArgLen:0, start time: 2024-05-06 09:31:37.625 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449573787456765952, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.020 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:116, Type:add primary key, State:rollback done, SchemaState:none, SchemaID:2, TableID:104, RowCount:342, ArgLen:2, start time: 2024-05-06 09:31:37.625 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449573787456765952, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.030 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=76] [neededSchemaVersion=77] ["start time"=8.339107ms] [gotSchemaVersion=77] [phyTblIDs="[104,105,106,107,108,109]"] [actionTypes="[32,32,32,32,32,32]"] [diffTypes="[\"add primary key\"]"] [2024/05/06 09:31:38.034 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=116] [version=77] [2024/05/06 09:31:38.036 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=77] ["take time"=14.19261ms] [job="ID:116, Type:add primary key, State:rollback done, SchemaState:none, SchemaID:2, TableID:104, RowCount:342, ArgLen:2, start time: 2024-05-06 09:31:37.625 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449573787456765952, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.037 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:116, Type:add primary key, State:rollback done, SchemaState:none, SchemaID:2, TableID:104, RowCount:342, ArgLen:2, start time: 2024-05-06 09:31:37.625 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449573787456765952, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.046 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=116] [tableID=104] [indexIDs="[4,9223090561878065156]"] [comment="add index: physical table ID(s)"] [2024/05/06 09:31:38.047 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=116] [jobType="add primary key"] [2024/05/06 09:31:38.047 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=116] [conn=3] [job="ID:116, Type:add primary key, State:rollback done, SchemaState:none, SchemaID:2, TableID:104, RowCount:342, ArgLen:2, start time: 2024-05-06 09:31:37.625 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449573787456765952, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.050 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=116] [2024/05/06 09:31:38.050 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=116] [elementID=1] [startKey=7480000000000000685f698000000000000004] [endKey=7480000000000000685f698000000000000005] [2024/05/06 09:31:38.051 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:116, Type:add primary key, State:rollback done, SchemaState:none, SchemaID:2, TableID:104, RowCount:342, ArgLen:2, start time: 2024-05-06 09:31:37.625 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449573787456765952, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.052 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=116] [elementID=2] [startKey=7480000000000000685f69ffff000000000004] [endKey=7480000000000000685f69ffff000000000005] [2024/05/06 09:31:38.053 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=116] [2024/05/06 09:31:38.053 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 09:31:38.053 +00:00] [WARN] [session.go:2153] ["run statement failed"] [schemaVersion=71] [error="[ddl:8214]Cancelled DDL job"] [errorVerbose="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).DoDDLJob\n\tpkg/ddl/ddl.go:1293\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreatePrimaryKey\n\tpkg/ddl/ddl_api.go:7469\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AlterTable\n\tpkg/ddl/ddl_api.go:3945\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeAlterTable\n\tpkg/executor/ddl.go:388\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:152\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1211\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:960\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:794\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:559\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2280\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:469\ngithub.com/pingcap/tidb/pkg/ddl_test.TestCancel\n\tpkg/ddl/cancel_test.go:306\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 3,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 09:31:38.053 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=77] [cur_db=test] [sql="alter table t add primary key idx_pc2 (c2)"] [user=] [2024/05/06 09:31:38.056 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:117, Type:add primary key, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:38.055 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 09:31:38.056 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:117, Type:add primary key, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:38.055 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add primary key idx_pc2 (c2)"] [2024/05/06 09:31:38.066 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:117, Type:add primary key, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:38.055 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.069 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=117] [conn=3] [category=ddl] [job="ID:117, Type:add primary key, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:38.055 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.069 +00:00] [INFO] [index.go:654] ["run add index job"] [category=ddl] [job="ID:117, Type:add primary key, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:38.055 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [indexInfo="{\"id\":2,\"idx_name\":{\"O\":\"PRIMARY\",\"L\":\"primary\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"c2\",\"L\":\"c2\"},\"offset\":1,\"length\":-1}],\"state\":0,\"backfill_state\":0,\"comment\":\"\",\"index_type\":1,\"is_unique\":true,\"is_primary\":true,\"is_invisible\":false,\"is_global\":false,\"mv_index\":false}"] [2024/05/06 09:31:38.069 +00:00] [INFO] [index.go:817] ["fallback to txn-merge backfill process"] [category=ddl] ["lightning env initialized"=false] [2024/05/06 09:31:38.070 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:117, Type:add primary key, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:38.055 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.071 +00:00] [WARN] [session.go:813] ["can not retry txn"] [label=internal] [error="[kv:9007]Write conflict, txnStartTS=449573787550613505, conflictStartTS=449573787550875648, conflictCommitTS=449573787551137792, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=117}, originalKey=748000fffffffffffe5f728000000000000075, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [IsBatchInsert=false] [IsPessimistic=false] [InRestrictedSQL=true] [tidb_retry_limit=10] [tidb_disable_txn_auto_retry=true] [2024/05/06 09:31:38.072 +00:00] [WARN] [session.go:829] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[kv:9007]Write conflict, txnStartTS=449573787550613505, conflictStartTS=449573787550875648, conflictCommitTS=449573787551137792, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=117}, originalKey=748000fffffffffffe5f728000000000000075, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [2024/05/06 09:31:38.072 +00:00] [INFO] [job_table.go:465] ["handle ddl job failed"] [worker="worker 10, tp add index"] [category=ddl] [error="[kv:9007]Write conflict, txnStartTS=449573787550613505, conflictStartTS=449573787550875648, conflictCommitTS=449573787551137792, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=117}, originalKey=748000fffffffffffe5f728000000000000075, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [job="ID:117, Type:add primary key, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:38.055 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.078 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:117, Type:add primary key, State:cancelling, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:38.055 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.078 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=117] [conn=3] [category=ddl] [job="ID:117, Type:add primary key, State:cancelling, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:38.055 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.078 +00:00] [INFO] [rollingback.go:559] ["the DDL job is cancelled normally"] [worker="worker 8, tp add index"] [category=ddl] [jobID=117] [conn=3] [job="ID:117, Type:add primary key, State:cancelled, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:38.055 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [error="[ddl:8214]Cancelled DDL job"] [2024/05/06 09:31:38.078 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:117, Type:add primary key, State:cancelled, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:38.055 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.078 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=117] [conn=3] [job="ID:117, Type:add primary key, State:cancelled, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:38.055 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.081 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:117, Type:add primary key, State:cancelled, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:38.055 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.082 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=117] [2024/05/06 09:31:38.082 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 09:31:38.082 +00:00] [WARN] [session.go:2153] ["run statement failed"] [schemaVersion=77] [error="[ddl:8214]Cancelled DDL job"] [errorVerbose="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).DoDDLJob\n\tpkg/ddl/ddl.go:1293\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreatePrimaryKey\n\tpkg/ddl/ddl_api.go:7469\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AlterTable\n\tpkg/ddl/ddl_api.go:3945\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeAlterTable\n\tpkg/executor/ddl.go:388\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:152\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1211\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:960\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:794\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:559\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2280\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:469\ngithub.com/pingcap/tidb/pkg/ddl_test.TestCancel\n\tpkg/ddl/cancel_test.go:289\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 3,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 09:31:38.082 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=77] [cur_db=test] [sql="alter table t add primary key idx_pc2 (c2)"] [user=] [2024/05/06 09:31:38.087 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:118, Type:add primary key, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:38.085 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 09:31:38.087 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:118, Type:add primary key, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:38.085 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add primary key idx_pc2 (c2)"] [2024/05/06 09:31:38.098 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:118, Type:add primary key, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:38.085 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.098 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=118] [conn=3] [category=ddl] [job="ID:118, Type:add primary key, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:38.085 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.099 +00:00] [INFO] [index.go:654] ["run add index job"] [category=ddl] [job="ID:118, Type:add primary key, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:38.085 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [indexInfo="{\"id\":2,\"idx_name\":{\"O\":\"PRIMARY\",\"L\":\"primary\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"c2\",\"L\":\"c2\"},\"offset\":1,\"length\":-1}],\"state\":0,\"backfill_state\":0,\"comment\":\"\",\"index_type\":1,\"is_unique\":true,\"is_primary\":true,\"is_invisible\":false,\"is_global\":false,\"mv_index\":false}"] [2024/05/06 09:31:38.099 +00:00] [INFO] [index.go:817] ["fallback to txn-merge backfill process"] [category=ddl] ["lightning env initialized"=false] [2024/05/06 09:31:38.099 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:118, Type:add primary key, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:38.085 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.101 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=77] [neededSchemaVersion=79] ["start time"=295.007µs] [gotSchemaVersion=79] [phyTblIDs="[111]"] [actionTypes="[32]"] [diffTypes="[\"add primary key\"]"] [2024/05/06 09:31:38.102 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=118] [version=79] [2024/05/06 09:31:38.104 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=79] ["take time"=3.090161ms] [job="ID:118, Type:add primary key, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:38.085 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.105 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:118, Type:add primary key, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:38.085 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.110 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:118, Type:add primary key, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:38.085 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.112 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=118] [conn=3] [category=ddl] [job="ID:118, Type:add primary key, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:38.085 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.119 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:118, Type:add primary key, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:38.085 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.120 +00:00] [WARN] [session.go:813] ["can not retry txn"] [label=internal] [error="[kv:9007]Write conflict, txnStartTS=449573787562147840, conflictStartTS=449573787562147841, conflictCommitTS=449573787562672128, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=118}, originalKey=748000fffffffffffe5f728000000000000076, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [IsBatchInsert=false] [IsPessimistic=false] [InRestrictedSQL=true] [tidb_retry_limit=10] [tidb_disable_txn_auto_retry=true] [2024/05/06 09:31:38.120 +00:00] [WARN] [session.go:829] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[kv:9007]Write conflict, txnStartTS=449573787562147840, conflictStartTS=449573787562147841, conflictCommitTS=449573787562672128, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=118}, originalKey=748000fffffffffffe5f728000000000000076, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [2024/05/06 09:31:38.120 +00:00] [INFO] [job_table.go:465] ["handle ddl job failed"] [worker="worker 10, tp add index"] [category=ddl] [error="[kv:9007]Write conflict, txnStartTS=449573787562147840, conflictStartTS=449573787562147841, conflictCommitTS=449573787562672128, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=118}, originalKey=748000fffffffffffe5f728000000000000076, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [job="ID:118, Type:add primary key, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:38.085 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.126 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:118, Type:add primary key, State:cancelling, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:38.085 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.126 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=118] [conn=3] [category=ddl] [job="ID:118, Type:add primary key, State:cancelling, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:38.085 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.127 +00:00] [INFO] [rollingback.go:559] ["the DDL job is cancelled normally"] [worker="worker 9, tp add index"] [category=ddl] [jobID=118] [conn=3] [job="ID:118, Type:add primary key, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:38.085 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [error="[ddl:8214]Cancelled DDL job"] [errorVerbose="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.completeErr\n\tpkg/ddl/index_cop.go:319\ngithub.com/pingcap/tidb/pkg/ddl.convertAddIdxJob2RollbackJob\n\tpkg/ddl/rollingback.go:93\ngithub.com/pingcap/tidb/pkg/ddl.convertNotReorgAddIdxJob2RollbackJob\n\tpkg/ddl/rollingback.go:139\ngithub.com/pingcap/tidb/pkg/ddl.rollingbackAddIndex\n\tpkg/ddl/rollingback.go:270\ngithub.com/pingcap/tidb/pkg/ddl.convertJob2RollbackJob\n\tpkg/ddl/rollingback.go:482\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).runDDLJob\n\tpkg/ddl/ddl_worker.go:1202\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).HandleDDLJobTable\n\tpkg/ddl/ddl_worker.go:946\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2Worker.func1\n\tpkg/ddl/job_table.go:461\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:157\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [2024/05/06 09:31:38.127 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:118, Type:add primary key, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:38.085 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.128 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=118] [2024/05/06 09:31:38.128 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:118, Type:add primary key, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:38.085 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.135 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:118, Type:add primary key, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:38.085 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.135 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=118] [conn=3] [category=ddl] [job="ID:118, Type:add primary key, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:38.085 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.136 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:118, Type:add primary key, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:38.085 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.138 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=79] [neededSchemaVersion=81] ["start time"=380.81µs] [gotSchemaVersion=81] [phyTblIDs="[111]"] [actionTypes="[32]"] [diffTypes="[\"add primary key\"]"] [2024/05/06 09:31:38.139 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=118] [version=81] [2024/05/06 09:31:38.139 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=81] ["take time"=2.047039ms] [job="ID:118, Type:add primary key, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:38.085 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.140 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:118, Type:add primary key, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:38.085 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.145 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:118, Type:add primary key, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:38.085 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.145 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=118] [conn=3] [category=ddl] [job="ID:118, Type:add primary key, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:38.085 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.146 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:118, Type:add primary key, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:38.085 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.148 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=81] [neededSchemaVersion=82] ["start time"=357.013µs] [gotSchemaVersion=82] [phyTblIDs="[111]"] [actionTypes="[32]"] [diffTypes="[\"add primary key\"]"] [2024/05/06 09:31:38.149 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=118] [version=82] [2024/05/06 09:31:38.150 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=82] ["take time"=3.145194ms] [job="ID:118, Type:add primary key, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:38.085 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.151 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:118, Type:add primary key, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:38.085 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.159 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=118] [tableID=111] [indexIDs="[2,9223090561878065154]"] [comment="add index: physical table ID(s)"] [2024/05/06 09:31:38.162 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=118] [jobType="add primary key"] [2024/05/06 09:31:38.163 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=118] [conn=3] [job="ID:118, Type:add primary key, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:38.085 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.166 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=118] [2024/05/06 09:31:38.167 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:118, Type:add primary key, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:38.085 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.168 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=118] [2024/05/06 09:31:38.169 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 09:31:38.169 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=118] [elementID=1] [startKey=74800000000000006f5f698000000000000002] [endKey=74800000000000006f5f698000000000000003] [2024/05/06 09:31:38.169 +00:00] [WARN] [session.go:2153] ["run statement failed"] [schemaVersion=77] [error="[ddl:8214]Cancelled DDL job"] [errorVerbose="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).DoDDLJob\n\tpkg/ddl/ddl.go:1293\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreatePrimaryKey\n\tpkg/ddl/ddl_api.go:7469\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AlterTable\n\tpkg/ddl/ddl_api.go:3945\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeAlterTable\n\tpkg/executor/ddl.go:388\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:152\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1211\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:960\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:794\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:559\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2280\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:469\ngithub.com/pingcap/tidb/pkg/ddl_test.TestCancel\n\tpkg/ddl/cancel_test.go:289\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 3,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 09:31:38.169 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=82] [cur_db=test] [sql="alter table t add primary key idx_pc2 (c2)"] [user=] [2024/05/06 09:31:38.170 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=118] [elementID=2] [startKey=74800000000000006f5f69ffff000000000002] [endKey=74800000000000006f5f69ffff000000000003] [2024/05/06 09:31:38.171 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:119, Type:add primary key, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:38.17 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 09:31:38.171 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:119, Type:add primary key, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:38.17 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add primary key idx_pc2 (c2)"] [2024/05/06 09:31:38.179 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:119, Type:add primary key, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:38.17 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.179 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=119] [conn=3] [category=ddl] [job="ID:119, Type:add primary key, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:38.17 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.179 +00:00] [INFO] [index.go:654] ["run add index job"] [category=ddl] [job="ID:119, Type:add primary key, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:38.17 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [indexInfo="{\"id\":3,\"idx_name\":{\"O\":\"PRIMARY\",\"L\":\"primary\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"c2\",\"L\":\"c2\"},\"offset\":1,\"length\":-1}],\"state\":0,\"backfill_state\":0,\"comment\":\"\",\"index_type\":1,\"is_unique\":true,\"is_primary\":true,\"is_invisible\":false,\"is_global\":false,\"mv_index\":false}"] [2024/05/06 09:31:38.179 +00:00] [INFO] [index.go:817] ["fallback to txn-merge backfill process"] [category=ddl] ["lightning env initialized"=false] [2024/05/06 09:31:38.180 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:119, Type:add primary key, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:38.17 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.182 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=82] [neededSchemaVersion=83] ["start time"=365.756µs] [gotSchemaVersion=83] [phyTblIDs="[111]"] [actionTypes="[32]"] [diffTypes="[\"add primary key\"]"] [2024/05/06 09:31:38.184 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=119] [version=83] [2024/05/06 09:31:38.186 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=83] ["take time"=4.66075ms] [job="ID:119, Type:add primary key, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:38.17 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.187 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:119, Type:add primary key, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:38.17 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.196 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:119, Type:add primary key, State:cancelling, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:38.17 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.196 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=119] [conn=3] [category=ddl] [job="ID:119, Type:add primary key, State:cancelling, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:38.17 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.196 +00:00] [INFO] [rollingback.go:559] ["the DDL job is cancelled normally"] [worker="worker 10, tp add index"] [category=ddl] [jobID=119] [conn=3] [job="ID:119, Type:add primary key, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:38.17 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [error="[ddl:8214]Cancelled DDL job"] [errorVerbose="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.completeErr\n\tpkg/ddl/index_cop.go:319\ngithub.com/pingcap/tidb/pkg/ddl.convertAddIdxJob2RollbackJob\n\tpkg/ddl/rollingback.go:93\ngithub.com/pingcap/tidb/pkg/ddl.convertNotReorgAddIdxJob2RollbackJob\n\tpkg/ddl/rollingback.go:139\ngithub.com/pingcap/tidb/pkg/ddl.rollingbackAddIndex\n\tpkg/ddl/rollingback.go:270\ngithub.com/pingcap/tidb/pkg/ddl.convertJob2RollbackJob\n\tpkg/ddl/rollingback.go:482\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).runDDLJob\n\tpkg/ddl/ddl_worker.go:1202\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).HandleDDLJobTable\n\tpkg/ddl/ddl_worker.go:946\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2Worker.func1\n\tpkg/ddl/job_table.go:461\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:157\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [2024/05/06 09:31:38.197 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:119, Type:add primary key, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:38.17 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.198 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=119] [2024/05/06 09:31:38.199 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:119, Type:add primary key, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:38.17 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.206 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:119, Type:add primary key, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:38.17 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.206 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=119] [conn=3] [category=ddl] [job="ID:119, Type:add primary key, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:38.17 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.207 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:119, Type:add primary key, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:38.17 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.212 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=83] [neededSchemaVersion=84] ["start time"=378.501µs] [gotSchemaVersion=84] [phyTblIDs="[111]"] [actionTypes="[32]"] [diffTypes="[\"add primary key\"]"] [2024/05/06 09:31:38.214 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=119] [version=84] [2024/05/06 09:31:38.215 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=84] ["take time"=4.018485ms] [job="ID:119, Type:add primary key, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:38.17 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.216 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:119, Type:add primary key, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:38.17 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.226 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:119, Type:add primary key, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:38.17 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.226 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=119] [conn=3] [category=ddl] [job="ID:119, Type:add primary key, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:38.17 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.230 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:119, Type:add primary key, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:38.17 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.233 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=84] [neededSchemaVersion=85] ["start time"=378.276µs] [gotSchemaVersion=85] [phyTblIDs="[111]"] [actionTypes="[32]"] [diffTypes="[\"add primary key\"]"] [2024/05/06 09:31:38.234 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=119] [version=85] [2024/05/06 09:31:38.238 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=85] ["take time"=5.551578ms] [job="ID:119, Type:add primary key, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:38.17 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.239 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:119, Type:add primary key, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:38.17 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.247 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=119] [tableID=111] [indexIDs="[3,9223090561878065155]"] [comment="add index: physical table ID(s)"] [2024/05/06 09:31:38.249 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=119] [jobType="add primary key"] [2024/05/06 09:31:38.249 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=119] [conn=3] [job="ID:119, Type:add primary key, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:38.17 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.252 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=119] [2024/05/06 09:31:38.253 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:119, Type:add primary key, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:38.17 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.254 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=119] [elementID=1] [startKey=74800000000000006f5f698000000000000003] [endKey=74800000000000006f5f698000000000000004] [2024/05/06 09:31:38.254 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=119] [2024/05/06 09:31:38.254 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 09:31:38.254 +00:00] [WARN] [session.go:2153] ["run statement failed"] [schemaVersion=82] [error="[ddl:8214]Cancelled DDL job"] [errorVerbose="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).DoDDLJob\n\tpkg/ddl/ddl.go:1293\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreatePrimaryKey\n\tpkg/ddl/ddl_api.go:7469\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AlterTable\n\tpkg/ddl/ddl_api.go:3945\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeAlterTable\n\tpkg/executor/ddl.go:388\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:152\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1211\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:960\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:794\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:559\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2280\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:469\ngithub.com/pingcap/tidb/pkg/ddl_test.TestCancel\n\tpkg/ddl/cancel_test.go:306\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 3,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 09:31:38.255 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=85] [cur_db=test] [sql="alter table t add primary key idx_pc2 (c2)"] [user=] [2024/05/06 09:31:38.255 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=119] [elementID=2] [startKey=74800000000000006f5f69ffff000000000003] [endKey=74800000000000006f5f69ffff000000000004] [2024/05/06 09:31:38.257 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:120, Type:add primary key, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:38.256 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 09:31:38.257 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:120, Type:add primary key, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:38.256 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add primary key idx_pc2 (c2)"] [2024/05/06 09:31:38.260 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:120, Type:add primary key, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:38.256 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.260 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=120] [conn=3] [category=ddl] [job="ID:120, Type:add primary key, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:38.256 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.261 +00:00] [INFO] [index.go:654] ["run add index job"] [category=ddl] [job="ID:120, Type:add primary key, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:38.256 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [indexInfo="{\"id\":4,\"idx_name\":{\"O\":\"PRIMARY\",\"L\":\"primary\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"c2\",\"L\":\"c2\"},\"offset\":1,\"length\":-1}],\"state\":0,\"backfill_state\":0,\"comment\":\"\",\"index_type\":1,\"is_unique\":true,\"is_primary\":true,\"is_invisible\":false,\"is_global\":false,\"mv_index\":false}"] [2024/05/06 09:31:38.261 +00:00] [INFO] [index.go:817] ["fallback to txn-merge backfill process"] [category=ddl] ["lightning env initialized"=false] [2024/05/06 09:31:38.261 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:120, Type:add primary key, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:38.256 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.264 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=85] [neededSchemaVersion=86] ["start time"=405.025µs] [gotSchemaVersion=86] [phyTblIDs="[111]"] [actionTypes="[32]"] [diffTypes="[\"add primary key\"]"] [2024/05/06 09:31:38.265 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=120] [version=86] [2024/05/06 09:31:38.266 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=86] ["take time"=2.90367ms] [job="ID:120, Type:add primary key, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:38.256 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.266 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:120, Type:add primary key, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:38.256 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.275 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:120, Type:add primary key, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:38.256 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.275 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=120] [conn=3] [category=ddl] [job="ID:120, Type:add primary key, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:38.256 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.283 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:120, Type:add primary key, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:38.256 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.286 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=86] [neededSchemaVersion=87] ["start time"=398.062µs] [gotSchemaVersion=87] [phyTblIDs="[111]"] [actionTypes="[32]"] [diffTypes="[\"add primary key\"]"] [2024/05/06 09:31:38.287 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=120] [version=87] [2024/05/06 09:31:38.289 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=87] ["take time"=4.212398ms] [job="ID:120, Type:add primary key, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:38.256 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.291 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:120, Type:add primary key, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:38.256 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.297 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:120, Type:add primary key, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:38.256 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.300 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=120] [conn=3] [category=ddl] [job="ID:120, Type:add primary key, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:38.256 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.308 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:120, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:38.256 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.310 +00:00] [WARN] [session.go:813] ["can not retry txn"] [label=internal] [error="[kv:9007]Write conflict, txnStartTS=449573787611168768, conflictStartTS=449573787611430912, conflictCommitTS=449573787611955200, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=120}, originalKey=748000fffffffffffe5f728000000000000078, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [IsBatchInsert=false] [IsPessimistic=false] [InRestrictedSQL=true] [tidb_retry_limit=10] [tidb_disable_txn_auto_retry=true] [2024/05/06 09:31:38.310 +00:00] [WARN] [session.go:829] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[kv:9007]Write conflict, txnStartTS=449573787611168768, conflictStartTS=449573787611430912, conflictCommitTS=449573787611955200, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=120}, originalKey=748000fffffffffffe5f728000000000000078, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [2024/05/06 09:31:38.310 +00:00] [INFO] [job_table.go:465] ["handle ddl job failed"] [worker="worker 9, tp add index"] [category=ddl] [error="[kv:9007]Write conflict, txnStartTS=449573787611168768, conflictStartTS=449573787611430912, conflictCommitTS=449573787611955200, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=120}, originalKey=748000fffffffffffe5f728000000000000078, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [job="ID:120, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:38.256 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.319 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:120, Type:add primary key, State:cancelling, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:38.256 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.319 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=120] [conn=3] [category=ddl] [job="ID:120, Type:add primary key, State:cancelling, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:38.256 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.320 +00:00] [INFO] [rollingback.go:559] ["the DDL job is cancelled normally"] [worker="worker 7, tp add index"] [category=ddl] [jobID=120] [conn=3] [job="ID:120, Type:add primary key, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:38.256 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [error="[ddl:8214]Cancelled DDL job"] [errorVerbose="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.completeErr\n\tpkg/ddl/index_cop.go:319\ngithub.com/pingcap/tidb/pkg/ddl.convertAddIdxJob2RollbackJob\n\tpkg/ddl/rollingback.go:93\ngithub.com/pingcap/tidb/pkg/ddl.convertNotReorgAddIdxJob2RollbackJob\n\tpkg/ddl/rollingback.go:139\ngithub.com/pingcap/tidb/pkg/ddl.rollingbackAddIndex\n\tpkg/ddl/rollingback.go:270\ngithub.com/pingcap/tidb/pkg/ddl.convertJob2RollbackJob\n\tpkg/ddl/rollingback.go:482\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).runDDLJob\n\tpkg/ddl/ddl_worker.go:1202\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).HandleDDLJobTable\n\tpkg/ddl/ddl_worker.go:946\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2Worker.func1\n\tpkg/ddl/job_table.go:461\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:157\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [2024/05/06 09:31:38.320 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:120, Type:add primary key, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:38.256 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.322 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=87] [neededSchemaVersion=89] ["start time"=394.574µs] [gotSchemaVersion=89] [phyTblIDs="[111]"] [actionTypes="[32]"] [diffTypes="[\"add primary key\"]"] [2024/05/06 09:31:38.324 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=120] [version=89] [2024/05/06 09:31:38.325 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=89] ["take time"=2.779241ms] [job="ID:120, Type:add primary key, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:38.256 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.329 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:120, Type:add primary key, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:38.256 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.337 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:120, Type:add primary key, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:38.256 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.337 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=120] [conn=3] [category=ddl] [job="ID:120, Type:add primary key, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:38.256 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.338 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:120, Type:add primary key, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:38.256 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.340 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=89] [neededSchemaVersion=90] ["start time"=250.914µs] [gotSchemaVersion=90] [phyTblIDs="[111]"] [actionTypes="[32]"] [diffTypes="[\"add primary key\"]"] [2024/05/06 09:31:38.342 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=120] [version=90] [2024/05/06 09:31:38.342 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=90] ["take time"=2.071745ms] [job="ID:120, Type:add primary key, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:38.256 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.343 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:120, Type:add primary key, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:38.256 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.350 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:120, Type:add primary key, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:38.256 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.350 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=120] [conn=3] [category=ddl] [job="ID:120, Type:add primary key, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:38.256 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.354 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:120, Type:add primary key, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:38.256 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.356 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=90] [neededSchemaVersion=91] ["start time"=350.749µs] [gotSchemaVersion=91] [phyTblIDs="[111]"] [actionTypes="[32]"] [diffTypes="[\"add primary key\"]"] [2024/05/06 09:31:38.358 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=120] [version=91] [2024/05/06 09:31:38.362 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=91] ["take time"=6.174152ms] [job="ID:120, Type:add primary key, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:38.256 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.363 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:120, Type:add primary key, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:38.256 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.370 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=120] [tableID=111] [indexIDs="[4,9223090561878065156]"] [comment="add index: physical table ID(s)"] [2024/05/06 09:31:38.371 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=120] [jobType="add primary key"] [2024/05/06 09:31:38.371 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=120] [conn=3] [job="ID:120, Type:add primary key, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:38.256 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.373 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=120] [2024/05/06 09:31:38.374 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=120] [elementID=1] [startKey=74800000000000006f5f698000000000000004] [endKey=74800000000000006f5f698000000000000005] [2024/05/06 09:31:38.374 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:120, Type:add primary key, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:38.256 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.375 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=120] [elementID=2] [startKey=74800000000000006f5f69ffff000000000004] [endKey=74800000000000006f5f69ffff000000000005] [2024/05/06 09:31:38.376 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=120] [2024/05/06 09:31:38.376 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 09:31:38.376 +00:00] [WARN] [session.go:2153] ["run statement failed"] [schemaVersion=85] [error="[ddl:8214]Cancelled DDL job"] [errorVerbose="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).DoDDLJob\n\tpkg/ddl/ddl.go:1293\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreatePrimaryKey\n\tpkg/ddl/ddl_api.go:7469\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AlterTable\n\tpkg/ddl/ddl_api.go:3945\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeAlterTable\n\tpkg/executor/ddl.go:388\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:152\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1211\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:960\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:794\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:559\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2280\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:469\ngithub.com/pingcap/tidb/pkg/ddl_test.TestCancel\n\tpkg/ddl/cancel_test.go:289\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 3,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 09:31:38.376 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=91] [cur_db=test] [sql="alter table t add primary key idx_pc2 (c2)"] [user=] [2024/05/06 09:31:38.379 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:121, Type:add primary key, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:38.378 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 09:31:38.379 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:121, Type:add primary key, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:38.378 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add primary key idx_pc2 (c2)"] [2024/05/06 09:31:38.387 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:121, Type:add primary key, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:38.378 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.387 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=121] [conn=3] [category=ddl] [job="ID:121, Type:add primary key, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:38.378 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.388 +00:00] [INFO] [index.go:654] ["run add index job"] [category=ddl] [job="ID:121, Type:add primary key, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:38.378 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [indexInfo="{\"id\":5,\"idx_name\":{\"O\":\"PRIMARY\",\"L\":\"primary\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"c2\",\"L\":\"c2\"},\"offset\":1,\"length\":-1}],\"state\":0,\"backfill_state\":0,\"comment\":\"\",\"index_type\":1,\"is_unique\":true,\"is_primary\":true,\"is_invisible\":false,\"is_global\":false,\"mv_index\":false}"] [2024/05/06 09:31:38.388 +00:00] [INFO] [index.go:817] ["fallback to txn-merge backfill process"] [category=ddl] ["lightning env initialized"=false] [2024/05/06 09:31:38.388 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:121, Type:add primary key, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:38.378 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.390 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=91] [neededSchemaVersion=92] ["start time"=290.334µs] [gotSchemaVersion=92] [phyTblIDs="[111]"] [actionTypes="[32]"] [diffTypes="[\"add primary key\"]"] [2024/05/06 09:31:38.391 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=121] [version=92] [2024/05/06 09:31:38.392 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=92] ["take time"=2.450743ms] [job="ID:121, Type:add primary key, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:38.378 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.393 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:121, Type:add primary key, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:38.378 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.400 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:121, Type:add primary key, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:38.378 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.400 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=121] [conn=3] [category=ddl] [job="ID:121, Type:add primary key, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:38.378 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.406 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:121, Type:add primary key, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:38.378 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.408 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=92] [neededSchemaVersion=93] ["start time"=360.325µs] [gotSchemaVersion=93] [phyTblIDs="[111]"] [actionTypes="[32]"] [diffTypes="[\"add primary key\"]"] [2024/05/06 09:31:38.410 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=121] [version=93] [2024/05/06 09:31:38.418 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=93] ["take time"=10.077908ms] [job="ID:121, Type:add primary key, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:38.378 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.419 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:121, Type:add primary key, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:38.378 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.430 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:121, Type:add primary key, State:cancelling, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:38.378 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.431 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=121] [conn=3] [category=ddl] [job="ID:121, Type:add primary key, State:cancelling, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:38.378 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.431 +00:00] [INFO] [rollingback.go:559] ["the DDL job is cancelled normally"] [worker="worker 10, tp add index"] [category=ddl] [jobID=121] [conn=3] [job="ID:121, Type:add primary key, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:38.378 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [error="[ddl:8214]Cancelled DDL job"] [errorVerbose="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.completeErr\n\tpkg/ddl/index_cop.go:319\ngithub.com/pingcap/tidb/pkg/ddl.convertAddIdxJob2RollbackJob\n\tpkg/ddl/rollingback.go:93\ngithub.com/pingcap/tidb/pkg/ddl.convertNotReorgAddIdxJob2RollbackJob\n\tpkg/ddl/rollingback.go:139\ngithub.com/pingcap/tidb/pkg/ddl.rollingbackAddIndex\n\tpkg/ddl/rollingback.go:270\ngithub.com/pingcap/tidb/pkg/ddl.convertJob2RollbackJob\n\tpkg/ddl/rollingback.go:482\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).runDDLJob\n\tpkg/ddl/ddl_worker.go:1202\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).HandleDDLJobTable\n\tpkg/ddl/ddl_worker.go:946\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2Worker.func1\n\tpkg/ddl/job_table.go:461\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:157\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [2024/05/06 09:31:38.431 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:121, Type:add primary key, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:38.378 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.433 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=93] [neededSchemaVersion=94] ["start time"=363.819µs] [gotSchemaVersion=94] [phyTblIDs="[111]"] [actionTypes="[32]"] [diffTypes="[\"add primary key\"]"] [2024/05/06 09:31:38.435 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=121] [version=94] [2024/05/06 09:31:38.435 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=94] ["take time"=2.20466ms] [job="ID:121, Type:add primary key, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:38.378 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.436 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:121, Type:add primary key, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:38.378 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.442 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:121, Type:add primary key, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:38.378 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.442 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=121] [conn=3] [category=ddl] [job="ID:121, Type:add primary key, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:38.378 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.442 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:121, Type:add primary key, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:38.378 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.444 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=94] [neededSchemaVersion=95] ["start time"=387.181µs] [gotSchemaVersion=95] [phyTblIDs="[111]"] [actionTypes="[32]"] [diffTypes="[\"add primary key\"]"] [2024/05/06 09:31:38.446 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=121] [version=95] [2024/05/06 09:31:38.446 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=95] ["take time"=2.050422ms] [job="ID:121, Type:add primary key, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:38.378 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.447 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:121, Type:add primary key, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:38.378 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.454 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:121, Type:add primary key, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:38.378 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.454 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=121] [conn=3] [category=ddl] [job="ID:121, Type:add primary key, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:38.378 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.455 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:121, Type:add primary key, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:38.378 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.457 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=95] [neededSchemaVersion=96] ["start time"=511.691µs] [gotSchemaVersion=96] [phyTblIDs="[111]"] [actionTypes="[32]"] [diffTypes="[\"add primary key\"]"] [2024/05/06 09:31:38.459 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=121] [version=96] [2024/05/06 09:31:38.464 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=96] ["take time"=7.292434ms] [job="ID:121, Type:add primary key, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:38.378 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.469 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:121, Type:add primary key, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:38.378 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.475 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=121] [tableID=111] [indexIDs="[5,9223090561878065157]"] [comment="add index: physical table ID(s)"] [2024/05/06 09:31:38.476 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=121] [jobType="add primary key"] [2024/05/06 09:31:38.477 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=121] [conn=3] [job="ID:121, Type:add primary key, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:38.378 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.479 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=121] [2024/05/06 09:31:38.479 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=121] [elementID=1] [startKey=74800000000000006f5f698000000000000005] [endKey=74800000000000006f5f698000000000000006] [2024/05/06 09:31:38.479 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:121, Type:add primary key, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:38.378 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.481 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=121] [elementID=2] [startKey=74800000000000006f5f69ffff000000000005] [endKey=74800000000000006f5f69ffff000000000006] [2024/05/06 09:31:38.482 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=121] [2024/05/06 09:31:38.482 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 09:31:38.482 +00:00] [WARN] [session.go:2153] ["run statement failed"] [schemaVersion=91] [error="[ddl:8214]Cancelled DDL job"] [errorVerbose="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).DoDDLJob\n\tpkg/ddl/ddl.go:1293\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreatePrimaryKey\n\tpkg/ddl/ddl_api.go:7469\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AlterTable\n\tpkg/ddl/ddl_api.go:3945\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeAlterTable\n\tpkg/executor/ddl.go:388\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:152\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1211\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:960\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:794\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:559\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2280\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:469\ngithub.com/pingcap/tidb/pkg/ddl_test.TestCancel\n\tpkg/ddl/cancel_test.go:306\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 3,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 09:31:38.482 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=96] [cur_db=test] [sql="alter table t add primary key idx_pc2 (c2)"] [user=] [2024/05/06 09:31:38.485 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:122, Type:add primary key, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:38.484 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 09:31:38.485 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:122, Type:add primary key, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:38.484 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add primary key idx_pc2 (c2)"] [2024/05/06 09:31:38.493 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:122, Type:add primary key, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:38.484 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.493 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=122] [conn=3] [category=ddl] [job="ID:122, Type:add primary key, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:38.484 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.493 +00:00] [INFO] [index.go:654] ["run add index job"] [category=ddl] [job="ID:122, Type:add primary key, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:38.484 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [indexInfo="{\"id\":6,\"idx_name\":{\"O\":\"PRIMARY\",\"L\":\"primary\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"c2\",\"L\":\"c2\"},\"offset\":1,\"length\":-1}],\"state\":0,\"backfill_state\":0,\"comment\":\"\",\"index_type\":1,\"is_unique\":true,\"is_primary\":true,\"is_invisible\":false,\"is_global\":false,\"mv_index\":false}"] [2024/05/06 09:31:38.494 +00:00] [INFO] [index.go:817] ["fallback to txn-merge backfill process"] [category=ddl] ["lightning env initialized"=false] [2024/05/06 09:31:38.494 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:122, Type:add primary key, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:38.484 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.496 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=96] [neededSchemaVersion=97] ["start time"=366.728µs] [gotSchemaVersion=97] [phyTblIDs="[111]"] [actionTypes="[32]"] [diffTypes="[\"add primary key\"]"] [2024/05/06 09:31:38.497 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=122] [version=97] [2024/05/06 09:31:38.498 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=97] ["take time"=2.535287ms] [job="ID:122, Type:add primary key, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:38.484 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.499 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:122, Type:add primary key, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:38.484 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.506 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:122, Type:add primary key, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:38.484 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.506 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=122] [conn=3] [category=ddl] [job="ID:122, Type:add primary key, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:38.484 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.513 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:122, Type:add primary key, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:38.484 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.515 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=97] [neededSchemaVersion=98] ["start time"=281.96µs] [gotSchemaVersion=98] [phyTblIDs="[111]"] [actionTypes="[32]"] [diffTypes="[\"add primary key\"]"] [2024/05/06 09:31:38.516 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=122] [version=98] [2024/05/06 09:31:38.517 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=98] ["take time"=2.331269ms] [job="ID:122, Type:add primary key, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:38.484 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.518 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:122, Type:add primary key, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:38.484 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.523 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:122, Type:add primary key, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:38.484 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.523 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=122] [conn=3] [category=ddl] [job="ID:122, Type:add primary key, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:38.484 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.537 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:122, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:38.484 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.549 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=98] [neededSchemaVersion=99] ["start time"=393.198µs] [gotSchemaVersion=99] [phyTblIDs="[111]"] [actionTypes="[32]"] [diffTypes="[\"add primary key\"]"] [2024/05/06 09:31:38.550 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=122] [version=99] [2024/05/06 09:31:38.556 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=99] ["take time"=7.419955ms] [job="ID:122, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:38.484 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.557 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:122, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:38.484 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.565 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:122, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:38.484 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.567 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=122] [conn=3] [category=ddl] [job="ID:122, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:38.484 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.567 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=122] [table=t] ["ingest mode"=false] [index=PRIMARY] [2024/05/06 09:31:38.568 +00:00] [INFO] [reorg.go:718] ["job get table range"] [category=ddl] [jobID=122] [physicalTableID=111] [startKey=74800000000000006f5f728000000000000001] [endKey=74800000000000006f5f72800000000000080100] [2024/05/06 09:31:38.569 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:122, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:38.484 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787681947648, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.570 +00:00] [WARN] [session.go:813] ["can not retry txn"] [label=internal] [error="[kv:9007]Write conflict, txnStartTS=449573787681423360, conflictStartTS=449573787681423361, conflictCommitTS=449573787681685505, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=122}, originalKey=748000fffffffffffe5f72800000000000007a, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [IsBatchInsert=false] [IsPessimistic=false] [InRestrictedSQL=true] [tidb_retry_limit=10] [tidb_disable_txn_auto_retry=true] [2024/05/06 09:31:38.570 +00:00] [WARN] [session.go:829] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[kv:9007]Write conflict, txnStartTS=449573787681423360, conflictStartTS=449573787681423361, conflictCommitTS=449573787681685505, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=122}, originalKey=748000fffffffffffe5f72800000000000007a, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [2024/05/06 09:31:38.570 +00:00] [INFO] [job_table.go:465] ["handle ddl job failed"] [worker="worker 7, tp add index"] [category=ddl] [error="[kv:9007]Write conflict, txnStartTS=449573787681423360, conflictStartTS=449573787681423361, conflictCommitTS=449573787681685505, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=122}, originalKey=748000fffffffffffe5f72800000000000007a, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [job="ID:122, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:38.484 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787681947648, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.576 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:122, Type:add primary key, State:cancelling, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:38.484 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.576 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=122] [conn=3] [category=ddl] [job="ID:122, Type:add primary key, State:cancelling, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:38.484 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.586 +00:00] [INFO] [rollingback.go:559] ["the DDL job is cancelled normally"] [worker="worker 10, tp add index"] [category=ddl] [jobID=122] [conn=3] [job="ID:122, Type:add primary key, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:38.484 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [error="[ddl:8214]Cancelled DDL job"] [errorVerbose="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.completeErr\n\tpkg/ddl/index_cop.go:319\ngithub.com/pingcap/tidb/pkg/ddl.convertAddIdxJob2RollbackJob\n\tpkg/ddl/rollingback.go:93\ngithub.com/pingcap/tidb/pkg/ddl.convertNotReorgAddIdxJob2RollbackJob\n\tpkg/ddl/rollingback.go:139\ngithub.com/pingcap/tidb/pkg/ddl.rollingbackAddIndex\n\tpkg/ddl/rollingback.go:270\ngithub.com/pingcap/tidb/pkg/ddl.convertJob2RollbackJob\n\tpkg/ddl/rollingback.go:482\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).runDDLJob\n\tpkg/ddl/ddl_worker.go:1202\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).HandleDDLJobTable\n\tpkg/ddl/ddl_worker.go:946\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2Worker.func1\n\tpkg/ddl/job_table.go:461\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:157\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [2024/05/06 09:31:38.586 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:122, Type:add primary key, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:38.484 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.590 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=99] [neededSchemaVersion=100] ["start time"=412.193µs] [gotSchemaVersion=100] [phyTblIDs="[111]"] [actionTypes="[32]"] [diffTypes="[\"add primary key\"]"] [2024/05/06 09:31:38.593 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=122] [version=100] [2024/05/06 09:31:38.594 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=100] ["take time"=4.687423ms] [job="ID:122, Type:add primary key, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:38.484 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.595 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:122, Type:add primary key, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:38.484 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.603 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:122, Type:add primary key, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:38.484 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.603 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=122] [conn=3] [category=ddl] [job="ID:122, Type:add primary key, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:38.484 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.604 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:122, Type:add primary key, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:38.484 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.606 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=100] [neededSchemaVersion=101] ["start time"=357.344µs] [gotSchemaVersion=101] [phyTblIDs="[111]"] [actionTypes="[32]"] [diffTypes="[\"add primary key\"]"] [2024/05/06 09:31:38.608 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=122] [version=101] [2024/05/06 09:31:38.613 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=101] ["take time"=6.874925ms] [job="ID:122, Type:add primary key, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:38.484 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.614 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:122, Type:add primary key, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:38.484 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.623 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:122, Type:add primary key, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:38.484 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.623 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=122] [conn=3] [category=ddl] [job="ID:122, Type:add primary key, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:38.484 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.623 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:122, Type:add primary key, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:38.484 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.626 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=101] [neededSchemaVersion=102] ["start time"=294.661µs] [gotSchemaVersion=102] [phyTblIDs="[111]"] [actionTypes="[32]"] [diffTypes="[\"add primary key\"]"] [2024/05/06 09:31:38.627 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=122] [version=102] [2024/05/06 09:31:38.628 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=102] ["take time"=2.810018ms] [job="ID:122, Type:add primary key, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:38.484 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.630 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:122, Type:add primary key, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:38.484 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.637 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=122] [tableID=111] [indexIDs="[6,9223090561878065158]"] [comment="add index: physical table ID(s)"] [2024/05/06 09:31:38.638 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=122] [jobType="add primary key"] [2024/05/06 09:31:38.638 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=122] [conn=3] [job="ID:122, Type:add primary key, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:38.484 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.641 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=122] [elementID=1] [startKey=74800000000000006f5f698000000000000006] [endKey=74800000000000006f5f698000000000000007] [2024/05/06 09:31:38.643 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=122] [2024/05/06 09:31:38.643 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=122] [elementID=2] [startKey=74800000000000006f5f69ffff000000000006] [endKey=74800000000000006f5f69ffff000000000007] [2024/05/06 09:31:38.643 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:122, Type:add primary key, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:38.484 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.646 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=122] [2024/05/06 09:31:38.646 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 09:31:38.646 +00:00] [WARN] [session.go:2153] ["run statement failed"] [schemaVersion=96] [error="[ddl:8214]Cancelled DDL job"] [errorVerbose="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).DoDDLJob\n\tpkg/ddl/ddl.go:1293\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreatePrimaryKey\n\tpkg/ddl/ddl_api.go:7469\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AlterTable\n\tpkg/ddl/ddl_api.go:3945\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeAlterTable\n\tpkg/executor/ddl.go:388\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:152\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1211\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:960\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:794\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:559\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2280\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:469\ngithub.com/pingcap/tidb/pkg/ddl_test.TestCancel\n\tpkg/ddl/cancel_test.go:289\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 3,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 09:31:38.647 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=102] [cur_db=test] [sql="alter table t add primary key idx_pc2 (c2)"] [user=] [2024/05/06 09:31:38.649 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:123, Type:add primary key, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:38.648 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 09:31:38.649 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:123, Type:add primary key, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:38.648 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add primary key idx_pc2 (c2)"] [2024/05/06 09:31:38.663 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:123, Type:add primary key, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:38.648 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.663 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=123] [conn=3] [category=ddl] [job="ID:123, Type:add primary key, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:38.648 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.663 +00:00] [INFO] [index.go:654] ["run add index job"] [category=ddl] [job="ID:123, Type:add primary key, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:38.648 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [indexInfo="{\"id\":7,\"idx_name\":{\"O\":\"PRIMARY\",\"L\":\"primary\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"c2\",\"L\":\"c2\"},\"offset\":1,\"length\":-1}],\"state\":0,\"backfill_state\":0,\"comment\":\"\",\"index_type\":1,\"is_unique\":true,\"is_primary\":true,\"is_invisible\":false,\"is_global\":false,\"mv_index\":false}"] [2024/05/06 09:31:38.663 +00:00] [INFO] [index.go:817] ["fallback to txn-merge backfill process"] [category=ddl] ["lightning env initialized"=false] [2024/05/06 09:31:38.664 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:123, Type:add primary key, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:38.648 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.666 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=102] [neededSchemaVersion=103] ["start time"=379.641µs] [gotSchemaVersion=103] [phyTblIDs="[111]"] [actionTypes="[32]"] [diffTypes="[\"add primary key\"]"] [2024/05/06 09:31:38.667 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=123] [version=103] [2024/05/06 09:31:38.667 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=103] ["take time"=2.138831ms] [job="ID:123, Type:add primary key, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:38.648 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.668 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:123, Type:add primary key, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:38.648 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.674 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:123, Type:add primary key, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:38.648 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.674 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=123] [conn=3] [category=ddl] [job="ID:123, Type:add primary key, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:38.648 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.679 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:123, Type:add primary key, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:38.648 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.681 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=103] [neededSchemaVersion=104] ["start time"=418.011µs] [gotSchemaVersion=104] [phyTblIDs="[111]"] [actionTypes="[32]"] [diffTypes="[\"add primary key\"]"] [2024/05/06 09:31:38.682 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=123] [version=104] [2024/05/06 09:31:38.683 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=104] ["take time"=2.612636ms] [job="ID:123, Type:add primary key, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:38.648 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.684 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:123, Type:add primary key, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:38.648 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.689 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:123, Type:add primary key, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:38.648 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.689 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=123] [conn=3] [category=ddl] [job="ID:123, Type:add primary key, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:38.648 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.695 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:123, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:38.648 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.697 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=104] [neededSchemaVersion=105] ["start time"=385.057µs] [gotSchemaVersion=105] [phyTblIDs="[111]"] [actionTypes="[32]"] [diffTypes="[\"add primary key\"]"] [2024/05/06 09:31:38.699 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=123] [version=105] [2024/05/06 09:31:38.700 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=105] ["take time"=4.047046ms] [job="ID:123, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:38.648 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.702 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:123, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:38.648 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.708 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:123, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:38.648 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.708 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=123] [conn=3] [category=ddl] [job="ID:123, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:38.648 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.708 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=123] [table=t] ["ingest mode"=false] [index=PRIMARY] [2024/05/06 09:31:38.709 +00:00] [INFO] [reorg.go:718] ["job get table range"] [category=ddl] [jobID=123] [physicalTableID=111] [startKey=74800000000000006f5f728000000000000001] [endKey=74800000000000006f5f72800000000000080100] [2024/05/06 09:31:38.711 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:123, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:38.648 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787718909953, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.712 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=123] [2024/05/06 09:31:38.712 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:123, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:38.648 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787718909953, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.717 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:123, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:38.648 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787718909953, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.717 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=123] [conn=3] [category=ddl] [job="ID:123, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:38.648 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787718909953, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.719 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=123] [table=t] ["ingest mode"=false] [index=PRIMARY] [2024/05/06 09:31:38.720 +00:00] [INFO] [index.go:1931] ["start to add table index"] [category=ddl] [job="ID:123, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:38.648 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787718909953, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:7,StartKey:74800000000000006f5f728000000000000001,EndKey:74800000000000006f5f72800000000000080100,First:false,PhysicalTableID:111,Ingest mode:false"] [2024/05/06 09:31:38.721 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=111] ["start key"=74800000000000006f5f728000000000000001] ["end key"=74800000000000006f5f72800000000000080100] [2024/05/06 09:31:38.721 +00:00] [INFO] [backfilling.go:692] ["start backfill workers to reorg record"] [category=ddl] [type="add index"] [workerCnt=1] [regionCnt=1] [startKey=74800000000000006f5f728000000000000001] [endKey=74800000000000006f5f72800000000000080100] [2024/05/06 09:31:38.721 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=111] ["end key"=74800000000000006f5f72800000000000080100] ["current end key"=74800000000000006f5f72800000000000080100] [2024/05/06 09:31:38.730 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 09:31:38.730 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:123, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:38.648 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787718909953, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.731 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=123] [2024/05/06 09:31:38.731 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:123, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:38.648 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787718909953, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.737 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:123, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:38.648 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787718909953, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.737 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=123] [conn=3] [category=ddl] [job="ID:123, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:38.648 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787718909953, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.737 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=123] [table=t] ["ingest mode"=false] [index=PRIMARY] [2024/05/06 09:31:38.750 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 09:31:38.750 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:123, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:38.648 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787718909953, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.750 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=123] [2024/05/06 09:31:38.751 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:123, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:38.648 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787718909953, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.758 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:123, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:38.648 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787718909953, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.758 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=123] [conn=3] [category=ddl] [job="ID:123, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:38.648 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787718909953, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.758 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=123] [table=t] ["ingest mode"=false] [index=PRIMARY] [2024/05/06 09:31:38.770 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 09:31:38.770 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:123, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:38.648 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787718909953, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.771 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=123] [2024/05/06 09:31:38.771 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:123, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:38.648 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787718909953, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.776 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:123, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:38.648 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787718909953, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.777 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=123] [conn=3] [category=ddl] [job="ID:123, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:38.648 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787718909953, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.777 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=123] [table=t] ["ingest mode"=false] [index=PRIMARY] [2024/05/06 09:31:38.793 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 09:31:38.793 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:123, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:38.648 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787718909953, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.794 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=123] [2024/05/06 09:31:38.794 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:123, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:38.648 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787718909953, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.800 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:123, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:38.648 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787718909953, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.800 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=123] [conn=3] [category=ddl] [job="ID:123, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:38.648 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787718909953, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.800 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=123] [table=t] ["ingest mode"=false] [index=PRIMARY] [2024/05/06 09:31:38.812 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 09:31:38.812 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:123, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:38.648 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787718909953, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.813 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=123] [2024/05/06 09:31:38.814 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:123, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:38.648 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787718909953, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.821 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:123, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:38.648 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787718909953, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.821 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=123] [conn=3] [category=ddl] [job="ID:123, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:38.648 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787718909953, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.821 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=123] [table=t] ["ingest mode"=false] [index=PRIMARY] [2024/05/06 09:31:38.886 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=480] [2024/05/06 09:31:38.886 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:123, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:480, ArgLen:7, start time: 2024-05-06 09:31:38.648 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787718909953, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.887 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=123] [2024/05/06 09:31:38.887 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:123, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:480, ArgLen:7, start time: 2024-05-06 09:31:38.648 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787718909953, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.895 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:123, Type:add primary key, State:cancelling, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:480, ArgLen:0, start time: 2024-05-06 09:31:38.648 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787718909953, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.895 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=123] [conn=3] [category=ddl] [job="ID:123, Type:add primary key, State:cancelling, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:480, ArgLen:0, start time: 2024-05-06 09:31:38.648 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787718909953, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.895 +00:00] [INFO] [rollingback.go:265] ["run the cancelling DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=123] [conn=3] [job="ID:123, Type:add primary key, State:cancelling, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:480, ArgLen:0, start time: 2024-05-06 09:31:38.648 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787718909953, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.895 +00:00] [INFO] [ddl.go:615] ["notify reorg worker the job's state"] [category=ddl] ["Job ID"=123] ["Job State"=cancelling] ["Schema State"="write reorganization"] [2024/05/06 09:31:38.896 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=123] [table=t] ["ingest mode"=false] [index=PRIMARY] [2024/05/06 09:31:38.900 +00:00] [INFO] [backfilling.go:399] ["backfill worker exit on error"] [category=ddl] [worker="backfill-worker 0, tp add index"] [jobID=123] [error="[ddl:8214]Cancelled DDL job"] [2024/05/06 09:31:38.900 +00:00] [WARN] [backfilling.go:641] ["backfill worker failed"] [category=ddl] ["job ID"=123] ["total added count"=0] ["start key"=74800000000000006f5f728000000000000001] ["result next key"=74800000000000006f5f72800000000000080000] [error="[ddl:8214]Cancelled DDL job"] [2024/05/06 09:31:38.900 +00:00] [WARN] [index.go:1058] ["run add index job failed, convert job to rollback"] [category=ddl] [job="ID:123, Type:add primary key, State:cancelling, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:480, ArgLen:7, start time: 2024-05-06 09:31:38.648 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787718909953, LocalMode: false, UniqueWarnings:0"] [error="[ddl:8214]Cancelled DDL job"] [2024/05/06 09:31:38.902 +00:00] [INFO] [rollingback.go:559] ["the DDL job is cancelled normally"] [worker="worker 9, tp add index"] [category=ddl] [jobID=123] [conn=3] [job="ID:123, Type:add primary key, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:480, ArgLen:3, start time: 2024-05-06 09:31:38.648 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449573787718909953, LocalMode: false, UniqueWarnings:0"] [error="[ddl:8214]Cancelled DDL job"] [errorVerbose="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.completeErr\n\tpkg/ddl/index_cop.go:319\ngithub.com/pingcap/tidb/pkg/ddl.convertAddIdxJob2RollbackJob\n\tpkg/ddl/rollingback.go:93\ngithub.com/pingcap/tidb/pkg/ddl.runReorgJobAndHandleErr\n\tpkg/ddl/index.go:1059\ngithub.com/pingcap/tidb/pkg/ddl.doReorgWorkForCreateIndex\n\tpkg/ddl/index.go:869\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).onCreateIndex\n\tpkg/ddl/index.go:731\ngithub.com/pingcap/tidb/pkg/ddl.rollingbackAddIndex\n\tpkg/ddl/rollingback.go:267\ngithub.com/pingcap/tidb/pkg/ddl.convertJob2RollbackJob\n\tpkg/ddl/rollingback.go:482\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).runDDLJob\n\tpkg/ddl/ddl_worker.go:1202\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).HandleDDLJobTable\n\tpkg/ddl/ddl_worker.go:946\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2Worker.func1\n\tpkg/ddl/job_table.go:461\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:157\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [2024/05/06 09:31:38.903 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:123, Type:add primary key, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:480, ArgLen:3, start time: 2024-05-06 09:31:38.648 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449573787718909953, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.904 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=105] [neededSchemaVersion=106] ["start time"=346.073µs] [gotSchemaVersion=106] [phyTblIDs="[111]"] [actionTypes="[32]"] [diffTypes="[\"add primary key\"]"] [2024/05/06 09:31:38.906 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=123] [version=106] [2024/05/06 09:31:38.906 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=106] ["take time"=2.38418ms] [job="ID:123, Type:add primary key, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:480, ArgLen:3, start time: 2024-05-06 09:31:38.648 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449573787718909953, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.907 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:123, Type:add primary key, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:480, ArgLen:3, start time: 2024-05-06 09:31:38.648 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449573787718909953, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.915 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:123, Type:add primary key, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:480, ArgLen:0, start time: 2024-05-06 09:31:38.648 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449573787718909953, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.915 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=123] [conn=3] [category=ddl] [job="ID:123, Type:add primary key, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:480, ArgLen:0, start time: 2024-05-06 09:31:38.648 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449573787718909953, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.916 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:123, Type:add primary key, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:480, ArgLen:2, start time: 2024-05-06 09:31:38.648 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449573787718909953, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.918 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=106] [neededSchemaVersion=107] ["start time"=360.797µs] [gotSchemaVersion=107] [phyTblIDs="[111]"] [actionTypes="[32]"] [diffTypes="[\"add primary key\"]"] [2024/05/06 09:31:38.920 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=123] [version=107] [2024/05/06 09:31:38.920 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=107] ["take time"=2.890681ms] [job="ID:123, Type:add primary key, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:480, ArgLen:2, start time: 2024-05-06 09:31:38.648 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449573787718909953, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.921 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:123, Type:add primary key, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:480, ArgLen:2, start time: 2024-05-06 09:31:38.648 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449573787718909953, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.926 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:123, Type:add primary key, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:480, ArgLen:0, start time: 2024-05-06 09:31:38.648 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449573787718909953, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.926 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=123] [conn=3] [category=ddl] [job="ID:123, Type:add primary key, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:480, ArgLen:0, start time: 2024-05-06 09:31:38.648 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449573787718909953, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.927 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:123, Type:add primary key, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:480, ArgLen:2, start time: 2024-05-06 09:31:38.648 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449573787718909953, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.933 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=107] [neededSchemaVersion=108] ["start time"=352.203µs] [gotSchemaVersion=108] [phyTblIDs="[111]"] [actionTypes="[32]"] [diffTypes="[\"add primary key\"]"] [2024/05/06 09:31:38.935 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=123] [version=108] [2024/05/06 09:31:38.939 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=108] ["take time"=6.645039ms] [job="ID:123, Type:add primary key, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:480, ArgLen:2, start time: 2024-05-06 09:31:38.648 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449573787718909953, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.940 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:123, Type:add primary key, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:480, ArgLen:2, start time: 2024-05-06 09:31:38.648 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449573787718909953, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.947 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=123] [tableID=111] [indexIDs="[7,9223090561878065159]"] [comment="add index: physical table ID(s)"] [2024/05/06 09:31:38.948 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=123] [jobType="add primary key"] [2024/05/06 09:31:38.949 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=123] [conn=3] [job="ID:123, Type:add primary key, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:480, ArgLen:2, start time: 2024-05-06 09:31:38.648 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449573787718909953, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.951 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=123] [2024/05/06 09:31:38.952 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:123, Type:add primary key, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:480, ArgLen:2, start time: 2024-05-06 09:31:38.648 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449573787718909953, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.954 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=123] [2024/05/06 09:31:38.955 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 09:31:38.955 +00:00] [WARN] [session.go:2153] ["run statement failed"] [schemaVersion=102] [error="[ddl:8214]Cancelled DDL job"] [errorVerbose="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).DoDDLJob\n\tpkg/ddl/ddl.go:1293\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreatePrimaryKey\n\tpkg/ddl/ddl_api.go:7469\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AlterTable\n\tpkg/ddl/ddl_api.go:3945\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeAlterTable\n\tpkg/executor/ddl.go:388\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:152\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1211\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:960\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:794\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:559\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2280\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:469\ngithub.com/pingcap/tidb/pkg/ddl_test.TestCancel\n\tpkg/ddl/cancel_test.go:306\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 3,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 09:31:38.955 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=108] [cur_db=test] [sql="alter table t add primary key idx_pc2 (c2)"] [user=] [2024/05/06 09:31:38.960 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:124, Type:add primary key, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:38.956 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 09:31:38.960 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:124, Type:add primary key, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:38.956 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add primary key idx_pc2 (c2)"] [2024/05/06 09:31:38.966 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=123] [elementID=1] [startKey=74800000000000006f5f698000000000000007] [endKey=74800000000000006f5f698000000000000008] [2024/05/06 09:31:38.967 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=123] [elementID=2] [startKey=74800000000000006f5f69ffff000000000007] [endKey=74800000000000006f5f69ffff000000000008] [2024/05/06 09:31:38.968 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:124, Type:add primary key, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:38.956 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.968 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=124] [conn=3] [category=ddl] [job="ID:124, Type:add primary key, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:38.956 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.968 +00:00] [INFO] [index.go:654] ["run add index job"] [category=ddl] [job="ID:124, Type:add primary key, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:38.956 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [indexInfo="{\"id\":8,\"idx_name\":{\"O\":\"PRIMARY\",\"L\":\"primary\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"c2\",\"L\":\"c2\"},\"offset\":1,\"length\":-1}],\"state\":0,\"backfill_state\":0,\"comment\":\"\",\"index_type\":1,\"is_unique\":true,\"is_primary\":true,\"is_invisible\":false,\"is_global\":false,\"mv_index\":false}"] [2024/05/06 09:31:38.968 +00:00] [INFO] [index.go:817] ["fallback to txn-merge backfill process"] [category=ddl] ["lightning env initialized"=false] [2024/05/06 09:31:38.969 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:124, Type:add primary key, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:38.956 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.973 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=108] [neededSchemaVersion=109] ["start time"=389.367µs] [gotSchemaVersion=109] [phyTblIDs="[111]"] [actionTypes="[32]"] [diffTypes="[\"add primary key\"]"] [2024/05/06 09:31:38.974 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=124] [version=109] [2024/05/06 09:31:38.974 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=109] ["take time"=2.062587ms] [job="ID:124, Type:add primary key, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:38.956 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.975 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:124, Type:add primary key, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:38.956 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.980 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:124, Type:add primary key, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:38.956 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.980 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=124] [conn=3] [category=ddl] [job="ID:124, Type:add primary key, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:38.956 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.985 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:124, Type:add primary key, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:38.956 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.987 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=109] [neededSchemaVersion=110] ["start time"=374.924µs] [gotSchemaVersion=110] [phyTblIDs="[111]"] [actionTypes="[32]"] [diffTypes="[\"add primary key\"]"] [2024/05/06 09:31:38.989 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=124] [version=110] [2024/05/06 09:31:38.991 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=110] ["take time"=4.416461ms] [job="ID:124, Type:add primary key, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:38.956 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.992 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:124, Type:add primary key, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:38.956 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.999 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:124, Type:add primary key, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:38.956 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:38.999 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=124] [conn=3] [category=ddl] [job="ID:124, Type:add primary key, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:38.956 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:39.005 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:124, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:38.956 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:39.007 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=110] [neededSchemaVersion=111] ["start time"=357.138µs] [gotSchemaVersion=111] [phyTblIDs="[111]"] [actionTypes="[32]"] [diffTypes="[\"add primary key\"]"] [2024/05/06 09:31:39.009 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=124] [version=111] [2024/05/06 09:31:39.010 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=111] ["take time"=3.078634ms] [job="ID:124, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:38.956 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:39.011 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:124, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:38.956 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:39.017 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:124, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:38.956 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:39.017 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=124] [conn=3] [category=ddl] [job="ID:124, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:38.956 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:39.017 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=124] [table=t] ["ingest mode"=false] [index=PRIMARY] [2024/05/06 09:31:39.018 +00:00] [INFO] [reorg.go:718] ["job get table range"] [category=ddl] [jobID=124] [physicalTableID=111] [startKey=74800000000000006f5f728000000000000001] [endKey=74800000000000006f5f72800000000000080100] [2024/05/06 09:31:39.020 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:124, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:38.956 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787799912450, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:39.021 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=124] [2024/05/06 09:31:39.021 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:124, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:38.956 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787799912450, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:39.027 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:124, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:38.956 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787799912450, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:39.027 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=124] [conn=3] [category=ddl] [job="ID:124, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:38.956 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787799912450, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:39.027 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=124] [table=t] ["ingest mode"=false] [index=PRIMARY] [2024/05/06 09:31:39.029 +00:00] [INFO] [index.go:1931] ["start to add table index"] [category=ddl] [job="ID:124, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:38.956 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787799912450, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:8,StartKey:74800000000000006f5f728000000000000001,EndKey:74800000000000006f5f72800000000000080100,First:false,PhysicalTableID:111,Ingest mode:false"] [2024/05/06 09:31:39.030 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=111] ["start key"=74800000000000006f5f728000000000000001] ["end key"=74800000000000006f5f72800000000000080100] [2024/05/06 09:31:39.030 +00:00] [INFO] [backfilling.go:692] ["start backfill workers to reorg record"] [category=ddl] [type="add index"] [workerCnt=1] [regionCnt=1] [startKey=74800000000000006f5f728000000000000001] [endKey=74800000000000006f5f72800000000000080100] [2024/05/06 09:31:39.031 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=111] ["end key"=74800000000000006f5f72800000000000080100] ["current end key"=74800000000000006f5f72800000000000080100] [2024/05/06 09:31:39.040 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 09:31:39.040 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:124, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:38.956 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787799912450, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:39.041 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=124] [2024/05/06 09:31:39.042 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:124, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:38.956 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787799912450, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:39.049 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:124, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:38.956 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787799912450, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:39.049 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=124] [conn=3] [category=ddl] [job="ID:124, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:38.956 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787799912450, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:39.049 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=124] [table=t] ["ingest mode"=false] [index=PRIMARY] [2024/05/06 09:31:39.061 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 09:31:39.061 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:124, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:38.956 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787799912450, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:39.062 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=124] [2024/05/06 09:31:39.063 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:124, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:38.956 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787799912450, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:39.069 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:124, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:38.956 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787799912450, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:39.069 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=124] [conn=3] [category=ddl] [job="ID:124, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:38.956 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787799912450, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:39.069 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=124] [table=t] ["ingest mode"=false] [index=PRIMARY] [2024/05/06 09:31:39.081 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 09:31:39.081 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:124, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:38.956 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787799912450, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:39.082 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=124] [2024/05/06 09:31:39.082 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:124, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:38.956 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787799912450, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:39.089 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:124, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:38.956 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787799912450, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:39.089 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=124] [conn=3] [category=ddl] [job="ID:124, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:38.956 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787799912450, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:39.089 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=124] [table=t] ["ingest mode"=false] [index=PRIMARY] [2024/05/06 09:31:39.101 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 09:31:39.101 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:124, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:38.956 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787799912450, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:39.102 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=124] [2024/05/06 09:31:39.103 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:124, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:38.956 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787799912450, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:39.108 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:124, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:38.956 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787799912450, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:39.108 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=124] [conn=3] [category=ddl] [job="ID:124, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:38.956 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787799912450, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:39.108 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=124] [table=t] ["ingest mode"=false] [index=PRIMARY] [2024/05/06 09:31:39.122 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 09:31:39.122 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:124, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:38.956 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787799912450, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:39.123 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=124] [2024/05/06 09:31:39.123 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:124, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:38.956 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787799912450, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:39.129 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:124, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:38.956 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787799912450, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:39.130 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=124] [conn=3] [category=ddl] [job="ID:124, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:38.956 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787799912450, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:39.130 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=124] [table=t] ["ingest mode"=false] [index=PRIMARY] [2024/05/06 09:31:39.181 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=320] [2024/05/06 09:31:39.181 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:124, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:320, ArgLen:7, start time: 2024-05-06 09:31:38.956 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787799912450, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:39.182 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=124] [2024/05/06 09:31:39.182 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:124, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:320, ArgLen:7, start time: 2024-05-06 09:31:38.956 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787799912450, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:39.187 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:124, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:320, ArgLen:0, start time: 2024-05-06 09:31:38.956 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787799912450, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:39.187 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=124] [conn=3] [category=ddl] [job="ID:124, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:320, ArgLen:0, start time: 2024-05-06 09:31:38.956 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787799912450, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:39.187 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=124] [table=t] ["ingest mode"=false] [index=PRIMARY] [2024/05/06 09:31:39.195 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp add index"] [task="taskID: 1, physicalTableID: 111, range: [74800000000000006f5f728000000000000001, 74800000000000006f5f72800000000000080100), jobID: 124"] ["added count"=2049] ["scan count"=2049] ["next key"=74800000000000006f5f72800000000000080100] ["take time"=64.351379ms] [2024/05/06 09:31:39.195 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp add index"] [jobID=124] [2024/05/06 09:31:39.195 +00:00] [INFO] [backfilling.go:632] ["backfill workers successfully processed"] [category=ddl] [element=ID:8,TypeKey:_idx_] ["total added count"=2049] ["start key"=74800000000000006f5f728000000000000001] [2024/05/06 09:31:39.195 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=2049] [2024/05/06 09:31:39.228 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:124, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:7, start time: 2024-05-06 09:31:38.956 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787799912450, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:39.230 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=111] [neededSchemaVersion=112] ["start time"=361.072µs] [gotSchemaVersion=112] [phyTblIDs="[111]"] [actionTypes="[32]"] [diffTypes="[\"add primary key\"]"] [2024/05/06 09:31:39.232 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=124] [version=112] [2024/05/06 09:31:39.232 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=112] ["take time"=2.303429ms] [job="ID:124, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:7, start time: 2024-05-06 09:31:38.956 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787799912450, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:39.233 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:124, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:7, start time: 2024-05-06 09:31:38.956 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787799912450, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:39.239 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:124, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:38.956 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787799912450, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:39.239 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=124] [conn=3] [category=ddl] [job="ID:124, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:38.956 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787799912450, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:39.240 +00:00] [INFO] [index.go:880] ["index backfill state ready to merge"] [category=ddl] ["job ID"=124] [table=t] [index=PRIMARY] [2024/05/06 09:31:39.240 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:124, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:7, start time: 2024-05-06 09:31:38.956 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:39.242 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=112] [neededSchemaVersion=113] ["start time"=373.693µs] [gotSchemaVersion=113] [phyTblIDs="[111]"] [actionTypes="[32]"] [diffTypes="[\"add primary key\"]"] [2024/05/06 09:31:39.243 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=124] [version=113] [2024/05/06 09:31:39.244 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=113] ["take time"=2.517975ms] [job="ID:124, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:7, start time: 2024-05-06 09:31:38.956 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:39.245 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:124, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:7, start time: 2024-05-06 09:31:38.956 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:39.251 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:124, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:38.956 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:39.251 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=124] [conn=3] [category=ddl] [job="ID:124, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:38.956 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:39.251 +00:00] [INFO] [reorg.go:718] ["job get table range"] [category=ddl] [jobID=124] [physicalTableID=111] [startKey=74800000000000006f5f69ffff000000000008] [endKey=74800000000000006f5f69ffff000000000008ff] [2024/05/06 09:31:39.253 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:124, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:7, start time: 2024-05-06 09:31:38.956 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787861254145, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:39.254 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=124] [2024/05/06 09:31:39.255 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:124, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:7, start time: 2024-05-06 09:31:38.956 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787861254145, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:39.260 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:124, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:38.956 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787861254145, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:39.260 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=124] [conn=3] [category=ddl] [job="ID:124, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:38.956 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787861254145, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:39.262 +00:00] [INFO] [index.go:1928] ["start to merge temp index"] [category=ddl] [job="ID:124, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:7, start time: 2024-05-06 09:31:38.956 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787861254145, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:8,StartKey:74800000000000006f5f69ffff000000000008,EndKey:74800000000000006f5f69ffff000000000008ff,First:false,PhysicalTableID:111,Ingest mode:false"] [2024/05/06 09:31:39.263 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=111] ["start key"=74800000000000006f5f69ffff000000000008] ["end key"=74800000000000006f5f69ffff000000000008ff] [2024/05/06 09:31:39.263 +00:00] [INFO] [backfilling.go:692] ["start backfill workers to reorg record"] [category=ddl] [type="merge temporary index"] [workerCnt=1] [regionCnt=1] [startKey=74800000000000006f5f69ffff000000000008] [endKey=74800000000000006f5f69ffff000000000008ff] [2024/05/06 09:31:39.263 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=111] ["end key"=74800000000000006f5f69ffff000000000008ff] ["current end key"=74800000000000006f5f69ffff00000000000800] [2024/05/06 09:31:39.313 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=2049] [2024/05/06 09:31:39.313 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:124, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:7, start time: 2024-05-06 09:31:38.956 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787861254145, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:39.314 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=124] [2024/05/06 09:31:39.314 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:124, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:7, start time: 2024-05-06 09:31:38.956 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787861254145, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:39.322 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:124, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:38.956 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787861254145, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:39.322 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=124] [conn=3] [category=ddl] [job="ID:124, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:38.956 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787861254145, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:39.365 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [task="taskID: 1, physicalTableID: 111, range: [74800000000000006f5f69ffff000000000008, 74800000000000006f5f69ffff00000000000800), jobID: 124"] ["added count"=0] ["scan count"=0] ["next key"=74800000000000006f5f69ffff0000000000080000] ["take time"=233.093µs] [2024/05/06 09:31:39.365 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [jobID=124] [2024/05/06 09:31:39.365 +00:00] [INFO] [backfilling.go:632] ["backfill workers successfully processed"] [category=ddl] [element=ID:8,TypeKey:_idx_] ["total added count"=2049] ["start key"=74800000000000006f5f69ffff000000000008] [2024/05/06 09:31:39.368 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=2049] [2024/05/06 09:31:39.368 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:124, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:7, start time: 2024-05-06 09:31:38.956 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787861254145, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:39.368 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=124] [2024/05/06 09:31:39.369 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:124, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:7, start time: 2024-05-06 09:31:38.956 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787861254145, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:39.375 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:124, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:38.956 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787861254145, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:39.375 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=124] [conn=3] [category=ddl] [job="ID:124, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:38.956 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787861254145, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:39.377 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=2049] [2024/05/06 09:31:39.413 +00:00] [INFO] [index.go:781] ["run add index job done"] [category=ddl] [charset=] [collation=] [2024/05/06 09:31:39.413 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:124, Type:add primary key, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 09:31:38.956 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787861254145, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:39.415 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=113] [neededSchemaVersion=114] ["start time"=321.702µs] [gotSchemaVersion=114] [phyTblIDs="[111]"] [actionTypes="[32]"] [diffTypes="[\"add primary key\"]"] [2024/05/06 09:31:39.417 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=124] [version=114] [2024/05/06 09:31:39.419 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=114] ["take time"=4.211419ms] [job="ID:124, Type:add primary key, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 09:31:38.956 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787861254145, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:39.420 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:124, Type:add primary key, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 09:31:38.956 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787861254145, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:39.428 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=124] [tableID=111] [indexIDs="[9223090561878065160]"] [comment="add index: physical table ID(s)"] [2024/05/06 09:31:39.429 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=124] [jobType="add primary key"] [2024/05/06 09:31:39.430 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=124] [conn=3] [job="ID:124, Type:add primary key, State:synced, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 09:31:38.956 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787861254145, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:39.432 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=124] [elementID=1] [startKey=74800000000000006f5f69ffff000000000008] [endKey=74800000000000006f5f69ffff000000000009] [2024/05/06 09:31:39.433 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:124, Type:add primary key, State:synced, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 09:31:38.956 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787861254145, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:39.435 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=124] [2024/05/06 09:31:39.435 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:31:39.435 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=114] [cur_db=test] [sql="alter table t drop primary key"] [user=] [2024/05/06 09:31:39.437 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:125, Type:drop primary key, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:39.436 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:31:39.437 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:125, Type:drop primary key, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:39.436 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t drop primary key"] [2024/05/06 09:31:39.442 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:125, Type:drop primary key, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:39.436 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:39.444 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=125] [conn=3] [category=ddl] [job="ID:125, Type:drop primary key, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:39.436 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:39.445 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:125, Type:drop primary key, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:39.436 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:39.446 +00:00] [WARN] [session.go:813] ["can not retry txn"] [label=internal] [error="[kv:9007]Write conflict, txnStartTS=449573787911323650, conflictStartTS=449573787911585792, conflictCommitTS=449573787911847936, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=125}, originalKey=748000fffffffffffe5f72800000000000007d, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [IsBatchInsert=false] [IsPessimistic=false] [InRestrictedSQL=true] [tidb_retry_limit=10] [tidb_disable_txn_auto_retry=true] [2024/05/06 09:31:39.446 +00:00] [WARN] [session.go:829] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[kv:9007]Write conflict, txnStartTS=449573787911323650, conflictStartTS=449573787911585792, conflictCommitTS=449573787911847936, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=125}, originalKey=748000fffffffffffe5f72800000000000007d, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [2024/05/06 09:31:39.446 +00:00] [INFO] [job_table.go:465] ["handle ddl job failed"] [worker="worker 6, tp general"] [category=ddl] [error="[kv:9007]Write conflict, txnStartTS=449573787911323650, conflictStartTS=449573787911585792, conflictCommitTS=449573787911847936, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=125}, originalKey=748000fffffffffffe5f72800000000000007d, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [job="ID:125, Type:drop primary key, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:39.436 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:39.450 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:125, Type:drop primary key, State:cancelling, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:39.436 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:39.450 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=125] [conn=3] [category=ddl] [job="ID:125, Type:drop primary key, State:cancelling, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:39.436 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:39.450 +00:00] [INFO] [rollingback.go:559] ["the DDL job is cancelled normally"] [worker="worker 6, tp general"] [category=ddl] [jobID=125] [conn=3] [job="ID:125, Type:drop primary key, State:cancelled, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:39.436 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [error="[ddl:8214]Cancelled DDL job"] [2024/05/06 09:31:39.450 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:125, Type:drop primary key, State:cancelled, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:39.436 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:39.451 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=125] [conn=3] [job="ID:125, Type:drop primary key, State:cancelled, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:39.436 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:39.453 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=125] [2024/05/06 09:31:39.453 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 09:31:39.453 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:125, Type:drop primary key, State:cancelled, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:39.436 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:39.453 +00:00] [WARN] [session.go:2153] ["run statement failed"] [schemaVersion=114] [error="[ddl:8214]Cancelled DDL job"] [errorVerbose="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).DoDDLJob\n\tpkg/ddl/ddl.go:1293\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).dropIndex\n\tpkg/ddl/ddl_api.go:8049\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AlterTable\n\tpkg/ddl/ddl_api.go:3904\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeAlterTable\n\tpkg/executor/ddl.go:388\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:152\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1211\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:960\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:794\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:559\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2280\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:469\ngithub.com/pingcap/tidb/pkg/ddl_test.TestCancel\n\tpkg/ddl/cancel_test.go:289\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 3,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 09:31:39.453 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=114] [cur_db=test] [sql="alter table t drop primary key"] [user=] [2024/05/06 09:31:39.455 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:126, Type:drop primary key, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:39.454 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:31:39.455 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:126, Type:drop primary key, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:39.454 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t drop primary key"] [2024/05/06 09:31:39.463 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:126, Type:drop primary key, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:39.454 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:39.463 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=126] [conn=3] [category=ddl] [job="ID:126, Type:drop primary key, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:39.454 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:39.463 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:126, Type:drop primary key, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:39.454 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:39.465 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=114] [neededSchemaVersion=116] ["start time"=379.444µs] [gotSchemaVersion=116] [phyTblIDs="[111]"] [actionTypes="[33]"] [diffTypes="[\"drop primary key\"]"] [2024/05/06 09:31:39.466 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=126] [version=116] [2024/05/06 09:31:39.467 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=116] ["take time"=2.050886ms] [job="ID:126, Type:drop primary key, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:39.454 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:39.467 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:126, Type:drop primary key, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:39.454 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:39.473 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:126, Type:drop primary key, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:39.454 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:39.475 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=126] [conn=3] [category=ddl] [job="ID:126, Type:drop primary key, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:39.454 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:39.475 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:126, Type:drop primary key, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:39.454 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:39.477 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=116] [neededSchemaVersion=117] ["start time"=358.353µs] [gotSchemaVersion=117] [phyTblIDs="[111]"] [actionTypes="[33]"] [diffTypes="[\"drop primary key\"]"] [2024/05/06 09:31:39.479 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=126] [version=117] [2024/05/06 09:31:39.481 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=117] ["take time"=4.031202ms] [job="ID:126, Type:drop primary key, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:39.454 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:39.482 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:126, Type:drop primary key, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:39.454 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:39.485 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:126, Type:drop primary key, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:39.454 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:39.485 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=126] [conn=3] [category=ddl] [job="ID:126, Type:drop primary key, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:39.454 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:39.487 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:126, Type:drop primary key, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:39.454 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:39.489 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=117] [neededSchemaVersion=118] ["start time"=354.347µs] [gotSchemaVersion=118] [phyTblIDs="[111]"] [actionTypes="[33]"] [diffTypes="[\"drop primary key\"]"] [2024/05/06 09:31:39.490 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=126] [version=118] [2024/05/06 09:31:39.490 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=118] ["take time"=2.324173ms] [job="ID:126, Type:drop primary key, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:39.454 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:39.491 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:126, Type:drop primary key, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:39.454 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:39.495 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:126, Type:drop primary key, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:39.454 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:39.495 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=126] [conn=3] [category=ddl] [job="ID:126, Type:drop primary key, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:39.454 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:39.496 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:126, Type:drop primary key, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:39.454 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:39.498 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=118] [neededSchemaVersion=119] ["start time"=332.314µs] [gotSchemaVersion=119] [phyTblIDs="[111]"] [actionTypes="[33]"] [diffTypes="[\"drop primary key\"]"] [2024/05/06 09:31:39.500 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=126] [version=119] [2024/05/06 09:31:39.501 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=119] ["take time"=3.00157ms] [job="ID:126, Type:drop primary key, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:39.454 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:39.502 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:126, Type:drop primary key, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:39.454 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:39.506 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=126] [tableID=111] [indexIDs="[8]"] [comment="drop index: table ID"] [2024/05/06 09:31:39.507 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=126] [jobType="drop primary key"] [2024/05/06 09:31:39.507 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=126] [conn=3] [job="ID:126, Type:drop primary key, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:39.454 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:39.510 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:126, Type:drop primary key, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:39.454 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:39.513 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=126] [2024/05/06 09:31:39.513 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:31:39.514 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=119] [cur_db=test] [sql="alter table t add primary key idx_pc2 (c2)"] [user=] [2024/05/06 09:31:39.516 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:127, Type:add primary key, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:39.515 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 09:31:39.516 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:127, Type:add primary key, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:39.515 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add primary key idx_pc2 (c2)"] [2024/05/06 09:31:39.521 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=126] [elementID=1] [startKey=74800000000000006f5f698000000000000008] [endKey=74800000000000006f5f698000000000000009] [2024/05/06 09:31:39.523 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:127, Type:add primary key, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:39.515 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:39.524 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=127] [conn=3] [category=ddl] [job="ID:127, Type:add primary key, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:39.515 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:39.524 +00:00] [INFO] [index.go:654] ["run add index job"] [category=ddl] [job="ID:127, Type:add primary key, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:39.515 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [indexInfo="{\"id\":9,\"idx_name\":{\"O\":\"PRIMARY\",\"L\":\"primary\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"c2\",\"L\":\"c2\"},\"offset\":1,\"length\":-1}],\"state\":0,\"backfill_state\":0,\"comment\":\"\",\"index_type\":1,\"is_unique\":true,\"is_primary\":true,\"is_invisible\":false,\"is_global\":false,\"mv_index\":false}"] [2024/05/06 09:31:39.524 +00:00] [INFO] [index.go:817] ["fallback to txn-merge backfill process"] [category=ddl] ["lightning env initialized"=false] [2024/05/06 09:31:39.524 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:127, Type:add primary key, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:39.515 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:39.526 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=119] [neededSchemaVersion=120] ["start time"=271.551µs] [gotSchemaVersion=120] [phyTblIDs="[111]"] [actionTypes="[32]"] [diffTypes="[\"add primary key\"]"] [2024/05/06 09:31:39.527 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=127] [version=120] [2024/05/06 09:31:39.527 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=120] ["take time"=2.010248ms] [job="ID:127, Type:add primary key, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:39.515 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:39.528 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:127, Type:add primary key, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:39.515 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:39.533 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:127, Type:add primary key, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:39.515 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:39.533 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=127] [conn=3] [category=ddl] [job="ID:127, Type:add primary key, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:39.515 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:39.534 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:127, Type:add primary key, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:39.515 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:39.536 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=120] [neededSchemaVersion=121] ["start time"=259.959µs] [gotSchemaVersion=121] [phyTblIDs="[111]"] [actionTypes="[32]"] [diffTypes="[\"add primary key\"]"] [2024/05/06 09:31:39.537 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=127] [version=121] [2024/05/06 09:31:39.538 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=121] ["take time"=2.388442ms] [job="ID:127, Type:add primary key, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:39.515 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:39.538 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:127, Type:add primary key, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:39.515 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:39.544 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:127, Type:add primary key, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:39.515 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:39.544 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=127] [conn=3] [category=ddl] [job="ID:127, Type:add primary key, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:39.515 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:39.545 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:127, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:39.515 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:39.546 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=121] [neededSchemaVersion=122] ["start time"=242.67µs] [gotSchemaVersion=122] [phyTblIDs="[111]"] [actionTypes="[32]"] [diffTypes="[\"add primary key\"]"] [2024/05/06 09:31:39.548 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=127] [version=122] [2024/05/06 09:31:39.549 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=122] ["take time"=2.96831ms] [job="ID:127, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:39.515 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:39.550 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:127, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:39.515 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:39.556 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:127, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:39.515 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:39.556 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=127] [conn=3] [category=ddl] [job="ID:127, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:39.515 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:39.557 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=127] [table=t] ["ingest mode"=false] [index=PRIMARY] [2024/05/06 09:31:39.558 +00:00] [INFO] [reorg.go:718] ["job get table range"] [category=ddl] [jobID=127] [physicalTableID=111] [startKey=74800000000000006f5f728000000000000001] [endKey=74800000000000006f5f72800000000000080100] [2024/05/06 09:31:39.560 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:127, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:39.515 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787941470208, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:39.561 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=127] [2024/05/06 09:31:39.561 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:127, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:39.515 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787941470208, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:39.568 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:127, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:39.515 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787941470208, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:39.568 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=127] [conn=3] [category=ddl] [job="ID:127, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:39.515 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787941470208, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:39.568 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=127] [table=t] ["ingest mode"=false] [index=PRIMARY] [2024/05/06 09:31:39.570 +00:00] [INFO] [index.go:1931] ["start to add table index"] [category=ddl] [job="ID:127, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:39.515 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787941470208, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:9,StartKey:74800000000000006f5f728000000000000001,EndKey:74800000000000006f5f72800000000000080100,First:false,PhysicalTableID:111,Ingest mode:false"] [2024/05/06 09:31:39.571 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=111] ["start key"=74800000000000006f5f728000000000000001] ["end key"=74800000000000006f5f72800000000000080100] [2024/05/06 09:31:39.571 +00:00] [INFO] [backfilling.go:692] ["start backfill workers to reorg record"] [category=ddl] [type="add index"] [workerCnt=1] [regionCnt=1] [startKey=74800000000000006f5f728000000000000001] [endKey=74800000000000006f5f72800000000000080100] [2024/05/06 09:31:39.571 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=111] ["end key"=74800000000000006f5f72800000000000080100] ["current end key"=74800000000000006f5f72800000000000080100] [2024/05/06 09:31:39.580 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 09:31:39.580 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:127, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:39.515 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787941470208, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:39.581 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=127] [2024/05/06 09:31:39.581 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:127, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:39.515 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787941470208, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:39.587 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:127, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:39.515 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787941470208, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:39.587 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=127] [conn=3] [category=ddl] [job="ID:127, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:39.515 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787941470208, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:39.587 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=127] [table=t] ["ingest mode"=false] [index=PRIMARY] [2024/05/06 09:31:39.599 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 09:31:39.599 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:127, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:39.515 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787941470208, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:39.600 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=127] [2024/05/06 09:31:39.601 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:127, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:39.515 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787941470208, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:39.606 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:127, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:39.515 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787941470208, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:39.606 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=127] [conn=3] [category=ddl] [job="ID:127, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:39.515 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787941470208, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:39.606 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=127] [table=t] ["ingest mode"=false] [index=PRIMARY] [2024/05/06 09:31:39.618 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 09:31:39.618 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:127, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:39.515 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787941470208, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:39.619 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=127] [2024/05/06 09:31:39.619 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:127, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:39.515 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787941470208, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:39.625 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:127, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:39.515 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787941470208, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:39.625 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=127] [conn=3] [category=ddl] [job="ID:127, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:39.515 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787941470208, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:39.626 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=127] [table=t] ["ingest mode"=false] [index=PRIMARY] [2024/05/06 09:31:39.638 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 09:31:39.638 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:127, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:39.515 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787941470208, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:39.638 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=127] [2024/05/06 09:31:39.639 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:127, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:39.515 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787941470208, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:39.644 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:127, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:39.515 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787941470208, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:39.644 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=127] [conn=3] [category=ddl] [job="ID:127, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:39.515 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787941470208, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:39.644 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=127] [table=t] ["ingest mode"=false] [index=PRIMARY] [2024/05/06 09:31:39.656 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 09:31:39.656 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:127, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:39.515 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787941470208, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:39.657 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=127] [2024/05/06 09:31:39.657 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:127, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:39.515 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787941470208, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:39.664 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:127, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:39.515 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787941470208, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:39.665 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=127] [conn=3] [category=ddl] [job="ID:127, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:39.515 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787941470208, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:39.665 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=127] [table=t] ["ingest mode"=false] [index=PRIMARY] [2024/05/06 09:31:39.715 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=128] [2024/05/06 09:31:39.715 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:127, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:128, ArgLen:7, start time: 2024-05-06 09:31:39.515 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787941470208, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:39.716 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=127] [2024/05/06 09:31:39.717 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:127, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:128, ArgLen:7, start time: 2024-05-06 09:31:39.515 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787941470208, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:39.725 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:127, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:128, ArgLen:0, start time: 2024-05-06 09:31:39.515 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787941470208, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:39.725 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=127] [conn=3] [category=ddl] [job="ID:127, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:128, ArgLen:0, start time: 2024-05-06 09:31:39.515 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787941470208, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:39.725 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=127] [table=t] ["ingest mode"=false] [index=PRIMARY] [2024/05/06 09:31:39.731 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp add index"] [task="taskID: 1, physicalTableID: 111, range: [74800000000000006f5f728000000000000001, 74800000000000006f5f72800000000000080100), jobID: 127"] ["added count"=2049] ["scan count"=2049] ["next key"=74800000000000006f5f72800000000000080100] ["take time"=59.137813ms] [2024/05/06 09:31:39.731 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp add index"] [jobID=127] [2024/05/06 09:31:39.731 +00:00] [INFO] [backfilling.go:632] ["backfill workers successfully processed"] [category=ddl] [element=ID:9,TypeKey:_idx_] ["total added count"=2049] ["start key"=74800000000000006f5f728000000000000001] [2024/05/06 09:31:39.731 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=2049] [2024/05/06 09:31:39.762 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:127, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:7, start time: 2024-05-06 09:31:39.515 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787941470208, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:39.764 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=122] [neededSchemaVersion=123] ["start time"=256.599µs] [gotSchemaVersion=123] [phyTblIDs="[111]"] [actionTypes="[32]"] [diffTypes="[\"add primary key\"]"] [2024/05/06 09:31:39.765 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=127] [version=123] [2024/05/06 09:31:39.766 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=123] ["take time"=2.127828ms] [job="ID:127, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:7, start time: 2024-05-06 09:31:39.515 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787941470208, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:39.767 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:127, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:7, start time: 2024-05-06 09:31:39.515 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787941470208, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:39.772 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:127, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:39.515 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787941470208, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:39.772 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=127] [conn=3] [category=ddl] [job="ID:127, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:39.515 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573787941470208, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:39.772 +00:00] [INFO] [index.go:880] ["index backfill state ready to merge"] [category=ddl] ["job ID"=127] [table=t] [index=PRIMARY] [2024/05/06 09:31:39.773 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:127, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:7, start time: 2024-05-06 09:31:39.515 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:39.775 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=123] [neededSchemaVersion=124] ["start time"=336.738µs] [gotSchemaVersion=124] [phyTblIDs="[111]"] [actionTypes="[32]"] [diffTypes="[\"add primary key\"]"] [2024/05/06 09:31:39.776 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=127] [version=124] [2024/05/06 09:31:39.776 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=124] ["take time"=2.101715ms] [job="ID:127, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:7, start time: 2024-05-06 09:31:39.515 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:39.777 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:127, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:7, start time: 2024-05-06 09:31:39.515 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:39.795 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:127, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:39.515 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:39.795 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=127] [conn=3] [category=ddl] [job="ID:127, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:39.515 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:39.796 +00:00] [INFO] [reorg.go:718] ["job get table range"] [category=ddl] [jobID=127] [physicalTableID=111] [startKey=74800000000000006f5f69ffff000000000009] [endKey=74800000000000006f5f69ffff000000000009ff] [2024/05/06 09:31:39.802 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:127, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:7, start time: 2024-05-06 09:31:39.515 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788004122624, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:39.804 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=127] [2024/05/06 09:31:39.807 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:127, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:7, start time: 2024-05-06 09:31:39.515 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788004122624, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:39.815 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:127, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:39.515 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788004122624, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:39.815 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=127] [conn=3] [category=ddl] [job="ID:127, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:39.515 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788004122624, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:39.818 +00:00] [INFO] [index.go:1928] ["start to merge temp index"] [category=ddl] [job="ID:127, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:7, start time: 2024-05-06 09:31:39.515 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788004122624, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:9,StartKey:74800000000000006f5f69ffff000000000009,EndKey:74800000000000006f5f69ffff000000000009ff,First:false,PhysicalTableID:111,Ingest mode:false"] [2024/05/06 09:31:39.819 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=111] ["start key"=74800000000000006f5f69ffff000000000009] ["end key"=74800000000000006f5f69ffff000000000009ff] [2024/05/06 09:31:39.819 +00:00] [INFO] [backfilling.go:692] ["start backfill workers to reorg record"] [category=ddl] [type="merge temporary index"] [workerCnt=1] [regionCnt=1] [startKey=74800000000000006f5f69ffff000000000009] [endKey=74800000000000006f5f69ffff000000000009ff] [2024/05/06 09:31:39.819 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=111] ["end key"=74800000000000006f5f69ffff000000000009ff] ["current end key"=74800000000000006f5f69ffff00000000000900] [2024/05/06 09:31:39.872 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=2049] [2024/05/06 09:31:39.872 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:127, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:7, start time: 2024-05-06 09:31:39.515 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788004122624, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:39.873 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=127] [2024/05/06 09:31:39.874 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:127, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:7, start time: 2024-05-06 09:31:39.515 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788004122624, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:39.881 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:127, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:39.515 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788004122624, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:39.881 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=127] [conn=3] [category=ddl] [job="ID:127, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:39.515 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788004122624, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:39.919 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [task="taskID: 1, physicalTableID: 111, range: [74800000000000006f5f69ffff000000000009, 74800000000000006f5f69ffff00000000000900), jobID: 127"] ["added count"=0] ["scan count"=0] ["next key"=74800000000000006f5f69ffff0000000000090000] ["take time"=258.127µs] [2024/05/06 09:31:39.920 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [jobID=127] [2024/05/06 09:31:39.920 +00:00] [INFO] [backfilling.go:632] ["backfill workers successfully processed"] [category=ddl] [element=ID:9,TypeKey:_idx_] ["total added count"=2049] ["start key"=74800000000000006f5f69ffff000000000009] [2024/05/06 09:31:39.948 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=2049] [2024/05/06 09:31:39.948 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:127, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:7, start time: 2024-05-06 09:31:39.515 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788004122624, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:39.949 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=127] [2024/05/06 09:31:39.950 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:127, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:7, start time: 2024-05-06 09:31:39.515 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788004122624, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:39.960 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:127, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:39.515 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788004122624, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:39.960 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=127] [conn=3] [category=ddl] [job="ID:127, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:39.515 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788004122624, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:39.963 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=2049] [2024/05/06 09:31:40.015 +00:00] [INFO] [index.go:781] ["run add index job done"] [category=ddl] [charset=] [collation=] [2024/05/06 09:31:40.015 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:127, Type:add primary key, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 09:31:39.515 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788004122624, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:40.018 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=124] [neededSchemaVersion=125] ["start time"=537.89µs] [gotSchemaVersion=125] [phyTblIDs="[111]"] [actionTypes="[32]"] [diffTypes="[\"add primary key\"]"] [2024/05/06 09:31:40.019 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=127] [version=125] [2024/05/06 09:31:40.027 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=125] ["take time"=9.85022ms] [job="ID:127, Type:add primary key, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 09:31:39.515 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788004122624, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:40.032 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:127, Type:add primary key, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 09:31:39.515 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788004122624, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:40.040 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=127] [tableID=111] [indexIDs="[9223090561878065161]"] [comment="add index: physical table ID(s)"] [2024/05/06 09:31:40.041 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=127] [jobType="add primary key"] [2024/05/06 09:31:40.042 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=127] [conn=3] [job="ID:127, Type:add primary key, State:synced, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 09:31:39.515 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788004122624, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:40.045 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=127] [elementID=1] [startKey=74800000000000006f5f69ffff000000000009] [endKey=74800000000000006f5f69ffff00000000000a] [2024/05/06 09:31:40.046 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:127, Type:add primary key, State:synced, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 09:31:39.515 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788004122624, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:40.048 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=127] [2024/05/06 09:31:40.049 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:31:40.049 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=125] [cur_db=test] [sql="alter table t drop primary key"] [user=] [2024/05/06 09:31:40.052 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:128, Type:drop primary key, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:40.05 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t drop primary key"] [2024/05/06 09:31:40.052 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:128, Type:drop primary key, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:40.05 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:31:40.060 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:128, Type:drop primary key, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:40.05 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:40.060 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=128] [conn=3] [category=ddl] [job="ID:128, Type:drop primary key, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:40.05 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:40.061 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:128, Type:drop primary key, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:40.05 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:40.067 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=125] [neededSchemaVersion=126] ["start time"=392.358µs] [gotSchemaVersion=126] [phyTblIDs="[111]"] [actionTypes="[33]"] [diffTypes="[\"drop primary key\"]"] [2024/05/06 09:31:40.068 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=128] [version=126] [2024/05/06 09:31:40.069 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=126] ["take time"=6.011434ms] [job="ID:128, Type:drop primary key, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:40.05 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:40.070 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:128, Type:drop primary key, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:40.05 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:40.073 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:128, Type:drop primary key, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:40.05 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:40.074 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=128] [conn=3] [category=ddl] [job="ID:128, Type:drop primary key, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:40.05 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:40.075 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:128, Type:drop primary key, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:40.05 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:40.076 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=126] [neededSchemaVersion=127] ["start time"=363.501µs] [gotSchemaVersion=127] [phyTblIDs="[111]"] [actionTypes="[33]"] [diffTypes="[\"drop primary key\"]"] [2024/05/06 09:31:40.078 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=128] [version=127] [2024/05/06 09:31:40.078 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=127] ["take time"=2.053565ms] [job="ID:128, Type:drop primary key, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:40.05 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:40.079 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:128, Type:drop primary key, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:40.05 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:40.083 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:128, Type:drop primary key, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:40.05 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:40.083 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=128] [conn=3] [category=ddl] [job="ID:128, Type:drop primary key, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:40.05 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:40.084 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:128, Type:drop primary key, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:40.05 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:40.085 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=127] [neededSchemaVersion=128] ["start time"=286.063µs] [gotSchemaVersion=128] [phyTblIDs="[111]"] [actionTypes="[33]"] [diffTypes="[\"drop primary key\"]"] [2024/05/06 09:31:40.087 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=128] [version=128] [2024/05/06 09:31:40.087 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=128] ["take time"=2.353949ms] [job="ID:128, Type:drop primary key, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:40.05 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:40.088 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:128, Type:drop primary key, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:40.05 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:40.092 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:128, Type:drop primary key, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:40.05 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:40.092 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=128] [conn=3] [category=ddl] [job="ID:128, Type:drop primary key, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:40.05 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:40.093 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:128, Type:drop primary key, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:40.05 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:40.095 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=128] [neededSchemaVersion=129] ["start time"=315.815µs] [gotSchemaVersion=129] [phyTblIDs="[111]"] [actionTypes="[33]"] [diffTypes="[\"drop primary key\"]"] [2024/05/06 09:31:40.096 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=128] [version=129] [2024/05/06 09:31:40.097 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=129] ["take time"=2.138352ms] [job="ID:128, Type:drop primary key, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:40.05 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:40.098 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:128, Type:drop primary key, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:40.05 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:40.102 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=128] [tableID=111] [indexIDs="[9]"] [comment="drop index: table ID"] [2024/05/06 09:31:40.104 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=128] [jobType="drop primary key"] [2024/05/06 09:31:40.104 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=128] [conn=3] [job="ID:128, Type:drop primary key, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:40.05 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:40.108 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:128, Type:drop primary key, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:40.05 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:40.110 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=128] [2024/05/06 09:31:40.110 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:31:40.111 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=129] [cur_db=test] [sql="alter table t add primary key idx_pc2 (c2)"] [user=] [2024/05/06 09:31:40.113 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:129, Type:add primary key, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:40.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 09:31:40.114 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:129, Type:add primary key, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:40.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add primary key idx_pc2 (c2)"] [2024/05/06 09:31:40.129 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:129, Type:add primary key, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:40.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:40.129 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=129] [conn=3] [category=ddl] [job="ID:129, Type:add primary key, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:40.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:40.129 +00:00] [INFO] [index.go:654] ["run add index job"] [category=ddl] [job="ID:129, Type:add primary key, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:40.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [indexInfo="{\"id\":10,\"idx_name\":{\"O\":\"PRIMARY\",\"L\":\"primary\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"c2\",\"L\":\"c2\"},\"offset\":1,\"length\":-1}],\"state\":0,\"backfill_state\":0,\"comment\":\"\",\"index_type\":1,\"is_unique\":true,\"is_primary\":true,\"is_invisible\":false,\"is_global\":false,\"mv_index\":false}"] [2024/05/06 09:31:40.129 +00:00] [INFO] [index.go:817] ["fallback to txn-merge backfill process"] [category=ddl] ["lightning env initialized"=false] [2024/05/06 09:31:40.132 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=128] [elementID=1] [startKey=74800000000000006f5f698000000000000009] [endKey=74800000000000006f5f69800000000000000a] [2024/05/06 09:31:40.132 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:129, Type:add primary key, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:40.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:40.135 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=129] [neededSchemaVersion=130] ["start time"=369.988µs] [gotSchemaVersion=130] [phyTblIDs="[111]"] [actionTypes="[32]"] [diffTypes="[\"add primary key\"]"] [2024/05/06 09:31:40.136 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=129] [version=130] [2024/05/06 09:31:40.136 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=130] ["take time"=2.008011ms] [job="ID:129, Type:add primary key, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:40.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:40.137 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:129, Type:add primary key, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:40.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:40.150 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:129, Type:add primary key, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:40.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:40.150 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=129] [conn=3] [category=ddl] [job="ID:129, Type:add primary key, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:40.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:40.154 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:129, Type:add primary key, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:40.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:40.156 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=130] [neededSchemaVersion=131] ["start time"=329.686µs] [gotSchemaVersion=131] [phyTblIDs="[111]"] [actionTypes="[32]"] [diffTypes="[\"add primary key\"]"] [2024/05/06 09:31:40.157 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=129] [version=131] [2024/05/06 09:31:40.158 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=131] ["take time"=2.028541ms] [job="ID:129, Type:add primary key, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:40.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:40.159 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:129, Type:add primary key, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:40.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:40.169 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:129, Type:add primary key, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:40.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:40.169 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=129] [conn=3] [category=ddl] [job="ID:129, Type:add primary key, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:40.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:40.170 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:129, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:40.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:40.172 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=131] [neededSchemaVersion=132] ["start time"=445.835µs] [gotSchemaVersion=132] [phyTblIDs="[111]"] [actionTypes="[32]"] [diffTypes="[\"add primary key\"]"] [2024/05/06 09:31:40.174 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=129] [version=132] [2024/05/06 09:31:40.176 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=132] ["take time"=4.542396ms] [job="ID:129, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:40.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:40.177 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:129, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:40.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:40.188 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:129, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:40.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:40.189 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=129] [conn=3] [category=ddl] [job="ID:129, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:40.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:40.189 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=129] [table=t] ["ingest mode"=false] [index=PRIMARY] [2024/05/06 09:31:40.190 +00:00] [INFO] [reorg.go:718] ["job get table range"] [category=ddl] [jobID=129] [physicalTableID=111] [startKey=74800000000000006f5f728000000000000001] [endKey=74800000000000006f5f72800000000000080100] [2024/05/06 09:31:40.192 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:129, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:40.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788107145216, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:40.193 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=129] [2024/05/06 09:31:40.194 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:129, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:40.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788107145216, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:40.203 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:129, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:40.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788107145216, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:40.203 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=129] [conn=3] [category=ddl] [job="ID:129, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:40.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788107145216, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:40.203 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=129] [table=t] ["ingest mode"=false] [index=PRIMARY] [2024/05/06 09:31:40.205 +00:00] [INFO] [index.go:1931] ["start to add table index"] [category=ddl] [job="ID:129, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:40.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788107145216, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:10,StartKey:74800000000000006f5f728000000000000001,EndKey:74800000000000006f5f72800000000000080100,First:false,PhysicalTableID:111,Ingest mode:false"] [2024/05/06 09:31:40.206 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=111] ["start key"=74800000000000006f5f728000000000000001] ["end key"=74800000000000006f5f72800000000000080100] [2024/05/06 09:31:40.206 +00:00] [INFO] [backfilling.go:692] ["start backfill workers to reorg record"] [category=ddl] [type="add index"] [workerCnt=1] [regionCnt=1] [startKey=74800000000000006f5f728000000000000001] [endKey=74800000000000006f5f72800000000000080100] [2024/05/06 09:31:40.207 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=111] ["end key"=74800000000000006f5f72800000000000080100] ["current end key"=74800000000000006f5f72800000000000080100] [2024/05/06 09:31:40.215 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 09:31:40.216 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:129, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:40.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788107145216, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:40.216 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=129] [2024/05/06 09:31:40.217 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:129, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:40.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788107145216, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:40.229 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:129, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:40.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788107145216, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:40.229 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=129] [conn=3] [category=ddl] [job="ID:129, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:40.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788107145216, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:40.229 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=129] [table=t] ["ingest mode"=false] [index=PRIMARY] [2024/05/06 09:31:40.241 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 09:31:40.242 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:129, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:40.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788107145216, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:40.242 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=129] [2024/05/06 09:31:40.243 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:129, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:40.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788107145216, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:40.251 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:129, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:40.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788107145216, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:40.251 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=129] [conn=3] [category=ddl] [job="ID:129, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:40.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788107145216, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:40.251 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=129] [table=t] ["ingest mode"=false] [index=PRIMARY] [2024/05/06 09:31:40.264 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 09:31:40.264 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:129, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:40.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788107145216, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:40.264 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=129] [2024/05/06 09:31:40.265 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:129, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:40.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788107145216, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:40.271 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:129, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:40.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788107145216, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:40.271 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=129] [conn=3] [category=ddl] [job="ID:129, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:40.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788107145216, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:40.271 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=129] [table=t] ["ingest mode"=false] [index=PRIMARY] [2024/05/06 09:31:40.284 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 09:31:40.284 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:129, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:40.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788107145216, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:40.285 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=129] [2024/05/06 09:31:40.285 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:129, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:40.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788107145216, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:40.294 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:129, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:40.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788107145216, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:40.294 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=129] [conn=3] [category=ddl] [job="ID:129, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:40.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788107145216, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:40.295 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=129] [table=t] ["ingest mode"=false] [index=PRIMARY] [2024/05/06 09:31:40.310 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 09:31:40.310 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:129, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:40.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788107145216, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:40.311 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=129] [2024/05/06 09:31:40.312 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:129, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:40.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788107145216, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:40.325 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:129, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:40.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788107145216, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:40.325 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=129] [conn=3] [category=ddl] [job="ID:129, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:40.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788107145216, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:40.325 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=129] [table=t] ["ingest mode"=false] [index=PRIMARY] [2024/05/06 09:31:40.397 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=544] [2024/05/06 09:31:40.398 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:129, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:544, ArgLen:7, start time: 2024-05-06 09:31:40.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788107145216, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:40.399 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=129] [2024/05/06 09:31:40.400 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:129, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:544, ArgLen:7, start time: 2024-05-06 09:31:40.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788107145216, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:40.409 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:129, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:544, ArgLen:0, start time: 2024-05-06 09:31:40.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788107145216, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:40.409 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=129] [conn=3] [category=ddl] [job="ID:129, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:544, ArgLen:0, start time: 2024-05-06 09:31:40.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788107145216, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:40.410 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=129] [table=t] ["ingest mode"=false] [index=PRIMARY] [2024/05/06 09:31:40.433 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp add index"] [task="taskID: 1, physicalTableID: 111, range: [74800000000000006f5f728000000000000001, 74800000000000006f5f72800000000000080100), jobID: 129"] ["added count"=2049] ["scan count"=2049] ["next key"=74800000000000006f5f72800000000000080100] ["take time"=121.531422ms] [2024/05/06 09:31:40.433 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp add index"] [jobID=129] [2024/05/06 09:31:40.433 +00:00] [INFO] [backfilling.go:632] ["backfill workers successfully processed"] [category=ddl] [element=ID:10,TypeKey:_idx_] ["total added count"=2049] ["start key"=74800000000000006f5f728000000000000001] [2024/05/06 09:31:40.469 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=1824] [2024/05/06 09:31:40.469 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:129, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:1824, ArgLen:7, start time: 2024-05-06 09:31:40.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788107145216, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:40.470 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=129] [2024/05/06 09:31:40.471 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:129, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:1824, ArgLen:7, start time: 2024-05-06 09:31:40.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788107145216, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:40.479 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:129, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:1824, ArgLen:0, start time: 2024-05-06 09:31:40.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788107145216, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:40.479 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=129] [conn=3] [category=ddl] [job="ID:129, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:1824, ArgLen:0, start time: 2024-05-06 09:31:40.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788107145216, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:40.480 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=129] [table=t] ["ingest mode"=false] [index=PRIMARY] [2024/05/06 09:31:40.481 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=2049] [2024/05/06 09:31:40.528 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:129, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:7, start time: 2024-05-06 09:31:40.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788107145216, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:40.530 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=132] [neededSchemaVersion=133] ["start time"=440.584µs] [gotSchemaVersion=133] [phyTblIDs="[111]"] [actionTypes="[32]"] [diffTypes="[\"add primary key\"]"] [2024/05/06 09:31:40.532 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=129] [version=133] [2024/05/06 09:31:40.535 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=133] ["take time"=4.944245ms] [job="ID:129, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:7, start time: 2024-05-06 09:31:40.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788107145216, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:40.536 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:129, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:7, start time: 2024-05-06 09:31:40.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788107145216, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:40.542 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:129, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:40.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788107145216, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:40.542 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=129] [conn=3] [category=ddl] [job="ID:129, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:40.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788107145216, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:40.542 +00:00] [INFO] [index.go:880] ["index backfill state ready to merge"] [category=ddl] ["job ID"=129] [table=t] [index=PRIMARY] [2024/05/06 09:31:40.543 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:129, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:7, start time: 2024-05-06 09:31:40.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:40.545 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=133] [neededSchemaVersion=134] ["start time"=457.423µs] [gotSchemaVersion=134] [phyTblIDs="[111]"] [actionTypes="[32]"] [diffTypes="[\"add primary key\"]"] [2024/05/06 09:31:40.547 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=129] [version=134] [2024/05/06 09:31:40.549 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=134] ["take time"=4.317035ms] [job="ID:129, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:7, start time: 2024-05-06 09:31:40.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:40.550 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:129, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:7, start time: 2024-05-06 09:31:40.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:40.556 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:129, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:40.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:40.556 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=129] [conn=3] [category=ddl] [job="ID:129, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:40.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:40.557 +00:00] [INFO] [reorg.go:718] ["job get table range"] [category=ddl] [jobID=129] [physicalTableID=111] [startKey=74800000000000006f5f69ffff00000000000a] [endKey=74800000000000006f5f69ffff00000000000aff] [2024/05/06 09:31:40.559 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:129, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:7, start time: 2024-05-06 09:31:40.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788203614208, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:40.561 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=129] [2024/05/06 09:31:40.561 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:129, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:7, start time: 2024-05-06 09:31:40.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788203614208, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:40.569 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:129, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:40.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788203614208, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:40.569 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=129] [conn=3] [category=ddl] [job="ID:129, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:40.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788203614208, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:40.571 +00:00] [INFO] [index.go:1928] ["start to merge temp index"] [category=ddl] [job="ID:129, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:7, start time: 2024-05-06 09:31:40.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788203614208, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:10,StartKey:74800000000000006f5f69ffff00000000000a,EndKey:74800000000000006f5f69ffff00000000000aff,First:false,PhysicalTableID:111,Ingest mode:false"] [2024/05/06 09:31:40.573 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=111] ["start key"=74800000000000006f5f69ffff00000000000a] ["end key"=74800000000000006f5f69ffff00000000000aff] [2024/05/06 09:31:40.573 +00:00] [INFO] [backfilling.go:692] ["start backfill workers to reorg record"] [category=ddl] [type="merge temporary index"] [workerCnt=1] [regionCnt=1] [startKey=74800000000000006f5f69ffff00000000000a] [endKey=74800000000000006f5f69ffff00000000000aff] [2024/05/06 09:31:40.573 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=111] ["end key"=74800000000000006f5f69ffff00000000000aff] ["current end key"=74800000000000006f5f69ffff00000000000a00] [2024/05/06 09:31:40.626 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=2049] [2024/05/06 09:31:40.626 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:129, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:7, start time: 2024-05-06 09:31:40.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788203614208, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:40.627 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=129] [2024/05/06 09:31:40.627 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:129, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:7, start time: 2024-05-06 09:31:40.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788203614208, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:40.634 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:129, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:40.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788203614208, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:40.635 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=129] [conn=3] [category=ddl] [job="ID:129, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:40.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788203614208, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:40.675 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [task="taskID: 1, physicalTableID: 111, range: [74800000000000006f5f69ffff00000000000a, 74800000000000006f5f69ffff00000000000a00), jobID: 129"] ["added count"=0] ["scan count"=0] ["next key"=74800000000000006f5f69ffff00000000000a0000] ["take time"=282.877µs] [2024/05/06 09:31:40.675 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [jobID=129] [2024/05/06 09:31:40.675 +00:00] [INFO] [backfilling.go:632] ["backfill workers successfully processed"] [category=ddl] [element=ID:10,TypeKey:_idx_] ["total added count"=2049] ["start key"=74800000000000006f5f69ffff00000000000a] [2024/05/06 09:31:40.696 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=2049] [2024/05/06 09:31:40.696 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:129, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:7, start time: 2024-05-06 09:31:40.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788203614208, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:40.697 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=129] [2024/05/06 09:31:40.698 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:129, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:7, start time: 2024-05-06 09:31:40.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788203614208, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:40.707 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:129, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:40.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788203614208, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:40.707 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=129] [conn=3] [category=ddl] [job="ID:129, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:40.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788203614208, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:40.710 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=2049] [2024/05/06 09:31:40.755 +00:00] [INFO] [index.go:781] ["run add index job done"] [category=ddl] [charset=] [collation=] [2024/05/06 09:31:40.755 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:129, Type:add primary key, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 09:31:40.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788203614208, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:40.758 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=134] [neededSchemaVersion=135] ["start time"=383.927µs] [gotSchemaVersion=135] [phyTblIDs="[111]"] [actionTypes="[32]"] [diffTypes="[\"add primary key\"]"] [2024/05/06 09:31:40.759 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=129] [version=135] [2024/05/06 09:31:40.762 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=135] ["take time"=4.55621ms] [job="ID:129, Type:add primary key, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 09:31:40.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788203614208, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:40.763 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:129, Type:add primary key, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 09:31:40.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788203614208, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:40.776 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=129] [tableID=111] [indexIDs="[9223090561878065162]"] [comment="add index: physical table ID(s)"] [2024/05/06 09:31:40.777 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=129] [jobType="add primary key"] [2024/05/06 09:31:40.778 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=129] [conn=3] [job="ID:129, Type:add primary key, State:synced, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 09:31:40.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788203614208, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:40.790 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:129, Type:add primary key, State:synced, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 09:31:40.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788203614208, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:40.792 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=129] [elementID=1] [startKey=74800000000000006f5f69ffff00000000000a] [endKey=74800000000000006f5f69ffff00000000000b] [2024/05/06 09:31:40.796 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=129] [2024/05/06 09:31:40.796 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:31:40.797 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=135] [cur_db=test] [sql="alter table t drop primary key"] [user=] [2024/05/06 09:31:40.802 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:130, Type:drop primary key, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:40.799 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:31:40.802 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:130, Type:drop primary key, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:40.799 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t drop primary key"] [2024/05/06 09:31:40.810 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:130, Type:drop primary key, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:40.799 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:40.811 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=130] [conn=3] [category=ddl] [job="ID:130, Type:drop primary key, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:40.799 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:40.811 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:130, Type:drop primary key, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:40.799 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:40.814 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=135] [neededSchemaVersion=136] ["start time"=367.206µs] [gotSchemaVersion=136] [phyTblIDs="[111]"] [actionTypes="[33]"] [diffTypes="[\"drop primary key\"]"] [2024/05/06 09:31:40.816 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=130] [version=136] [2024/05/06 09:31:40.819 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=136] ["take time"=5.441284ms] [job="ID:130, Type:drop primary key, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:40.799 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:40.820 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:130, Type:drop primary key, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:40.799 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:40.829 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:130, Type:drop primary key, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:40.799 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:40.829 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=130] [conn=3] [category=ddl] [job="ID:130, Type:drop primary key, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:40.799 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:40.830 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:130, Type:drop primary key, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:40.799 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:40.833 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=136] [neededSchemaVersion=137] ["start time"=447.805µs] [gotSchemaVersion=137] [phyTblIDs="[111]"] [actionTypes="[33]"] [diffTypes="[\"drop primary key\"]"] [2024/05/06 09:31:40.835 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=130] [version=137] [2024/05/06 09:31:40.837 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=137] ["take time"=4.087368ms] [job="ID:130, Type:drop primary key, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:40.799 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:40.838 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:130, Type:drop primary key, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:40.799 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:40.843 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:130, Type:drop primary key, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:40.799 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:40.845 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=130] [conn=3] [category=ddl] [job="ID:130, Type:drop primary key, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:40.799 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:40.846 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:130, Type:drop primary key, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:40.799 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:40.848 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=137] [neededSchemaVersion=138] ["start time"=432.507µs] [gotSchemaVersion=138] [phyTblIDs="[111]"] [actionTypes="[33]"] [diffTypes="[\"drop primary key\"]"] [2024/05/06 09:31:40.850 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=130] [version=138] [2024/05/06 09:31:40.850 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=138] ["take time"=2.592882ms] [job="ID:130, Type:drop primary key, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:40.799 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:40.852 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:130, Type:drop primary key, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:40.799 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:40.857 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:130, Type:drop primary key, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:40.799 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:40.857 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=130] [conn=3] [category=ddl] [job="ID:130, Type:drop primary key, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:40.799 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:40.858 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:130, Type:drop primary key, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:40.799 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:40.862 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=138] [neededSchemaVersion=139] ["start time"=445.363µs] [gotSchemaVersion=139] [phyTblIDs="[111]"] [actionTypes="[33]"] [diffTypes="[\"drop primary key\"]"] [2024/05/06 09:31:40.866 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=130] [version=139] [2024/05/06 09:31:40.867 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=139] ["take time"=6.028421ms] [job="ID:130, Type:drop primary key, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:40.799 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:40.868 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:130, Type:drop primary key, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:40.799 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:40.878 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=130] [tableID=111] [indexIDs="[10]"] [comment="drop index: table ID"] [2024/05/06 09:31:40.879 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=130] [jobType="drop primary key"] [2024/05/06 09:31:40.879 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=130] [conn=3] [job="ID:130, Type:drop primary key, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:40.799 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:40.883 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:130, Type:drop primary key, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:40.799 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:40.887 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=130] [2024/05/06 09:31:40.887 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:31:40.888 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=139] [cur_db=test] [sql="alter table t add primary key idx_pc2 (c2)"] [user=] [2024/05/06 09:31:40.891 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:131, Type:add primary key, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:40.89 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 09:31:40.891 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:131, Type:add primary key, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:40.89 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add primary key idx_pc2 (c2)"] [2024/05/06 09:31:40.908 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=130] [elementID=1] [startKey=74800000000000006f5f69800000000000000a] [endKey=74800000000000006f5f69800000000000000b] [2024/05/06 09:31:40.908 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:131, Type:add primary key, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:40.89 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:40.908 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=131] [conn=3] [category=ddl] [job="ID:131, Type:add primary key, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:40.89 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:40.909 +00:00] [INFO] [index.go:654] ["run add index job"] [category=ddl] [job="ID:131, Type:add primary key, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:40.89 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [indexInfo="{\"id\":11,\"idx_name\":{\"O\":\"PRIMARY\",\"L\":\"primary\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"c2\",\"L\":\"c2\"},\"offset\":1,\"length\":-1}],\"state\":0,\"backfill_state\":0,\"comment\":\"\",\"index_type\":1,\"is_unique\":true,\"is_primary\":true,\"is_invisible\":false,\"is_global\":false,\"mv_index\":false}"] [2024/05/06 09:31:40.909 +00:00] [INFO] [index.go:817] ["fallback to txn-merge backfill process"] [category=ddl] ["lightning env initialized"=false] [2024/05/06 09:31:40.911 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:131, Type:add primary key, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:40.89 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:40.914 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=139] [neededSchemaVersion=140] ["start time"=429.493µs] [gotSchemaVersion=140] [phyTblIDs="[111]"] [actionTypes="[32]"] [diffTypes="[\"add primary key\"]"] [2024/05/06 09:31:40.916 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=131] [version=140] [2024/05/06 09:31:40.917 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=140] ["take time"=4.201584ms] [job="ID:131, Type:add primary key, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:40.89 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:40.919 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:131, Type:add primary key, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:40.89 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:40.930 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:131, Type:add primary key, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:40.89 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:40.930 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=131] [conn=3] [category=ddl] [job="ID:131, Type:add primary key, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:40.89 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:40.931 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:131, Type:add primary key, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:40.89 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:40.932 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=140] [neededSchemaVersion=141] ["start time"=308.431µs] [gotSchemaVersion=141] [phyTblIDs="[111]"] [actionTypes="[32]"] [diffTypes="[\"add primary key\"]"] [2024/05/06 09:31:40.934 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=131] [version=141] [2024/05/06 09:31:40.935 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=141] ["take time"=3.027519ms] [job="ID:131, Type:add primary key, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:40.89 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:40.939 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:131, Type:add primary key, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:40.89 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:40.948 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:131, Type:add primary key, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:40.89 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:40.949 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=131] [conn=3] [category=ddl] [job="ID:131, Type:add primary key, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:40.89 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:40.950 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:131, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:40.89 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:40.952 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=141] [neededSchemaVersion=142] ["start time"=495.501µs] [gotSchemaVersion=142] [phyTblIDs="[111]"] [actionTypes="[32]"] [diffTypes="[\"add primary key\"]"] [2024/05/06 09:31:40.954 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=131] [version=142] [2024/05/06 09:31:40.956 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=142] ["take time"=4.634058ms] [job="ID:131, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:40.89 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:40.958 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:131, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:40.89 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:40.971 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:131, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:40.89 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:40.971 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=131] [conn=3] [category=ddl] [job="ID:131, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:40.89 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:40.971 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=131] [table=t] ["ingest mode"=false] [index=PRIMARY] [2024/05/06 09:31:40.972 +00:00] [INFO] [reorg.go:718] ["job get table range"] [category=ddl] [jobID=131] [physicalTableID=111] [startKey=74800000000000006f5f728000000000000001] [endKey=74800000000000006f5f72800000000000080100] [2024/05/06 09:31:40.975 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:131, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:40.89 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788312141824, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:40.976 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=131] [2024/05/06 09:31:40.977 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:131, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:40.89 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788312141824, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:40.986 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:131, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:40.89 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788312141824, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:40.986 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=131] [conn=3] [category=ddl] [job="ID:131, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:40.89 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788312141824, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:40.986 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=131] [table=t] ["ingest mode"=false] [index=PRIMARY] [2024/05/06 09:31:40.989 +00:00] [INFO] [index.go:1931] ["start to add table index"] [category=ddl] [job="ID:131, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:40.89 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788312141824, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:11,StartKey:74800000000000006f5f728000000000000001,EndKey:74800000000000006f5f72800000000000080100,First:false,PhysicalTableID:111,Ingest mode:false"] [2024/05/06 09:31:40.990 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=111] ["start key"=74800000000000006f5f728000000000000001] ["end key"=74800000000000006f5f72800000000000080100] [2024/05/06 09:31:40.990 +00:00] [INFO] [backfilling.go:692] ["start backfill workers to reorg record"] [category=ddl] [type="add index"] [workerCnt=1] [regionCnt=1] [startKey=74800000000000006f5f728000000000000001] [endKey=74800000000000006f5f72800000000000080100] [2024/05/06 09:31:40.991 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=111] ["end key"=74800000000000006f5f72800000000000080100] ["current end key"=74800000000000006f5f72800000000000080100] [2024/05/06 09:31:41.001 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 09:31:41.001 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:131, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:40.89 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788312141824, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:41.002 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=131] [2024/05/06 09:31:41.003 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:131, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:40.89 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788312141824, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:41.013 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:131, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:40.89 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788312141824, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:41.013 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=131] [conn=3] [category=ddl] [job="ID:131, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:40.89 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788312141824, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:41.013 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=131] [table=t] ["ingest mode"=false] [index=PRIMARY] [2024/05/06 09:31:41.028 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 09:31:41.028 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:131, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:40.89 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788312141824, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:41.029 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=131] [2024/05/06 09:31:41.030 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:131, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:40.89 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788312141824, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:41.040 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:131, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:40.89 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788312141824, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:41.040 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=131] [conn=3] [category=ddl] [job="ID:131, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:40.89 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788312141824, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:41.041 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=131] [table=t] ["ingest mode"=false] [index=PRIMARY] [2024/05/06 09:31:41.053 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 09:31:41.053 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:131, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:40.89 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788312141824, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:41.054 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=131] [2024/05/06 09:31:41.055 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:131, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:40.89 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788312141824, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:41.066 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:131, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:40.89 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788312141824, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:41.066 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=131] [conn=3] [category=ddl] [job="ID:131, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:40.89 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788312141824, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:41.066 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=131] [table=t] ["ingest mode"=false] [index=PRIMARY] [2024/05/06 09:31:41.079 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 09:31:41.080 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:131, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:40.89 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788312141824, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:41.081 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=131] [2024/05/06 09:31:41.082 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:131, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 09:31:40.89 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788312141824, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:41.092 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:131, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:40.89 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788312141824, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:41.092 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=131] [conn=3] [category=ddl] [job="ID:131, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:40.89 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788312141824, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:41.093 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=131] [table=t] ["ingest mode"=false] [index=PRIMARY] [2024/05/06 09:31:41.158 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=192] [2024/05/06 09:31:41.158 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:131, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:192, ArgLen:7, start time: 2024-05-06 09:31:40.89 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788312141824, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:41.159 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=131] [2024/05/06 09:31:41.160 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:131, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:192, ArgLen:7, start time: 2024-05-06 09:31:40.89 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788312141824, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:41.169 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:131, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:192, ArgLen:0, start time: 2024-05-06 09:31:40.89 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788312141824, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:41.169 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=131] [conn=3] [category=ddl] [job="ID:131, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:192, ArgLen:0, start time: 2024-05-06 09:31:40.89 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788312141824, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:41.169 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=131] [table=t] ["ingest mode"=false] [index=PRIMARY] [2024/05/06 09:31:41.192 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp add index"] [task="taskID: 1, physicalTableID: 111, range: [74800000000000006f5f728000000000000001, 74800000000000006f5f72800000000000080100), jobID: 131"] ["added count"=2049] ["scan count"=2049] ["next key"=74800000000000006f5f72800000000000080100] ["take time"=100.866335ms] [2024/05/06 09:31:41.192 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp add index"] [jobID=131] [2024/05/06 09:31:41.192 +00:00] [INFO] [backfilling.go:632] ["backfill workers successfully processed"] [category=ddl] [element=ID:11,TypeKey:_idx_] ["total added count"=2049] ["start key"=74800000000000006f5f728000000000000001] [2024/05/06 09:31:41.234 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=1792] [2024/05/06 09:31:41.234 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:131, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:1792, ArgLen:7, start time: 2024-05-06 09:31:40.89 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788312141824, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:41.235 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=131] [2024/05/06 09:31:41.235 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:131, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:1792, ArgLen:7, start time: 2024-05-06 09:31:40.89 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788312141824, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:41.243 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:131, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:1792, ArgLen:0, start time: 2024-05-06 09:31:40.89 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788312141824, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:41.243 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=131] [conn=3] [category=ddl] [job="ID:131, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:1792, ArgLen:0, start time: 2024-05-06 09:31:40.89 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788312141824, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:41.244 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=131] [table=t] ["ingest mode"=false] [index=PRIMARY] [2024/05/06 09:31:41.246 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=2049] [2024/05/06 09:31:41.288 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:131, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:7, start time: 2024-05-06 09:31:40.89 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788312141824, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:41.299 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=142] [neededSchemaVersion=143] ["start time"=463.81µs] [gotSchemaVersion=143] [phyTblIDs="[111]"] [actionTypes="[32]"] [diffTypes="[\"add primary key\"]"] [2024/05/06 09:31:41.301 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=131] [version=143] [2024/05/06 09:31:41.303 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=143] ["take time"=4.214998ms] [job="ID:131, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:7, start time: 2024-05-06 09:31:40.89 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788312141824, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:41.304 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:131, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:7, start time: 2024-05-06 09:31:40.89 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788312141824, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:41.311 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:131, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:40.89 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788312141824, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:41.311 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=131] [conn=3] [category=ddl] [job="ID:131, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:40.89 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788312141824, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:41.311 +00:00] [INFO] [index.go:880] ["index backfill state ready to merge"] [category=ddl] ["job ID"=131] [table=t] [index=PRIMARY] [2024/05/06 09:31:41.312 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:131, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:7, start time: 2024-05-06 09:31:40.89 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:41.314 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=143] [neededSchemaVersion=144] ["start time"=394.185µs] [gotSchemaVersion=144] [phyTblIDs="[111]"] [actionTypes="[32]"] [diffTypes="[\"add primary key\"]"] [2024/05/06 09:31:41.316 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=131] [version=144] [2024/05/06 09:31:41.318 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=144] ["take time"=4.846881ms] [job="ID:131, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:7, start time: 2024-05-06 09:31:40.89 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:41.319 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:131, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:7, start time: 2024-05-06 09:31:40.89 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:41.326 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:131, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:40.89 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:41.326 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=131] [conn=3] [category=ddl] [job="ID:131, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:40.89 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:41.327 +00:00] [INFO] [reorg.go:718] ["job get table range"] [category=ddl] [jobID=131] [physicalTableID=111] [startKey=74800000000000006f5f69ffff00000000000b] [endKey=74800000000000006f5f69ffff00000000000bff] [2024/05/06 09:31:41.330 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:131, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:7, start time: 2024-05-06 09:31:40.89 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788405465088, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:41.331 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=131] [2024/05/06 09:31:41.331 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:131, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:7, start time: 2024-05-06 09:31:40.89 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788405465088, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:41.338 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:131, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:40.89 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788405465088, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:41.338 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=131] [conn=3] [category=ddl] [job="ID:131, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:40.89 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788405465088, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:41.341 +00:00] [INFO] [index.go:1928] ["start to merge temp index"] [category=ddl] [job="ID:131, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:7, start time: 2024-05-06 09:31:40.89 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788405465088, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:11,StartKey:74800000000000006f5f69ffff00000000000b,EndKey:74800000000000006f5f69ffff00000000000bff,First:false,PhysicalTableID:111,Ingest mode:false"] [2024/05/06 09:31:41.341 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=111] ["start key"=74800000000000006f5f69ffff00000000000b] ["end key"=74800000000000006f5f69ffff00000000000bff] [2024/05/06 09:31:41.342 +00:00] [INFO] [backfilling.go:692] ["start backfill workers to reorg record"] [category=ddl] [type="merge temporary index"] [workerCnt=1] [regionCnt=1] [startKey=74800000000000006f5f69ffff00000000000b] [endKey=74800000000000006f5f69ffff00000000000bff] [2024/05/06 09:31:41.342 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=111] ["end key"=74800000000000006f5f69ffff00000000000bff] ["current end key"=74800000000000006f5f69ffff00000000000b00] [2024/05/06 09:31:41.411 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=2049] [2024/05/06 09:31:41.411 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:131, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:7, start time: 2024-05-06 09:31:40.89 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788405465088, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:41.412 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=131] [2024/05/06 09:31:41.412 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:131, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:7, start time: 2024-05-06 09:31:40.89 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788405465088, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:41.419 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:131, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:40.89 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788405465088, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:41.419 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=131] [conn=3] [category=ddl] [job="ID:131, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:40.89 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788405465088, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:41.445 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [task="taskID: 1, physicalTableID: 111, range: [74800000000000006f5f69ffff00000000000b, 74800000000000006f5f69ffff00000000000b00), jobID: 131"] ["added count"=0] ["scan count"=0] ["next key"=74800000000000006f5f69ffff00000000000b0000] ["take time"=239.111µs] [2024/05/06 09:31:41.445 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [jobID=131] [2024/05/06 09:31:41.446 +00:00] [INFO] [backfilling.go:632] ["backfill workers successfully processed"] [category=ddl] [element=ID:11,TypeKey:_idx_] ["total added count"=2049] ["start key"=74800000000000006f5f69ffff00000000000b] [2024/05/06 09:31:41.469 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=2049] [2024/05/06 09:31:41.469 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:131, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:7, start time: 2024-05-06 09:31:40.89 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788405465088, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:41.469 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=131] [2024/05/06 09:31:41.470 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:131, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:7, start time: 2024-05-06 09:31:40.89 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788405465088, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:41.477 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:131, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:40.89 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788405465088, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:41.477 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=131] [conn=3] [category=ddl] [job="ID:131, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:40.89 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788405465088, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:41.479 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=2049] [2024/05/06 09:31:41.512 +00:00] [INFO] [index.go:781] ["run add index job done"] [category=ddl] [charset=] [collation=] [2024/05/06 09:31:41.512 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:131, Type:add primary key, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 09:31:40.89 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788405465088, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:41.515 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=144] [neededSchemaVersion=145] ["start time"=405.217µs] [gotSchemaVersion=145] [phyTblIDs="[111]"] [actionTypes="[32]"] [diffTypes="[\"add primary key\"]"] [2024/05/06 09:31:41.516 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=131] [version=145] [2024/05/06 09:31:41.516 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=145] ["take time"=2.061777ms] [job="ID:131, Type:add primary key, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 09:31:40.89 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788405465088, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:41.517 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:131, Type:add primary key, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 09:31:40.89 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788405465088, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:41.523 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=131] [tableID=111] [indexIDs="[9223090561878065163]"] [comment="add index: physical table ID(s)"] [2024/05/06 09:31:41.524 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=131] [jobType="add primary key"] [2024/05/06 09:31:41.525 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=131] [conn=3] [job="ID:131, Type:add primary key, State:synced, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 09:31:40.89 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788405465088, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:41.527 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=131] [elementID=1] [startKey=74800000000000006f5f69ffff00000000000b] [endKey=74800000000000006f5f69ffff00000000000c] [2024/05/06 09:31:41.528 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:131, Type:add primary key, State:synced, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 09:31:40.89 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788405465088, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:41.531 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=131] [2024/05/06 09:31:41.531 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:31:41.532 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=145] [cur_db=test] [sql="alter table t drop primary key"] [user=] [2024/05/06 09:31:41.534 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:132, Type:drop primary key, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:41.533 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:31:41.534 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:132, Type:drop primary key, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:41.533 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t drop primary key"] [2024/05/06 09:31:41.540 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:132, Type:drop primary key, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:41.533 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:41.541 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=132] [conn=3] [category=ddl] [job="ID:132, Type:drop primary key, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:41.533 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:41.541 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:132, Type:drop primary key, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:41.533 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:41.543 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=145] [neededSchemaVersion=146] ["start time"=282.607µs] [gotSchemaVersion=146] [phyTblIDs="[111]"] [actionTypes="[33]"] [diffTypes="[\"drop primary key\"]"] [2024/05/06 09:31:41.544 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=132] [version=146] [2024/05/06 09:31:41.546 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=146] ["take time"=3.0651ms] [job="ID:132, Type:drop primary key, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:41.533 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:41.546 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:132, Type:drop primary key, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:41.533 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:41.549 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:132, Type:drop primary key, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:41.533 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:41.549 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=132] [conn=3] [category=ddl] [job="ID:132, Type:drop primary key, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:41.533 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:41.550 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:132, Type:drop primary key, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:41.533 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:41.551 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=146] [neededSchemaVersion=147] ["start time"=276.081µs] [gotSchemaVersion=147] [phyTblIDs="[111]"] [actionTypes="[33]"] [diffTypes="[\"drop primary key\"]"] [2024/05/06 09:31:41.552 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=132] [version=147] [2024/05/06 09:31:41.553 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=147] ["take time"=2.305338ms] [job="ID:132, Type:drop primary key, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:41.533 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:41.554 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:132, Type:drop primary key, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:41.533 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:41.559 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:132, Type:drop primary key, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:41.533 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:41.559 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=132] [conn=3] [category=ddl] [job="ID:132, Type:drop primary key, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:41.533 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:41.560 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:132, Type:drop primary key, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:41.533 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:41.561 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=147] [neededSchemaVersion=148] ["start time"=283.425µs] [gotSchemaVersion=148] [phyTblIDs="[111]"] [actionTypes="[33]"] [diffTypes="[\"drop primary key\"]"] [2024/05/06 09:31:41.563 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=132] [version=148] [2024/05/06 09:31:41.565 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=148] ["take time"=4.148935ms] [job="ID:132, Type:drop primary key, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:41.533 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:41.566 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:132, Type:drop primary key, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:41.533 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:41.570 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:132, Type:drop primary key, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:41.533 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:41.570 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=132] [conn=3] [category=ddl] [job="ID:132, Type:drop primary key, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:41.533 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:41.570 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:132, Type:drop primary key, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:41.533 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:41.573 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=148] [neededSchemaVersion=149] ["start time"=326.487µs] [gotSchemaVersion=149] [phyTblIDs="[111]"] [actionTypes="[33]"] [diffTypes="[\"drop primary key\"]"] [2024/05/06 09:31:41.574 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=132] [version=149] [2024/05/06 09:31:41.575 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=149] ["take time"=2.427128ms] [job="ID:132, Type:drop primary key, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:41.533 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:41.575 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:132, Type:drop primary key, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:41.533 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:41.579 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=132] [tableID=111] [indexIDs="[11]"] [comment="drop index: table ID"] [2024/05/06 09:31:41.580 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=132] [jobType="drop primary key"] [2024/05/06 09:31:41.580 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=132] [conn=3] [job="ID:132, Type:drop primary key, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:41.533 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:41.583 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:132, Type:drop primary key, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:41.533 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:41.585 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=132] [2024/05/06 09:31:41.585 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:31:41.585 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=149] [cur_db=test] [sql="alter table t add unique index idx_uc2 (c2)"] [user=] [2024/05/06 09:31:41.588 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:133, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:41.587 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 09:31:41.588 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:133, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:41.587 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add unique index idx_uc2 (c2)"] [2024/05/06 09:31:41.594 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=132] [elementID=1] [startKey=74800000000000006f5f69800000000000000b] [endKey=74800000000000006f5f69800000000000000c] [2024/05/06 09:31:41.596 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:133, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:41.587 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:41.599 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=133] [conn=3] [category=ddl] [job="ID:133, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:41.587 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:41.599 +00:00] [INFO] [index.go:654] ["run add index job"] [category=ddl] [job="ID:133, Type:add index, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:41.587 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [indexInfo="{\"id\":12,\"idx_name\":{\"O\":\"idx_uc2\",\"L\":\"idx_uc2\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"c2\",\"L\":\"c2\"},\"offset\":1,\"length\":-1}],\"state\":0,\"backfill_state\":0,\"comment\":\"\",\"index_type\":1,\"is_unique\":true,\"is_primary\":false,\"is_invisible\":false,\"is_global\":false,\"mv_index\":false}"] [2024/05/06 09:31:41.599 +00:00] [INFO] [index.go:817] ["fallback to txn-merge backfill process"] [category=ddl] ["lightning env initialized"=false] [2024/05/06 09:31:41.599 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:133, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:41.587 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:41.601 +00:00] [WARN] [session.go:813] ["can not retry txn"] [label=internal] [error="[kv:9007]Write conflict, txnStartTS=449573788475981826, conflictStartTS=449573788476243968, conflictCommitTS=449573788476506112, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=133}, originalKey=748000fffffffffffe5f728000000000000085, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [IsBatchInsert=false] [IsPessimistic=false] [InRestrictedSQL=true] [tidb_retry_limit=10] [tidb_disable_txn_auto_retry=true] [2024/05/06 09:31:41.601 +00:00] [WARN] [session.go:829] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[kv:9007]Write conflict, txnStartTS=449573788475981826, conflictStartTS=449573788476243968, conflictCommitTS=449573788476506112, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=133}, originalKey=748000fffffffffffe5f728000000000000085, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [2024/05/06 09:31:41.601 +00:00] [INFO] [job_table.go:465] ["handle ddl job failed"] [worker="worker 9, tp add index"] [category=ddl] [error="[kv:9007]Write conflict, txnStartTS=449573788475981826, conflictStartTS=449573788476243968, conflictCommitTS=449573788476506112, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=133}, originalKey=748000fffffffffffe5f728000000000000085, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [job="ID:133, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:41.587 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:41.608 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:133, Type:add index, State:cancelling, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:41.587 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:41.608 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=133] [conn=3] [category=ddl] [job="ID:133, Type:add index, State:cancelling, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:41.587 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:41.608 +00:00] [INFO] [rollingback.go:559] ["the DDL job is cancelled normally"] [worker="worker 7, tp add index"] [category=ddl] [jobID=133] [conn=3] [job="ID:133, Type:add index, State:cancelled, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:41.587 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [error="[ddl:8214]Cancelled DDL job"] [2024/05/06 09:31:41.608 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:133, Type:add index, State:cancelled, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:41.587 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:41.609 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=133] [conn=3] [job="ID:133, Type:add index, State:cancelled, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:41.587 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:41.612 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=133] [2024/05/06 09:31:41.612 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 09:31:41.612 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:133, Type:add index, State:cancelled, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:41.587 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:41.612 +00:00] [WARN] [session.go:2153] ["run statement failed"] [schemaVersion=149] [error="[ddl:8214]Cancelled DDL job"] [errorVerbose="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).DoDDLJob\n\tpkg/ddl/ddl.go:1293\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).createIndex\n\tpkg/ddl/ddl_api.go:7732\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AlterTable\n\tpkg/ddl/ddl_api.go:3938\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeAlterTable\n\tpkg/executor/ddl.go:388\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:152\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1211\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:960\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:794\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:559\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2280\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:469\ngithub.com/pingcap/tidb/pkg/ddl_test.TestCancel\n\tpkg/ddl/cancel_test.go:289\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 3,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 09:31:41.612 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=149] [cur_db=test] [sql="alter table t add unique index idx_uc2 (c2)"] [user=] [2024/05/06 09:31:41.615 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:134, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:41.614 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 09:31:41.615 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:134, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:41.614 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add unique index idx_uc2 (c2)"] [2024/05/06 09:31:41.622 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:134, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:41.614 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:41.622 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=134] [conn=3] [category=ddl] [job="ID:134, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:41.614 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:41.623 +00:00] [INFO] [index.go:654] ["run add index job"] [category=ddl] [job="ID:134, Type:add index, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:41.614 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [indexInfo="{\"id\":12,\"idx_name\":{\"O\":\"idx_uc2\",\"L\":\"idx_uc2\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"c2\",\"L\":\"c2\"},\"offset\":1,\"length\":-1}],\"state\":0,\"backfill_state\":0,\"comment\":\"\",\"index_type\":1,\"is_unique\":true,\"is_primary\":false,\"is_invisible\":false,\"is_global\":false,\"mv_index\":false}"] [2024/05/06 09:31:41.623 +00:00] [INFO] [index.go:817] ["fallback to txn-merge backfill process"] [category=ddl] ["lightning env initialized"=false] [2024/05/06 09:31:41.623 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:134, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:41.614 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:41.625 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=149] [neededSchemaVersion=151] ["start time"=509.703µs] [gotSchemaVersion=151] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 09:31:41.627 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=134] [version=151] [2024/05/06 09:31:41.629 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=151] ["take time"=4.038161ms] [job="ID:134, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:41.614 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:41.630 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:134, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:41.614 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:41.636 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:134, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:41.614 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:41.638 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=134] [conn=3] [category=ddl] [job="ID:134, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:41.614 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:41.639 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:134, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:41.614 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:41.640 +00:00] [WARN] [session.go:813] ["can not retry txn"] [label=internal] [error="[kv:9007]Write conflict, txnStartTS=449573788486467584, conflictStartTS=449573788486467585, conflictCommitTS=449573788486991872, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=134}, originalKey=748000fffffffffffe5f728000000000000086, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [IsBatchInsert=false] [IsPessimistic=false] [InRestrictedSQL=true] [tidb_retry_limit=10] [tidb_disable_txn_auto_retry=true] [2024/05/06 09:31:41.640 +00:00] [WARN] [session.go:829] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[kv:9007]Write conflict, txnStartTS=449573788486467584, conflictStartTS=449573788486467585, conflictCommitTS=449573788486991872, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=134}, originalKey=748000fffffffffffe5f728000000000000086, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [2024/05/06 09:31:41.640 +00:00] [INFO] [job_table.go:465] ["handle ddl job failed"] [worker="worker 9, tp add index"] [category=ddl] [error="[kv:9007]Write conflict, txnStartTS=449573788486467584, conflictStartTS=449573788486467585, conflictCommitTS=449573788486991872, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=134}, originalKey=748000fffffffffffe5f728000000000000086, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [job="ID:134, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:41.614 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:41.647 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:134, Type:add index, State:cancelling, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:41.614 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:41.647 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=134] [conn=3] [category=ddl] [job="ID:134, Type:add index, State:cancelling, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:41.614 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:41.647 +00:00] [INFO] [rollingback.go:559] ["the DDL job is cancelled normally"] [worker="worker 10, tp add index"] [category=ddl] [jobID=134] [conn=3] [job="ID:134, Type:add index, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:41.614 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [error="[ddl:8214]Cancelled DDL job"] [errorVerbose="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.completeErr\n\tpkg/ddl/index_cop.go:319\ngithub.com/pingcap/tidb/pkg/ddl.convertAddIdxJob2RollbackJob\n\tpkg/ddl/rollingback.go:93\ngithub.com/pingcap/tidb/pkg/ddl.convertNotReorgAddIdxJob2RollbackJob\n\tpkg/ddl/rollingback.go:139\ngithub.com/pingcap/tidb/pkg/ddl.rollingbackAddIndex\n\tpkg/ddl/rollingback.go:270\ngithub.com/pingcap/tidb/pkg/ddl.convertJob2RollbackJob\n\tpkg/ddl/rollingback.go:480\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).runDDLJob\n\tpkg/ddl/ddl_worker.go:1202\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).HandleDDLJobTable\n\tpkg/ddl/ddl_worker.go:946\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2Worker.func1\n\tpkg/ddl/job_table.go:461\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:157\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [2024/05/06 09:31:41.647 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:134, Type:add index, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:41.614 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:41.648 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=134] [2024/05/06 09:31:41.649 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:134, Type:add index, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:41.614 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:41.654 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:134, Type:add index, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:41.614 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:41.654 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=134] [conn=3] [category=ddl] [job="ID:134, Type:add index, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:41.614 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:41.655 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:134, Type:add index, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:41.614 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:41.656 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=151] [neededSchemaVersion=153] ["start time"=378.459µs] [gotSchemaVersion=153] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 09:31:41.658 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=134] [version=153] [2024/05/06 09:31:41.659 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=153] ["take time"=2.994591ms] [job="ID:134, Type:add index, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:41.614 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:41.660 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:134, Type:add index, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:41.614 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:41.669 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:134, Type:add index, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:41.614 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:41.669 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=134] [conn=3] [category=ddl] [job="ID:134, Type:add index, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:41.614 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:41.670 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:134, Type:add index, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:41.614 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:41.672 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=153] [neededSchemaVersion=154] ["start time"=386.719µs] [gotSchemaVersion=154] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 09:31:41.674 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=134] [version=154] [2024/05/06 09:31:41.677 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=154] ["take time"=4.583594ms] [job="ID:134, Type:add index, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:41.614 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:41.678 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:134, Type:add index, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:41.614 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:41.686 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=134] [tableID=111] [indexIDs="[12,9223090561878065164]"] [comment="add index: physical table ID(s)"] [2024/05/06 09:31:41.688 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=134] [jobType="add index"] [2024/05/06 09:31:41.688 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=134] [conn=3] [job="ID:134, Type:add index, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:41.614 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:41.691 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=134] [2024/05/06 09:31:41.691 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:134, Type:add index, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:41.614 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:41.692 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=134] [elementID=1] [startKey=74800000000000006f5f69800000000000000c] [endKey=74800000000000006f5f69800000000000000d] [2024/05/06 09:31:41.694 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=134] [2024/05/06 09:31:41.694 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 09:31:41.694 +00:00] [WARN] [session.go:2153] ["run statement failed"] [schemaVersion=149] [error="[ddl:8214]Cancelled DDL job"] [errorVerbose="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).DoDDLJob\n\tpkg/ddl/ddl.go:1293\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).createIndex\n\tpkg/ddl/ddl_api.go:7732\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AlterTable\n\tpkg/ddl/ddl_api.go:3938\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeAlterTable\n\tpkg/executor/ddl.go:388\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:152\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1211\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:960\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:794\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:559\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2280\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:469\ngithub.com/pingcap/tidb/pkg/ddl_test.TestCancel\n\tpkg/ddl/cancel_test.go:289\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 3,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 09:31:41.695 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=154] [cur_db=test] [sql="alter table t add unique index idx_uc2 (c2)"] [user=] [2024/05/06 09:31:41.697 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=134] [elementID=2] [startKey=74800000000000006f5f69ffff00000000000c] [endKey=74800000000000006f5f69ffff00000000000d] [2024/05/06 09:31:41.698 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:135, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:41.696 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 09:31:41.698 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:135, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:41.696 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add unique index idx_uc2 (c2)"] [2024/05/06 09:31:41.709 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:135, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:41.696 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:41.709 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=135] [conn=3] [category=ddl] [job="ID:135, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:41.696 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:41.709 +00:00] [INFO] [index.go:654] ["run add index job"] [category=ddl] [job="ID:135, Type:add index, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:41.696 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [indexInfo="{\"id\":13,\"idx_name\":{\"O\":\"idx_uc2\",\"L\":\"idx_uc2\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"c2\",\"L\":\"c2\"},\"offset\":1,\"length\":-1}],\"state\":0,\"backfill_state\":0,\"comment\":\"\",\"index_type\":1,\"is_unique\":true,\"is_primary\":false,\"is_invisible\":false,\"is_global\":false,\"mv_index\":false}"] [2024/05/06 09:31:41.710 +00:00] [INFO] [index.go:817] ["fallback to txn-merge backfill process"] [category=ddl] ["lightning env initialized"=false] [2024/05/06 09:31:41.710 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:135, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:41.696 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:41.712 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=154] [neededSchemaVersion=155] ["start time"=462.331µs] [gotSchemaVersion=155] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 09:31:41.714 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=135] [version=155] [2024/05/06 09:31:41.714 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=155] ["take time"=2.563169ms] [job="ID:135, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:41.696 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:41.715 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:135, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:41.696 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:41.725 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:135, Type:add index, State:cancelling, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:41.696 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:41.725 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=135] [conn=3] [category=ddl] [job="ID:135, Type:add index, State:cancelling, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:41.696 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:41.726 +00:00] [INFO] [rollingback.go:559] ["the DDL job is cancelled normally"] [worker="worker 10, tp add index"] [category=ddl] [jobID=135] [conn=3] [job="ID:135, Type:add index, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:41.696 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [error="[ddl:8214]Cancelled DDL job"] [errorVerbose="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.completeErr\n\tpkg/ddl/index_cop.go:319\ngithub.com/pingcap/tidb/pkg/ddl.convertAddIdxJob2RollbackJob\n\tpkg/ddl/rollingback.go:93\ngithub.com/pingcap/tidb/pkg/ddl.convertNotReorgAddIdxJob2RollbackJob\n\tpkg/ddl/rollingback.go:139\ngithub.com/pingcap/tidb/pkg/ddl.rollingbackAddIndex\n\tpkg/ddl/rollingback.go:270\ngithub.com/pingcap/tidb/pkg/ddl.convertJob2RollbackJob\n\tpkg/ddl/rollingback.go:480\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).runDDLJob\n\tpkg/ddl/ddl_worker.go:1202\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).HandleDDLJobTable\n\tpkg/ddl/ddl_worker.go:946\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2Worker.func1\n\tpkg/ddl/job_table.go:461\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:157\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [2024/05/06 09:31:41.726 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:135, Type:add index, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:41.696 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:41.727 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=135] [2024/05/06 09:31:41.728 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:135, Type:add index, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:41.696 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:41.735 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:135, Type:add index, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:41.696 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:41.735 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=135] [conn=3] [category=ddl] [job="ID:135, Type:add index, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:41.696 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:41.735 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:135, Type:add index, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:41.696 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:41.738 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=155] [neededSchemaVersion=156] ["start time"=475.793µs] [gotSchemaVersion=156] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 09:31:41.739 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=135] [version=156] [2024/05/06 09:31:41.742 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=156] ["take time"=4.497401ms] [job="ID:135, Type:add index, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:41.696 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:41.743 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:135, Type:add index, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:41.696 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:41.750 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:135, Type:add index, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:41.696 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:41.750 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=135] [conn=3] [category=ddl] [job="ID:135, Type:add index, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:41.696 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:41.751 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:135, Type:add index, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:41.696 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:41.753 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=156] [neededSchemaVersion=157] ["start time"=458.765µs] [gotSchemaVersion=157] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 09:31:41.755 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=135] [version=157] [2024/05/06 09:31:41.758 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=157] ["take time"=5.684146ms] [job="ID:135, Type:add index, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:41.696 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:41.759 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:135, Type:add index, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:41.696 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:41.768 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=135] [tableID=111] [indexIDs="[13,9223090561878065165]"] [comment="add index: physical table ID(s)"] [2024/05/06 09:31:41.769 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=135] [jobType="add index"] [2024/05/06 09:31:41.769 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=135] [conn=3] [job="ID:135, Type:add index, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:41.696 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:41.772 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=135] [2024/05/06 09:31:41.773 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:135, Type:add index, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:41.696 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:41.777 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=135] [elementID=1] [startKey=74800000000000006f5f69800000000000000d] [endKey=74800000000000006f5f69800000000000000e] [2024/05/06 09:31:41.778 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=135] [2024/05/06 09:31:41.778 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 09:31:41.778 +00:00] [WARN] [session.go:2153] ["run statement failed"] [schemaVersion=154] [error="[ddl:8214]Cancelled DDL job"] [errorVerbose="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).DoDDLJob\n\tpkg/ddl/ddl.go:1293\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).createIndex\n\tpkg/ddl/ddl_api.go:7732\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AlterTable\n\tpkg/ddl/ddl_api.go:3938\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeAlterTable\n\tpkg/executor/ddl.go:388\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:152\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1211\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:960\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:794\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:559\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2280\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:469\ngithub.com/pingcap/tidb/pkg/ddl_test.TestCancel\n\tpkg/ddl/cancel_test.go:306\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 3,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 09:31:41.778 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=157] [cur_db=test] [sql="alter table t add unique index idx_uc2 (c2)"] [user=] [2024/05/06 09:31:41.779 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=135] [elementID=2] [startKey=74800000000000006f5f69ffff00000000000d] [endKey=74800000000000006f5f69ffff00000000000e] [2024/05/06 09:31:41.781 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:136, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:41.78 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 09:31:41.781 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:136, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:41.78 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add unique index idx_uc2 (c2)"] [2024/05/06 09:31:41.788 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:136, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:41.78 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:41.788 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=136] [conn=3] [category=ddl] [job="ID:136, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:41.78 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:41.788 +00:00] [INFO] [index.go:654] ["run add index job"] [category=ddl] [job="ID:136, Type:add index, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:41.78 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [indexInfo="{\"id\":14,\"idx_name\":{\"O\":\"idx_uc2\",\"L\":\"idx_uc2\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"c2\",\"L\":\"c2\"},\"offset\":1,\"length\":-1}],\"state\":0,\"backfill_state\":0,\"comment\":\"\",\"index_type\":1,\"is_unique\":true,\"is_primary\":false,\"is_invisible\":false,\"is_global\":false,\"mv_index\":false}"] [2024/05/06 09:31:41.788 +00:00] [INFO] [index.go:817] ["fallback to txn-merge backfill process"] [category=ddl] ["lightning env initialized"=false] [2024/05/06 09:31:41.789 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:136, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:41.78 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:41.792 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=157] [neededSchemaVersion=158] ["start time"=405.116µs] [gotSchemaVersion=158] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 09:31:41.793 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=136] [version=158] [2024/05/06 09:31:41.795 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=158] ["take time"=4.022978ms] [job="ID:136, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:41.78 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:41.796 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:136, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:41.78 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:41.804 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:136, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:41.78 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:41.804 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=136] [conn=3] [category=ddl] [job="ID:136, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:41.78 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:41.805 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:136, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:41.78 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:41.807 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=158] [neededSchemaVersion=159] ["start time"=462.899µs] [gotSchemaVersion=159] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 09:31:41.809 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=136] [version=159] [2024/05/06 09:31:41.811 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=159] ["take time"=4.544988ms] [job="ID:136, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:41.78 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:41.813 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:136, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:41.78 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:41.819 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:136, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:41.78 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:41.821 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=136] [conn=3] [category=ddl] [job="ID:136, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:41.78 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:41.822 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:136, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:41.78 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:41.824 +00:00] [WARN] [session.go:813] ["can not retry txn"] [label=internal] [error="[kv:9007]Write conflict, txnStartTS=449573788534439936, conflictStartTS=449573788534439937, conflictCommitTS=449573788534964224, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=136}, originalKey=748000fffffffffffe5f728000000000000088, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [IsBatchInsert=false] [IsPessimistic=false] [InRestrictedSQL=true] [tidb_retry_limit=10] [tidb_disable_txn_auto_retry=true] [2024/05/06 09:31:41.824 +00:00] [WARN] [session.go:829] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[kv:9007]Write conflict, txnStartTS=449573788534439936, conflictStartTS=449573788534439937, conflictCommitTS=449573788534964224, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=136}, originalKey=748000fffffffffffe5f728000000000000088, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [2024/05/06 09:31:41.824 +00:00] [INFO] [job_table.go:465] ["handle ddl job failed"] [worker="worker 10, tp add index"] [category=ddl] [error="[kv:9007]Write conflict, txnStartTS=449573788534439936, conflictStartTS=449573788534439937, conflictCommitTS=449573788534964224, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=136}, originalKey=748000fffffffffffe5f728000000000000088, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [job="ID:136, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:41.78 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:41.834 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:136, Type:add index, State:cancelling, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:41.78 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:41.834 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=136] [conn=3] [category=ddl] [job="ID:136, Type:add index, State:cancelling, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:41.78 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:41.835 +00:00] [INFO] [rollingback.go:559] ["the DDL job is cancelled normally"] [worker="worker 9, tp add index"] [category=ddl] [jobID=136] [conn=3] [job="ID:136, Type:add index, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:41.78 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [error="[ddl:8214]Cancelled DDL job"] [errorVerbose="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.completeErr\n\tpkg/ddl/index_cop.go:319\ngithub.com/pingcap/tidb/pkg/ddl.convertAddIdxJob2RollbackJob\n\tpkg/ddl/rollingback.go:93\ngithub.com/pingcap/tidb/pkg/ddl.convertNotReorgAddIdxJob2RollbackJob\n\tpkg/ddl/rollingback.go:139\ngithub.com/pingcap/tidb/pkg/ddl.rollingbackAddIndex\n\tpkg/ddl/rollingback.go:270\ngithub.com/pingcap/tidb/pkg/ddl.convertJob2RollbackJob\n\tpkg/ddl/rollingback.go:480\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).runDDLJob\n\tpkg/ddl/ddl_worker.go:1202\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).HandleDDLJobTable\n\tpkg/ddl/ddl_worker.go:946\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2Worker.func1\n\tpkg/ddl/job_table.go:461\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:157\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [2024/05/06 09:31:41.835 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:136, Type:add index, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:41.78 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:41.838 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=159] [neededSchemaVersion=161] ["start time"=482.84µs] [gotSchemaVersion=161] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 09:31:41.839 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=136] [version=161] [2024/05/06 09:31:41.841 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=161] ["take time"=4.445252ms] [job="ID:136, Type:add index, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:41.78 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:41.842 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:136, Type:add index, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:41.78 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:41.849 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:136, Type:add index, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:41.78 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:41.849 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=136] [conn=3] [category=ddl] [job="ID:136, Type:add index, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:41.78 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:41.850 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:136, Type:add index, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:41.78 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:41.852 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=161] [neededSchemaVersion=162] ["start time"=439.671µs] [gotSchemaVersion=162] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 09:31:41.854 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=136] [version=162] [2024/05/06 09:31:41.856 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=162] ["take time"=4.3412ms] [job="ID:136, Type:add index, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:41.78 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:41.857 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:136, Type:add index, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:41.78 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:41.865 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:136, Type:add index, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:41.78 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:41.865 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=136] [conn=3] [category=ddl] [job="ID:136, Type:add index, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:41.78 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:41.866 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:136, Type:add index, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:41.78 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:41.869 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=162] [neededSchemaVersion=163] ["start time"=407.188µs] [gotSchemaVersion=163] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 09:31:41.870 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=136] [version=163] [2024/05/06 09:31:41.870 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=163] ["take time"=2.013051ms] [job="ID:136, Type:add index, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:41.78 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:41.871 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:136, Type:add index, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:41.78 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:41.882 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=136] [tableID=111] [indexIDs="[14,9223090561878065166]"] [comment="add index: physical table ID(s)"] [2024/05/06 09:31:41.883 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=136] [jobType="add index"] [2024/05/06 09:31:41.884 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=136] [conn=3] [job="ID:136, Type:add index, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:41.78 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:41.887 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=136] [2024/05/06 09:31:41.887 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=136] [elementID=1] [startKey=74800000000000006f5f69800000000000000e] [endKey=74800000000000006f5f69800000000000000f] [2024/05/06 09:31:41.887 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:136, Type:add index, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:41.78 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:41.889 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=136] [elementID=2] [startKey=74800000000000006f5f69ffff00000000000e] [endKey=74800000000000006f5f69ffff00000000000f] [2024/05/06 09:31:41.890 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=136] [2024/05/06 09:31:41.890 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 09:31:41.890 +00:00] [WARN] [session.go:2153] ["run statement failed"] [schemaVersion=157] [error="[ddl:8214]Cancelled DDL job"] [errorVerbose="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).DoDDLJob\n\tpkg/ddl/ddl.go:1293\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).createIndex\n\tpkg/ddl/ddl_api.go:7732\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AlterTable\n\tpkg/ddl/ddl_api.go:3938\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeAlterTable\n\tpkg/executor/ddl.go:388\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:152\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1211\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:960\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:794\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:559\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2280\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:469\ngithub.com/pingcap/tidb/pkg/ddl_test.TestCancel\n\tpkg/ddl/cancel_test.go:289\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 3,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 09:31:41.891 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=163] [cur_db=test] [sql="alter table t add unique index idx_uc2 (c2)"] [user=] [2024/05/06 09:31:41.893 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:137, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:41.892 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 09:31:41.894 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:137, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:41.892 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add unique index idx_uc2 (c2)"] [2024/05/06 09:31:41.901 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:137, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:41.892 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:41.901 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=137] [conn=3] [category=ddl] [job="ID:137, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:41.892 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:41.902 +00:00] [INFO] [index.go:654] ["run add index job"] [category=ddl] [job="ID:137, Type:add index, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:41.892 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [indexInfo="{\"id\":15,\"idx_name\":{\"O\":\"idx_uc2\",\"L\":\"idx_uc2\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"c2\",\"L\":\"c2\"},\"offset\":1,\"length\":-1}],\"state\":0,\"backfill_state\":0,\"comment\":\"\",\"index_type\":1,\"is_unique\":true,\"is_primary\":false,\"is_invisible\":false,\"is_global\":false,\"mv_index\":false}"] [2024/05/06 09:31:41.902 +00:00] [INFO] [index.go:817] ["fallback to txn-merge backfill process"] [category=ddl] ["lightning env initialized"=false] [2024/05/06 09:31:41.902 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:137, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:41.892 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:41.904 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=163] [neededSchemaVersion=164] ["start time"=399.389µs] [gotSchemaVersion=164] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 09:31:41.906 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=137] [version=164] [2024/05/06 09:31:41.908 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=164] ["take time"=4.247675ms] [job="ID:137, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:41.892 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:41.909 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:137, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:41.892 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:41.916 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:137, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:41.892 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:41.916 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=137] [conn=3] [category=ddl] [job="ID:137, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:41.892 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:41.916 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:137, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:41.892 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:41.919 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=164] [neededSchemaVersion=165] ["start time"=527.741µs] [gotSchemaVersion=165] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 09:31:41.920 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=137] [version=165] [2024/05/06 09:31:41.923 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=165] ["take time"=4.938877ms] [job="ID:137, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:41.892 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:41.924 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:137, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:41.892 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:41.931 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:137, Type:add index, State:cancelling, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:41.892 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:41.931 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=137] [conn=3] [category=ddl] [job="ID:137, Type:add index, State:cancelling, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:41.892 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:41.932 +00:00] [INFO] [rollingback.go:559] ["the DDL job is cancelled normally"] [worker="worker 7, tp add index"] [category=ddl] [jobID=137] [conn=3] [job="ID:137, Type:add index, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:41.892 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [error="[ddl:8214]Cancelled DDL job"] [errorVerbose="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.completeErr\n\tpkg/ddl/index_cop.go:319\ngithub.com/pingcap/tidb/pkg/ddl.convertAddIdxJob2RollbackJob\n\tpkg/ddl/rollingback.go:93\ngithub.com/pingcap/tidb/pkg/ddl.convertNotReorgAddIdxJob2RollbackJob\n\tpkg/ddl/rollingback.go:139\ngithub.com/pingcap/tidb/pkg/ddl.rollingbackAddIndex\n\tpkg/ddl/rollingback.go:270\ngithub.com/pingcap/tidb/pkg/ddl.convertJob2RollbackJob\n\tpkg/ddl/rollingback.go:480\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).runDDLJob\n\tpkg/ddl/ddl_worker.go:1202\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).HandleDDLJobTable\n\tpkg/ddl/ddl_worker.go:946\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2Worker.func1\n\tpkg/ddl/job_table.go:461\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:157\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [2024/05/06 09:31:41.932 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:137, Type:add index, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:41.892 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:41.934 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=165] [neededSchemaVersion=166] ["start time"=359.461µs] [gotSchemaVersion=166] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 09:31:41.935 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=137] [version=166] [2024/05/06 09:31:41.938 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=166] ["take time"=4.332797ms] [job="ID:137, Type:add index, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:41.892 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:41.939 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:137, Type:add index, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:41.892 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:41.944 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:137, Type:add index, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:41.892 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:41.944 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=137] [conn=3] [category=ddl] [job="ID:137, Type:add index, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:41.892 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:41.945 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:137, Type:add index, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:41.892 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:41.946 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=166] [neededSchemaVersion=167] ["start time"=339.811µs] [gotSchemaVersion=167] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 09:31:41.948 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=137] [version=167] [2024/05/06 09:31:41.948 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=167] ["take time"=2.054601ms] [job="ID:137, Type:add index, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:41.892 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:41.949 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:137, Type:add index, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:41.892 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:41.955 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:137, Type:add index, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:41.892 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:41.955 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=137] [conn=3] [category=ddl] [job="ID:137, Type:add index, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:41.892 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:41.956 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:137, Type:add index, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:41.892 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:41.958 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=167] [neededSchemaVersion=168] ["start time"=356.145µs] [gotSchemaVersion=168] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 09:31:41.959 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=137] [version=168] [2024/05/06 09:31:41.961 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=168] ["take time"=2.958334ms] [job="ID:137, Type:add index, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:41.892 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:41.962 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:137, Type:add index, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:41.892 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:41.969 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=137] [tableID=111] [indexIDs="[15,9223090561878065167]"] [comment="add index: physical table ID(s)"] [2024/05/06 09:31:41.970 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=137] [jobType="add index"] [2024/05/06 09:31:41.970 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=137] [conn=3] [job="ID:137, Type:add index, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:41.892 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:41.973 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=137] [2024/05/06 09:31:41.974 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:137, Type:add index, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:41.892 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:41.974 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=137] [elementID=1] [startKey=74800000000000006f5f69800000000000000f] [endKey=74800000000000006f5f698000000000000010] [2024/05/06 09:31:41.975 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=137] [elementID=2] [startKey=74800000000000006f5f69ffff00000000000f] [endKey=74800000000000006f5f69ffff000000000010] [2024/05/06 09:31:41.976 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=137] [2024/05/06 09:31:41.976 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 09:31:41.976 +00:00] [WARN] [session.go:2153] ["run statement failed"] [schemaVersion=163] [error="[ddl:8214]Cancelled DDL job"] [errorVerbose="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).DoDDLJob\n\tpkg/ddl/ddl.go:1293\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).createIndex\n\tpkg/ddl/ddl_api.go:7732\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AlterTable\n\tpkg/ddl/ddl_api.go:3938\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeAlterTable\n\tpkg/executor/ddl.go:388\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:152\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1211\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:960\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:794\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:559\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2280\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:469\ngithub.com/pingcap/tidb/pkg/ddl_test.TestCancel\n\tpkg/ddl/cancel_test.go:306\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 3,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 09:31:41.977 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=168] [cur_db=test] [sql="alter table t add unique index idx_uc2 (c2)"] [user=] [2024/05/06 09:31:41.979 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:138, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:41.978 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 09:31:41.979 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:138, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:41.978 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add unique index idx_uc2 (c2)"] [2024/05/06 09:31:41.989 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:138, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:41.978 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:41.989 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=138] [conn=3] [category=ddl] [job="ID:138, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:41.978 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:41.989 +00:00] [INFO] [index.go:654] ["run add index job"] [category=ddl] [job="ID:138, Type:add index, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:41.978 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [indexInfo="{\"id\":16,\"idx_name\":{\"O\":\"idx_uc2\",\"L\":\"idx_uc2\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"c2\",\"L\":\"c2\"},\"offset\":1,\"length\":-1}],\"state\":0,\"backfill_state\":0,\"comment\":\"\",\"index_type\":1,\"is_unique\":true,\"is_primary\":false,\"is_invisible\":false,\"is_global\":false,\"mv_index\":false}"] [2024/05/06 09:31:41.989 +00:00] [INFO] [index.go:817] ["fallback to txn-merge backfill process"] [category=ddl] ["lightning env initialized"=false] [2024/05/06 09:31:41.990 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:138, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:41.978 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:41.992 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=168] [neededSchemaVersion=169] ["start time"=424.703µs] [gotSchemaVersion=169] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 09:31:41.994 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=138] [version=169] [2024/05/06 09:31:41.996 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=169] ["take time"=4.402702ms] [job="ID:138, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:41.978 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:41.997 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:138, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:41.978 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.006 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:138, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:41.978 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.006 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=138] [conn=3] [category=ddl] [job="ID:138, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:41.978 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.007 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:138, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:41.978 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.009 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=169] [neededSchemaVersion=170] ["start time"=533.495µs] [gotSchemaVersion=170] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 09:31:42.011 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=138] [version=170] [2024/05/06 09:31:42.013 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=170] ["take time"=4.337136ms] [job="ID:138, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:41.978 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.014 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:138, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:41.978 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.019 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:138, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:41.978 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.019 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=138] [conn=3] [category=ddl] [job="ID:138, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:41.978 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.020 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:138, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:41.978 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.022 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=170] [neededSchemaVersion=171] ["start time"=452.889µs] [gotSchemaVersion=171] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 09:31:42.023 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=138] [version=171] [2024/05/06 09:31:42.025 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=171] ["take time"=4.136426ms] [job="ID:138, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:41.978 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.026 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:138, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:41.978 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.033 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:138, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:41.978 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.036 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=138] [conn=3] [category=ddl] [job="ID:138, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:41.978 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.036 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=138] [table=t] ["ingest mode"=false] [index=idx_uc2] [2024/05/06 09:31:42.037 +00:00] [INFO] [reorg.go:718] ["job get table range"] [category=ddl] [jobID=138] [physicalTableID=111] [startKey=74800000000000006f5f728000000000000001] [endKey=74800000000000006f5f72800000000000080100] [2024/05/06 09:31:42.039 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:138, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:41.978 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788591325184, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.040 +00:00] [WARN] [session.go:813] ["can not retry txn"] [label=internal] [error="[kv:9007]Write conflict, txnStartTS=449573788590538752, conflictStartTS=449573788590800896, conflictCommitTS=449573788591063040, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=138}, originalKey=748000fffffffffffe5f72800000000000008a, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [IsBatchInsert=false] [IsPessimistic=false] [InRestrictedSQL=true] [tidb_retry_limit=10] [tidb_disable_txn_auto_retry=true] [2024/05/06 09:31:42.040 +00:00] [WARN] [session.go:829] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[kv:9007]Write conflict, txnStartTS=449573788590538752, conflictStartTS=449573788590800896, conflictCommitTS=449573788591063040, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=138}, originalKey=748000fffffffffffe5f72800000000000008a, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [2024/05/06 09:31:42.040 +00:00] [INFO] [job_table.go:465] ["handle ddl job failed"] [worker="worker 8, tp add index"] [category=ddl] [error="[kv:9007]Write conflict, txnStartTS=449573788590538752, conflictStartTS=449573788590800896, conflictCommitTS=449573788591063040, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=138}, originalKey=748000fffffffffffe5f72800000000000008a, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [job="ID:138, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:41.978 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788591325184, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.048 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:138, Type:add index, State:cancelling, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:41.978 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.048 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=138] [conn=3] [category=ddl] [job="ID:138, Type:add index, State:cancelling, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:41.978 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.049 +00:00] [INFO] [rollingback.go:559] ["the DDL job is cancelled normally"] [worker="worker 9, tp add index"] [category=ddl] [jobID=138] [conn=3] [job="ID:138, Type:add index, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:41.978 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [error="[ddl:8214]Cancelled DDL job"] [errorVerbose="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.completeErr\n\tpkg/ddl/index_cop.go:319\ngithub.com/pingcap/tidb/pkg/ddl.convertAddIdxJob2RollbackJob\n\tpkg/ddl/rollingback.go:93\ngithub.com/pingcap/tidb/pkg/ddl.convertNotReorgAddIdxJob2RollbackJob\n\tpkg/ddl/rollingback.go:139\ngithub.com/pingcap/tidb/pkg/ddl.rollingbackAddIndex\n\tpkg/ddl/rollingback.go:270\ngithub.com/pingcap/tidb/pkg/ddl.convertJob2RollbackJob\n\tpkg/ddl/rollingback.go:480\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).runDDLJob\n\tpkg/ddl/ddl_worker.go:1202\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).HandleDDLJobTable\n\tpkg/ddl/ddl_worker.go:946\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2Worker.func1\n\tpkg/ddl/job_table.go:461\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:157\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [2024/05/06 09:31:42.049 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:138, Type:add index, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:41.978 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.051 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=171] [neededSchemaVersion=172] ["start time"=409.286µs] [gotSchemaVersion=172] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 09:31:42.053 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=138] [version=172] [2024/05/06 09:31:42.055 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=172] ["take time"=4.137974ms] [job="ID:138, Type:add index, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:41.978 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.056 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:138, Type:add index, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:41.978 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.063 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:138, Type:add index, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:41.978 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.063 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=138] [conn=3] [category=ddl] [job="ID:138, Type:add index, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:41.978 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.064 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:138, Type:add index, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:41.978 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.067 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=172] [neededSchemaVersion=173] ["start time"=502.441µs] [gotSchemaVersion=173] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 09:31:42.069 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=138] [version=173] [2024/05/06 09:31:42.070 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=173] ["take time"=4.012418ms] [job="ID:138, Type:add index, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:41.978 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.071 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:138, Type:add index, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:41.978 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.080 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:138, Type:add index, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:41.978 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.080 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=138] [conn=3] [category=ddl] [job="ID:138, Type:add index, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:41.978 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.080 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:138, Type:add index, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:41.978 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.083 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=173] [neededSchemaVersion=174] ["start time"=311.309µs] [gotSchemaVersion=174] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 09:31:42.084 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=138] [version=174] [2024/05/06 09:31:42.085 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=174] ["take time"=2.65412ms] [job="ID:138, Type:add index, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:41.978 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.086 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:138, Type:add index, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:41.978 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.095 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=138] [tableID=111] [indexIDs="[16,9223090561878065168]"] [comment="add index: physical table ID(s)"] [2024/05/06 09:31:42.096 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=138] [jobType="add index"] [2024/05/06 09:31:42.097 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=138] [conn=3] [job="ID:138, Type:add index, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:41.978 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.100 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=138] [elementID=1] [startKey=74800000000000006f5f698000000000000010] [endKey=74800000000000006f5f698000000000000011] [2024/05/06 09:31:42.100 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=138] [2024/05/06 09:31:42.101 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:138, Type:add index, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:41.978 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.102 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=138] [elementID=2] [startKey=74800000000000006f5f69ffff000000000010] [endKey=74800000000000006f5f69ffff000000000011] [2024/05/06 09:31:42.103 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=138] [2024/05/06 09:31:42.103 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 09:31:42.103 +00:00] [WARN] [session.go:2153] ["run statement failed"] [schemaVersion=168] [error="[ddl:8214]Cancelled DDL job"] [errorVerbose="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).DoDDLJob\n\tpkg/ddl/ddl.go:1293\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).createIndex\n\tpkg/ddl/ddl_api.go:7732\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AlterTable\n\tpkg/ddl/ddl_api.go:3938\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeAlterTable\n\tpkg/executor/ddl.go:388\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:152\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1211\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:960\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:794\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:559\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2280\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:469\ngithub.com/pingcap/tidb/pkg/ddl_test.TestCancel\n\tpkg/ddl/cancel_test.go:289\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 3,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 09:31:42.104 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=174] [cur_db=test] [sql="alter table t add unique index idx_uc2 (c2)"] [user=] [2024/05/06 09:31:42.106 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:139, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:42.105 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 09:31:42.106 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:139, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:42.105 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add unique index idx_uc2 (c2)"] [2024/05/06 09:31:42.117 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:139, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:42.105 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.117 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=139] [conn=3] [category=ddl] [job="ID:139, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:42.105 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.117 +00:00] [INFO] [index.go:654] ["run add index job"] [category=ddl] [job="ID:139, Type:add index, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:42.105 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [indexInfo="{\"id\":17,\"idx_name\":{\"O\":\"idx_uc2\",\"L\":\"idx_uc2\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"c2\",\"L\":\"c2\"},\"offset\":1,\"length\":-1}],\"state\":0,\"backfill_state\":0,\"comment\":\"\",\"index_type\":1,\"is_unique\":true,\"is_primary\":false,\"is_invisible\":false,\"is_global\":false,\"mv_index\":false}"] [2024/05/06 09:31:42.118 +00:00] [INFO] [index.go:817] ["fallback to txn-merge backfill process"] [category=ddl] ["lightning env initialized"=false] [2024/05/06 09:31:42.118 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:139, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:42.105 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.120 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=174] [neededSchemaVersion=175] ["start time"=389.014µs] [gotSchemaVersion=175] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 09:31:42.122 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=139] [version=175] [2024/05/06 09:31:42.124 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=175] ["take time"=4.026895ms] [job="ID:139, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:42.105 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.125 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:139, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:42.105 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.132 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:139, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:42.105 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.132 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=139] [conn=3] [category=ddl] [job="ID:139, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:42.105 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.133 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:139, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:42.105 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.135 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=175] [neededSchemaVersion=176] ["start time"=306.401µs] [gotSchemaVersion=176] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 09:31:42.136 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=139] [version=176] [2024/05/06 09:31:42.136 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=176] ["take time"=2.019753ms] [job="ID:139, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:42.105 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.137 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:139, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:42.105 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.145 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:139, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:42.105 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.145 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=139] [conn=3] [category=ddl] [job="ID:139, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:42.105 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.146 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:139, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:42.105 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.148 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=176] [neededSchemaVersion=177] ["start time"=393.013µs] [gotSchemaVersion=177] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 09:31:42.149 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=139] [version=177] [2024/05/06 09:31:42.149 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=177] ["take time"=2.042096ms] [job="ID:139, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:42.105 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.150 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:139, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:42.105 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.155 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:139, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:42.105 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.155 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=139] [conn=3] [category=ddl] [job="ID:139, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:42.105 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.155 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=139] [table=t] ["ingest mode"=false] [index=idx_uc2] [2024/05/06 09:31:42.156 +00:00] [INFO] [reorg.go:718] ["job get table range"] [category=ddl] [jobID=139] [physicalTableID=111] [startKey=74800000000000006f5f728000000000000001] [endKey=74800000000000006f5f72800000000000080100] [2024/05/06 09:31:42.158 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:139, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:42.105 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788622520321, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.159 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=139] [2024/05/06 09:31:42.159 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:139, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:42.105 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788622520321, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.164 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:139, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:42.105 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788622520321, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.164 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=139] [conn=3] [category=ddl] [job="ID:139, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:42.105 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788622520321, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.165 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=139] [table=t] ["ingest mode"=false] [index=idx_uc2] [2024/05/06 09:31:42.166 +00:00] [INFO] [index.go:1931] ["start to add table index"] [category=ddl] [job="ID:139, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:42.105 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788622520321, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:17,StartKey:74800000000000006f5f728000000000000001,EndKey:74800000000000006f5f72800000000000080100,First:false,PhysicalTableID:111,Ingest mode:false"] [2024/05/06 09:31:42.167 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=111] ["start key"=74800000000000006f5f728000000000000001] ["end key"=74800000000000006f5f72800000000000080100] [2024/05/06 09:31:42.167 +00:00] [INFO] [backfilling.go:692] ["start backfill workers to reorg record"] [category=ddl] [type="add index"] [workerCnt=1] [regionCnt=1] [startKey=74800000000000006f5f728000000000000001] [endKey=74800000000000006f5f72800000000000080100] [2024/05/06 09:31:42.167 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=111] ["end key"=74800000000000006f5f72800000000000080100] ["current end key"=74800000000000006f5f72800000000000080100] [2024/05/06 09:31:42.177 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 09:31:42.177 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:139, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:42.105 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788622520321, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.177 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=139] [2024/05/06 09:31:42.178 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:139, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:42.105 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788622520321, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.185 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:139, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:42.105 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788622520321, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.185 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=139] [conn=3] [category=ddl] [job="ID:139, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:42.105 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788622520321, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.185 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=139] [table=t] ["ingest mode"=false] [index=idx_uc2] [2024/05/06 09:31:42.197 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 09:31:42.197 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:139, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:42.105 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788622520321, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.197 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=139] [2024/05/06 09:31:42.198 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:139, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:42.105 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788622520321, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.203 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:139, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:42.105 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788622520321, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.203 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=139] [conn=3] [category=ddl] [job="ID:139, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:42.105 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788622520321, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.203 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=139] [table=t] ["ingest mode"=false] [index=idx_uc2] [2024/05/06 09:31:42.215 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 09:31:42.215 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:139, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:42.105 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788622520321, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.216 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=139] [2024/05/06 09:31:42.217 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:139, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:42.105 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788622520321, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.224 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:139, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:42.105 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788622520321, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.224 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=139] [conn=3] [category=ddl] [job="ID:139, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:42.105 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788622520321, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.224 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=139] [table=t] ["ingest mode"=false] [index=idx_uc2] [2024/05/06 09:31:42.237 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 09:31:42.237 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:139, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:42.105 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788622520321, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.237 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=139] [2024/05/06 09:31:42.238 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:139, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:42.105 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788622520321, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.244 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:139, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:42.105 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788622520321, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.244 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=139] [conn=3] [category=ddl] [job="ID:139, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:42.105 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788622520321, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.244 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=139] [table=t] ["ingest mode"=false] [index=idx_uc2] [2024/05/06 09:31:42.257 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 09:31:42.257 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:139, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:42.105 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788622520321, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.257 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=139] [2024/05/06 09:31:42.258 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:139, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:42.105 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788622520321, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.264 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:139, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:42.105 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788622520321, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.264 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=139] [conn=3] [category=ddl] [job="ID:139, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:42.105 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788622520321, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.264 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=139] [table=t] ["ingest mode"=false] [index=idx_uc2] [2024/05/06 09:31:42.313 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=128] [2024/05/06 09:31:42.313 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:139, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:128, ArgLen:6, start time: 2024-05-06 09:31:42.105 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788622520321, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.315 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=139] [2024/05/06 09:31:42.316 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:139, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:128, ArgLen:6, start time: 2024-05-06 09:31:42.105 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788622520321, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.338 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:139, Type:add index, State:cancelling, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:128, ArgLen:0, start time: 2024-05-06 09:31:42.105 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788622520321, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.338 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=139] [conn=3] [category=ddl] [job="ID:139, Type:add index, State:cancelling, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:128, ArgLen:0, start time: 2024-05-06 09:31:42.105 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788622520321, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.338 +00:00] [INFO] [rollingback.go:265] ["run the cancelling DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=139] [conn=3] [job="ID:139, Type:add index, State:cancelling, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:128, ArgLen:0, start time: 2024-05-06 09:31:42.105 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788622520321, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.338 +00:00] [INFO] [ddl.go:615] ["notify reorg worker the job's state"] [category=ddl] ["Job ID"=139] ["Job State"=cancelling] ["Schema State"="write reorganization"] [2024/05/06 09:31:42.339 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=139] [table=t] ["ingest mode"=false] [index=idx_uc2] [2024/05/06 09:31:42.344 +00:00] [INFO] [backfilling.go:399] ["backfill worker exit on error"] [category=ddl] [worker="backfill-worker 0, tp add index"] [jobID=139] [error="[ddl:8214]Cancelled DDL job"] [2024/05/06 09:31:42.345 +00:00] [WARN] [backfilling.go:641] ["backfill worker failed"] [category=ddl] ["job ID"=139] ["total added count"=0] ["start key"=74800000000000006f5f728000000000000001] ["result next key"=74800000000000006f5f7280000000000005a000] [error="[ddl:8214]Cancelled DDL job"] [2024/05/06 09:31:42.345 +00:00] [WARN] [index.go:1058] ["run add index job failed, convert job to rollback"] [category=ddl] [job="ID:139, Type:add index, State:cancelling, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:128, ArgLen:6, start time: 2024-05-06 09:31:42.105 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788622520321, LocalMode: false, UniqueWarnings:0"] [error="[ddl:8214]Cancelled DDL job"] [2024/05/06 09:31:42.350 +00:00] [INFO] [rollingback.go:559] ["the DDL job is cancelled normally"] [worker="worker 7, tp add index"] [category=ddl] [jobID=139] [conn=3] [job="ID:139, Type:add index, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:128, ArgLen:3, start time: 2024-05-06 09:31:42.105 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449573788622520321, LocalMode: false, UniqueWarnings:0"] [error="[ddl:8214]Cancelled DDL job"] [errorVerbose="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.completeErr\n\tpkg/ddl/index_cop.go:319\ngithub.com/pingcap/tidb/pkg/ddl.convertAddIdxJob2RollbackJob\n\tpkg/ddl/rollingback.go:93\ngithub.com/pingcap/tidb/pkg/ddl.runReorgJobAndHandleErr\n\tpkg/ddl/index.go:1059\ngithub.com/pingcap/tidb/pkg/ddl.doReorgWorkForCreateIndex\n\tpkg/ddl/index.go:869\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).onCreateIndex\n\tpkg/ddl/index.go:731\ngithub.com/pingcap/tidb/pkg/ddl.rollingbackAddIndex\n\tpkg/ddl/rollingback.go:267\ngithub.com/pingcap/tidb/pkg/ddl.convertJob2RollbackJob\n\tpkg/ddl/rollingback.go:480\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).runDDLJob\n\tpkg/ddl/ddl_worker.go:1202\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).HandleDDLJobTable\n\tpkg/ddl/ddl_worker.go:946\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2Worker.func1\n\tpkg/ddl/job_table.go:461\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:157\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [2024/05/06 09:31:42.350 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:139, Type:add index, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:128, ArgLen:3, start time: 2024-05-06 09:31:42.105 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449573788622520321, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.352 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=177] [neededSchemaVersion=178] ["start time"=323.55µs] [gotSchemaVersion=178] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 09:31:42.353 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=139] [version=178] [2024/05/06 09:31:42.354 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=178] ["take time"=2.307173ms] [job="ID:139, Type:add index, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:128, ArgLen:3, start time: 2024-05-06 09:31:42.105 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449573788622520321, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.355 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:139, Type:add index, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:128, ArgLen:3, start time: 2024-05-06 09:31:42.105 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449573788622520321, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.362 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:139, Type:add index, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:128, ArgLen:0, start time: 2024-05-06 09:31:42.105 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449573788622520321, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.362 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=139] [conn=3] [category=ddl] [job="ID:139, Type:add index, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:128, ArgLen:0, start time: 2024-05-06 09:31:42.105 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449573788622520321, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.363 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:139, Type:add index, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:128, ArgLen:2, start time: 2024-05-06 09:31:42.105 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449573788622520321, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.366 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=178] [neededSchemaVersion=179] ["start time"=476.947µs] [gotSchemaVersion=179] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 09:31:42.367 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=139] [version=179] [2024/05/06 09:31:42.369 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=179] ["take time"=4.11996ms] [job="ID:139, Type:add index, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:128, ArgLen:2, start time: 2024-05-06 09:31:42.105 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449573788622520321, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.370 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:139, Type:add index, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:128, ArgLen:2, start time: 2024-05-06 09:31:42.105 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449573788622520321, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.377 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:139, Type:add index, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:128, ArgLen:0, start time: 2024-05-06 09:31:42.105 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449573788622520321, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.377 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=139] [conn=3] [category=ddl] [job="ID:139, Type:add index, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:128, ArgLen:0, start time: 2024-05-06 09:31:42.105 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449573788622520321, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.378 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:139, Type:add index, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:128, ArgLen:2, start time: 2024-05-06 09:31:42.105 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449573788622520321, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.380 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=179] [neededSchemaVersion=180] ["start time"=369.593µs] [gotSchemaVersion=180] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 09:31:42.381 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=139] [version=180] [2024/05/06 09:31:42.384 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=180] ["take time"=5.008403ms] [job="ID:139, Type:add index, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:128, ArgLen:2, start time: 2024-05-06 09:31:42.105 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449573788622520321, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.386 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:139, Type:add index, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:128, ArgLen:2, start time: 2024-05-06 09:31:42.105 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449573788622520321, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.392 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=139] [tableID=111] [indexIDs="[17,9223090561878065169]"] [comment="add index: physical table ID(s)"] [2024/05/06 09:31:42.393 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=139] [jobType="add index"] [2024/05/06 09:31:42.394 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=139] [conn=3] [job="ID:139, Type:add index, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:128, ArgLen:2, start time: 2024-05-06 09:31:42.105 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449573788622520321, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.396 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=139] [2024/05/06 09:31:42.397 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:139, Type:add index, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:128, ArgLen:2, start time: 2024-05-06 09:31:42.105 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449573788622520321, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.399 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=139] [2024/05/06 09:31:42.399 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 09:31:42.399 +00:00] [WARN] [session.go:2153] ["run statement failed"] [schemaVersion=174] [error="[ddl:8214]Cancelled DDL job"] [errorVerbose="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).DoDDLJob\n\tpkg/ddl/ddl.go:1293\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).createIndex\n\tpkg/ddl/ddl_api.go:7732\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AlterTable\n\tpkg/ddl/ddl_api.go:3938\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeAlterTable\n\tpkg/executor/ddl.go:388\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:152\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1211\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:960\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:794\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:559\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2280\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:469\ngithub.com/pingcap/tidb/pkg/ddl_test.TestCancel\n\tpkg/ddl/cancel_test.go:306\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 3,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 09:31:42.399 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=180] [cur_db=test] [sql="alter table t add unique index idx_uc2 (c2)"] [user=] [2024/05/06 09:31:42.402 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:140, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:42.401 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 09:31:42.402 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:140, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:42.401 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add unique index idx_uc2 (c2)"] [2024/05/06 09:31:42.405 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=139] [elementID=1] [startKey=74800000000000006f5f698000000000000011] [endKey=74800000000000006f5f698000000000000012] [2024/05/06 09:31:42.407 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=139] [elementID=2] [startKey=74800000000000006f5f69ffff000000000011] [endKey=74800000000000006f5f69ffff000000000012] [2024/05/06 09:31:42.413 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:140, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:42.401 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.413 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=140] [conn=3] [category=ddl] [job="ID:140, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:42.401 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.413 +00:00] [INFO] [index.go:654] ["run add index job"] [category=ddl] [job="ID:140, Type:add index, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:42.401 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [indexInfo="{\"id\":18,\"idx_name\":{\"O\":\"idx_uc2\",\"L\":\"idx_uc2\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"c2\",\"L\":\"c2\"},\"offset\":1,\"length\":-1}],\"state\":0,\"backfill_state\":0,\"comment\":\"\",\"index_type\":1,\"is_unique\":true,\"is_primary\":false,\"is_invisible\":false,\"is_global\":false,\"mv_index\":false}"] [2024/05/06 09:31:42.413 +00:00] [INFO] [index.go:817] ["fallback to txn-merge backfill process"] [category=ddl] ["lightning env initialized"=false] [2024/05/06 09:31:42.414 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:140, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:42.401 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.415 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=180] [neededSchemaVersion=181] ["start time"=343.11µs] [gotSchemaVersion=181] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 09:31:42.416 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=140] [version=181] [2024/05/06 09:31:42.417 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=181] ["take time"=2.36783ms] [job="ID:140, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:42.401 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.418 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:140, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:42.401 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.425 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:140, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:42.401 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.425 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=140] [conn=3] [category=ddl] [job="ID:140, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:42.401 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.426 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:140, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:42.401 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.428 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=181] [neededSchemaVersion=182] ["start time"=276.844µs] [gotSchemaVersion=182] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 09:31:42.429 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=140] [version=182] [2024/05/06 09:31:42.429 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=182] ["take time"=2.020158ms] [job="ID:140, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:42.401 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.430 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:140, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:42.401 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.436 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:140, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:42.401 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.436 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=140] [conn=3] [category=ddl] [job="ID:140, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:42.401 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.437 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:140, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:42.401 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.439 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=182] [neededSchemaVersion=183] ["start time"=401.501µs] [gotSchemaVersion=183] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 09:31:42.440 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=140] [version=183] [2024/05/06 09:31:42.442 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=183] ["take time"=3.176221ms] [job="ID:140, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:42.401 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.442 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:140, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:42.401 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.448 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:140, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:42.401 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.448 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=140] [conn=3] [category=ddl] [job="ID:140, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:42.401 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.449 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=140] [table=t] ["ingest mode"=false] [index=idx_uc2] [2024/05/06 09:31:42.449 +00:00] [INFO] [reorg.go:718] ["job get table range"] [category=ddl] [jobID=140] [physicalTableID=111] [startKey=74800000000000006f5f728000000000000001] [endKey=74800000000000006f5f72800000000000080100] [2024/05/06 09:31:42.451 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:140, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:42.401 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788699590656, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.452 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=140] [2024/05/06 09:31:42.453 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:140, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:42.401 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788699590656, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.459 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:140, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:42.401 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788699590656, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.459 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=140] [conn=3] [category=ddl] [job="ID:140, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:42.401 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788699590656, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.460 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=140] [table=t] ["ingest mode"=false] [index=idx_uc2] [2024/05/06 09:31:42.462 +00:00] [INFO] [index.go:1931] ["start to add table index"] [category=ddl] [job="ID:140, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:42.401 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788699590656, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:18,StartKey:74800000000000006f5f728000000000000001,EndKey:74800000000000006f5f72800000000000080100,First:false,PhysicalTableID:111,Ingest mode:false"] [2024/05/06 09:31:42.463 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=111] ["start key"=74800000000000006f5f728000000000000001] ["end key"=74800000000000006f5f72800000000000080100] [2024/05/06 09:31:42.463 +00:00] [INFO] [backfilling.go:692] ["start backfill workers to reorg record"] [category=ddl] [type="add index"] [workerCnt=1] [regionCnt=1] [startKey=74800000000000006f5f728000000000000001] [endKey=74800000000000006f5f72800000000000080100] [2024/05/06 09:31:42.463 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=111] ["end key"=74800000000000006f5f72800000000000080100] ["current end key"=74800000000000006f5f72800000000000080100] [2024/05/06 09:31:42.483 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 09:31:42.483 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:140, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:42.401 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788699590656, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.484 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=140] [2024/05/06 09:31:42.485 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:140, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:42.401 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788699590656, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.493 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:140, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:42.401 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788699590656, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.493 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=140] [conn=3] [category=ddl] [job="ID:140, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:42.401 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788699590656, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.493 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=140] [table=t] ["ingest mode"=false] [index=idx_uc2] [2024/05/06 09:31:42.506 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 09:31:42.506 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:140, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:42.401 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788699590656, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.507 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=140] [2024/05/06 09:31:42.507 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:140, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:42.401 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788699590656, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.516 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:140, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:42.401 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788699590656, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.516 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=140] [conn=3] [category=ddl] [job="ID:140, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:42.401 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788699590656, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.516 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=140] [table=t] ["ingest mode"=false] [index=idx_uc2] [2024/05/06 09:31:42.529 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 09:31:42.529 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:140, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:42.401 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788699590656, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.530 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=140] [2024/05/06 09:31:42.531 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:140, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:42.401 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788699590656, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.536 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:140, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:42.401 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788699590656, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.536 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=140] [conn=3] [category=ddl] [job="ID:140, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:42.401 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788699590656, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.536 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=140] [table=t] ["ingest mode"=false] [index=idx_uc2] [2024/05/06 09:31:42.557 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 09:31:42.557 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:140, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:42.401 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788699590656, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.558 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=140] [2024/05/06 09:31:42.559 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:140, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:42.401 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788699590656, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.565 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:140, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:42.401 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788699590656, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.565 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=140] [conn=3] [category=ddl] [job="ID:140, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:42.401 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788699590656, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.565 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=140] [table=t] ["ingest mode"=false] [index=idx_uc2] [2024/05/06 09:31:42.619 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=416] [2024/05/06 09:31:42.619 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:140, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:416, ArgLen:6, start time: 2024-05-06 09:31:42.401 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788699590656, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.621 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=140] [2024/05/06 09:31:42.621 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:140, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:416, ArgLen:6, start time: 2024-05-06 09:31:42.401 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788699590656, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.629 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:140, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:416, ArgLen:0, start time: 2024-05-06 09:31:42.401 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788699590656, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.629 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=140] [conn=3] [category=ddl] [job="ID:140, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:416, ArgLen:0, start time: 2024-05-06 09:31:42.401 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788699590656, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.629 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=140] [table=t] ["ingest mode"=false] [index=idx_uc2] [2024/05/06 09:31:42.641 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp add index"] [task="taskID: 1, physicalTableID: 111, range: [74800000000000006f5f728000000000000001, 74800000000000006f5f72800000000000080100), jobID: 140"] ["added count"=2049] ["scan count"=2049] ["next key"=74800000000000006f5f72800000000000080100] ["take time"=77.584211ms] [2024/05/06 09:31:42.641 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp add index"] [jobID=140] [2024/05/06 09:31:42.641 +00:00] [INFO] [backfilling.go:632] ["backfill workers successfully processed"] [category=ddl] [element=ID:18,TypeKey:_idx_] ["total added count"=2049] ["start key"=74800000000000006f5f728000000000000001] [2024/05/06 09:31:42.641 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=2049] [2024/05/06 09:31:42.680 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:140, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:42.401 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788699590656, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.683 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=183] [neededSchemaVersion=184] ["start time"=477.22µs] [gotSchemaVersion=184] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 09:31:42.684 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=140] [version=184] [2024/05/06 09:31:42.687 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=184] ["take time"=5.023717ms] [job="ID:140, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:42.401 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788699590656, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.688 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:140, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:42.401 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788699590656, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.695 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:140, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:42.401 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788699590656, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.695 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=140] [conn=3] [category=ddl] [job="ID:140, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:42.401 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788699590656, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.696 +00:00] [INFO] [index.go:880] ["index backfill state ready to merge"] [category=ddl] ["job ID"=140] [table=t] [index=idx_uc2] [2024/05/06 09:31:42.696 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:140, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:42.401 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.698 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=184] [neededSchemaVersion=185] ["start time"=338.461µs] [gotSchemaVersion=185] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 09:31:42.700 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=140] [version=185] [2024/05/06 09:31:42.701 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=185] ["take time"=3.188152ms] [job="ID:140, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:42.401 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.702 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:140, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:42.401 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.707 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:140, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:42.401 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.707 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=140] [conn=3] [category=ddl] [job="ID:140, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:42.401 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.707 +00:00] [INFO] [reorg.go:718] ["job get table range"] [category=ddl] [jobID=140] [physicalTableID=111] [startKey=74800000000000006f5f69ffff000000000012] [endKey=74800000000000006f5f69ffff000000000012ff] [2024/05/06 09:31:42.709 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:140, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:42.401 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788767223809, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.710 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=140] [2024/05/06 09:31:42.710 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:140, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:42.401 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788767223809, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.716 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:140, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:42.401 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788767223809, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.717 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=140] [conn=3] [category=ddl] [job="ID:140, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:42.401 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788767223809, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.718 +00:00] [INFO] [index.go:1928] ["start to merge temp index"] [category=ddl] [job="ID:140, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:42.401 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788767223809, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:18,StartKey:74800000000000006f5f69ffff000000000012,EndKey:74800000000000006f5f69ffff000000000012ff,First:false,PhysicalTableID:111,Ingest mode:false"] [2024/05/06 09:31:42.719 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=111] ["start key"=74800000000000006f5f69ffff000000000012] ["end key"=74800000000000006f5f69ffff000000000012ff] [2024/05/06 09:31:42.719 +00:00] [INFO] [backfilling.go:692] ["start backfill workers to reorg record"] [category=ddl] [type="merge temporary index"] [workerCnt=1] [regionCnt=1] [startKey=74800000000000006f5f69ffff000000000012] [endKey=74800000000000006f5f69ffff000000000012ff] [2024/05/06 09:31:42.720 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=111] ["end key"=74800000000000006f5f69ffff000000000012ff] ["current end key"=74800000000000006f5f69ffff00000000001200] [2024/05/06 09:31:42.763 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=2049] [2024/05/06 09:31:42.763 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:140, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:42.401 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788767223809, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.763 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=140] [2024/05/06 09:31:42.764 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:140, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:42.401 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788767223809, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.769 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:140, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:42.401 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788767223809, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.769 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=140] [conn=3] [category=ddl] [job="ID:140, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:42.401 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788767223809, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.820 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [task="taskID: 1, physicalTableID: 111, range: [74800000000000006f5f69ffff000000000012, 74800000000000006f5f69ffff00000000001200), jobID: 140"] ["added count"=0] ["scan count"=0] ["next key"=74800000000000006f5f69ffff0000000000120000] ["take time"=192.678µs] [2024/05/06 09:31:42.820 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [jobID=140] [2024/05/06 09:31:42.820 +00:00] [INFO] [backfilling.go:632] ["backfill workers successfully processed"] [category=ddl] [element=ID:18,TypeKey:_idx_] ["total added count"=2049] ["start key"=74800000000000006f5f69ffff000000000012] [2024/05/06 09:31:42.821 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=2049] [2024/05/06 09:31:42.821 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:140, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:42.401 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788767223809, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.821 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=140] [2024/05/06 09:31:42.822 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:140, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:42.401 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788767223809, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.828 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:140, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:42.401 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788767223809, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.828 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=140] [conn=3] [category=ddl] [job="ID:140, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:42.401 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788767223809, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.830 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=2049] [2024/05/06 09:31:42.868 +00:00] [INFO] [index.go:781] ["run add index job done"] [category=ddl] [charset=utf8mb4] [collation=utf8mb4_bin] [2024/05/06 09:31:42.868 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:140, Type:add index, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 09:31:42.401 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788767223809, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.870 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=185] [neededSchemaVersion=186] ["start time"=379.942µs] [gotSchemaVersion=186] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 09:31:42.872 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=140] [version=186] [2024/05/06 09:31:42.873 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=186] ["take time"=2.964249ms] [job="ID:140, Type:add index, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 09:31:42.401 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788767223809, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.874 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:140, Type:add index, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 09:31:42.401 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788767223809, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.882 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=140] [tableID=111] [indexIDs="[9223090561878065170]"] [comment="add index: physical table ID(s)"] [2024/05/06 09:31:42.883 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=140] [jobType="add index"] [2024/05/06 09:31:42.883 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=140] [conn=3] [job="ID:140, Type:add index, State:synced, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 09:31:42.401 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788767223809, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.886 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=140] [elementID=1] [startKey=74800000000000006f5f69ffff000000000012] [endKey=74800000000000006f5f69ffff000000000013] [2024/05/06 09:31:42.887 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:140, Type:add index, State:synced, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 09:31:42.401 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788767223809, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.890 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=140] [2024/05/06 09:31:42.890 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:31:42.890 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=186] [cur_db=test] [sql="alter table t add index idx_c2(c2)"] [user=] [2024/05/06 09:31:42.893 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:141, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:42.892 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 09:31:42.893 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:141, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:42.892 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add index idx_c2(c2)"] [2024/05/06 09:31:42.903 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:141, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:42.892 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.906 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=141] [conn=3] [category=ddl] [job="ID:141, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:42.892 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.906 +00:00] [INFO] [index.go:654] ["run add index job"] [category=ddl] [job="ID:141, Type:add index, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:42.892 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [indexInfo="{\"id\":19,\"idx_name\":{\"O\":\"idx_c2\",\"L\":\"idx_c2\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"c2\",\"L\":\"c2\"},\"offset\":1,\"length\":-1}],\"state\":0,\"backfill_state\":0,\"comment\":\"\",\"index_type\":1,\"is_unique\":false,\"is_primary\":false,\"is_invisible\":false,\"is_global\":false,\"mv_index\":false}"] [2024/05/06 09:31:42.906 +00:00] [INFO] [index.go:817] ["fallback to txn-merge backfill process"] [category=ddl] ["lightning env initialized"=false] [2024/05/06 09:31:42.907 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:141, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:42.892 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.908 +00:00] [WARN] [session.go:813] ["can not retry txn"] [label=internal] [error="[kv:9007]Write conflict, txnStartTS=449573788818604032, conflictStartTS=449573788818866176, conflictCommitTS=449573788819128320, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=141}, originalKey=748000fffffffffffe5f72800000000000008d, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [IsBatchInsert=false] [IsPessimistic=false] [InRestrictedSQL=true] [tidb_retry_limit=10] [tidb_disable_txn_auto_retry=true] [2024/05/06 09:31:42.909 +00:00] [WARN] [session.go:829] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[kv:9007]Write conflict, txnStartTS=449573788818604032, conflictStartTS=449573788818866176, conflictCommitTS=449573788819128320, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=141}, originalKey=748000fffffffffffe5f72800000000000008d, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [2024/05/06 09:31:42.909 +00:00] [INFO] [job_table.go:465] ["handle ddl job failed"] [worker="worker 7, tp add index"] [category=ddl] [error="[kv:9007]Write conflict, txnStartTS=449573788818604032, conflictStartTS=449573788818866176, conflictCommitTS=449573788819128320, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=141}, originalKey=748000fffffffffffe5f72800000000000008d, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [job="ID:141, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:42.892 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.918 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:141, Type:add index, State:cancelling, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:42.892 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.918 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=141] [conn=3] [category=ddl] [job="ID:141, Type:add index, State:cancelling, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:42.892 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.918 +00:00] [INFO] [rollingback.go:559] ["the DDL job is cancelled normally"] [worker="worker 10, tp add index"] [category=ddl] [jobID=141] [conn=3] [job="ID:141, Type:add index, State:cancelled, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:42.892 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [error="[ddl:8214]Cancelled DDL job"] [2024/05/06 09:31:42.918 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:141, Type:add index, State:cancelled, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:42.892 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.919 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=141] [conn=3] [job="ID:141, Type:add index, State:cancelled, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:42.892 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.921 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:141, Type:add index, State:cancelled, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:42.892 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.922 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=141] [2024/05/06 09:31:42.922 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 09:31:42.922 +00:00] [WARN] [session.go:2153] ["run statement failed"] [schemaVersion=186] [error="[ddl:8214]Cancelled DDL job"] [errorVerbose="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).DoDDLJob\n\tpkg/ddl/ddl.go:1293\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).createIndex\n\tpkg/ddl/ddl_api.go:7732\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AlterTable\n\tpkg/ddl/ddl_api.go:3935\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeAlterTable\n\tpkg/executor/ddl.go:388\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:152\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1211\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:960\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:794\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:559\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2280\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:469\ngithub.com/pingcap/tidb/pkg/ddl_test.TestCancel\n\tpkg/ddl/cancel_test.go:289\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 3,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 09:31:42.922 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=186] [cur_db=test] [sql="alter table t add index idx_c2(c2)"] [user=] [2024/05/06 09:31:42.925 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:142, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:42.924 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 09:31:42.925 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:142, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:42.924 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add index idx_c2(c2)"] [2024/05/06 09:31:42.937 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:142, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:42.924 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.937 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=142] [conn=3] [category=ddl] [job="ID:142, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:42.924 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.939 +00:00] [INFO] [index.go:654] ["run add index job"] [category=ddl] [job="ID:142, Type:add index, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:42.924 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [indexInfo="{\"id\":19,\"idx_name\":{\"O\":\"idx_c2\",\"L\":\"idx_c2\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"c2\",\"L\":\"c2\"},\"offset\":1,\"length\":-1}],\"state\":0,\"backfill_state\":0,\"comment\":\"\",\"index_type\":1,\"is_unique\":false,\"is_primary\":false,\"is_invisible\":false,\"is_global\":false,\"mv_index\":false}"] [2024/05/06 09:31:42.939 +00:00] [INFO] [index.go:817] ["fallback to txn-merge backfill process"] [category=ddl] ["lightning env initialized"=false] [2024/05/06 09:31:42.939 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:142, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:42.924 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.942 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=186] [neededSchemaVersion=188] ["start time"=440.87µs] [gotSchemaVersion=188] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 09:31:42.943 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=142] [version=188] [2024/05/06 09:31:42.948 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=188] ["take time"=7.171523ms] [job="ID:142, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:42.924 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.949 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:142, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:42.924 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.957 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:142, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:42.924 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.959 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=142] [conn=3] [category=ddl] [job="ID:142, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:42.924 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.960 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:142, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:42.924 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.962 +00:00] [WARN] [session.go:813] ["can not retry txn"] [label=internal] [error="[kv:9007]Write conflict, txnStartTS=449573788832759808, conflictStartTS=449573788832759809, conflictCommitTS=449573788833021952, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=142}, originalKey=748000fffffffffffe5f72800000000000008e, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [IsBatchInsert=false] [IsPessimistic=false] [InRestrictedSQL=true] [tidb_retry_limit=10] [tidb_disable_txn_auto_retry=true] [2024/05/06 09:31:42.962 +00:00] [WARN] [session.go:829] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[kv:9007]Write conflict, txnStartTS=449573788832759808, conflictStartTS=449573788832759809, conflictCommitTS=449573788833021952, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=142}, originalKey=748000fffffffffffe5f72800000000000008e, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [2024/05/06 09:31:42.962 +00:00] [INFO] [job_table.go:465] ["handle ddl job failed"] [worker="worker 10, tp add index"] [category=ddl] [error="[kv:9007]Write conflict, txnStartTS=449573788832759808, conflictStartTS=449573788832759809, conflictCommitTS=449573788833021952, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=142}, originalKey=748000fffffffffffe5f72800000000000008e, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [job="ID:142, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:42.924 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.970 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:142, Type:add index, State:cancelling, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:42.924 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.970 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=142] [conn=3] [category=ddl] [job="ID:142, Type:add index, State:cancelling, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:42.924 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.971 +00:00] [INFO] [rollingback.go:559] ["the DDL job is cancelled normally"] [worker="worker 9, tp add index"] [category=ddl] [jobID=142] [conn=3] [job="ID:142, Type:add index, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:42.924 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [error="[ddl:8214]Cancelled DDL job"] [errorVerbose="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.completeErr\n\tpkg/ddl/index_cop.go:319\ngithub.com/pingcap/tidb/pkg/ddl.convertAddIdxJob2RollbackJob\n\tpkg/ddl/rollingback.go:93\ngithub.com/pingcap/tidb/pkg/ddl.convertNotReorgAddIdxJob2RollbackJob\n\tpkg/ddl/rollingback.go:139\ngithub.com/pingcap/tidb/pkg/ddl.rollingbackAddIndex\n\tpkg/ddl/rollingback.go:270\ngithub.com/pingcap/tidb/pkg/ddl.convertJob2RollbackJob\n\tpkg/ddl/rollingback.go:480\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).runDDLJob\n\tpkg/ddl/ddl_worker.go:1202\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).HandleDDLJobTable\n\tpkg/ddl/ddl_worker.go:946\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2Worker.func1\n\tpkg/ddl/job_table.go:461\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:157\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [2024/05/06 09:31:42.971 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:142, Type:add index, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:42.924 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.972 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=142] [2024/05/06 09:31:42.973 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:142, Type:add index, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:42.924 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.979 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:142, Type:add index, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:42.924 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.979 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=142] [conn=3] [category=ddl] [job="ID:142, Type:add index, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:42.924 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.980 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:142, Type:add index, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:42.924 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.982 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=188] [neededSchemaVersion=190] ["start time"=450.591µs] [gotSchemaVersion=190] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 09:31:42.983 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=142] [version=190] [2024/05/06 09:31:42.986 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=190] ["take time"=5.031779ms] [job="ID:142, Type:add index, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:42.924 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.987 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:142, Type:add index, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:42.924 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.998 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:142, Type:add index, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:42.924 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.998 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=142] [conn=3] [category=ddl] [job="ID:142, Type:add index, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:42.924 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:42.999 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:142, Type:add index, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:42.924 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:43.002 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=190] [neededSchemaVersion=191] ["start time"=421.563µs] [gotSchemaVersion=191] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 09:31:43.003 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=142] [version=191] [2024/05/06 09:31:43.003 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=191] ["take time"=2.026545ms] [job="ID:142, Type:add index, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:42.924 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:43.004 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:142, Type:add index, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:42.924 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:43.011 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=142] [tableID=111] [indexIDs="[19,9223090561878065171]"] [comment="add index: physical table ID(s)"] [2024/05/06 09:31:43.012 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=142] [jobType="add index"] [2024/05/06 09:31:43.013 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=142] [conn=3] [job="ID:142, Type:add index, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:42.924 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:43.016 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=142] [elementID=1] [startKey=74800000000000006f5f698000000000000013] [endKey=74800000000000006f5f698000000000000014] [2024/05/06 09:31:43.016 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=142] [2024/05/06 09:31:43.017 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:142, Type:add index, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:42.924 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:43.017 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=142] [elementID=2] [startKey=74800000000000006f5f69ffff000000000013] [endKey=74800000000000006f5f69ffff000000000014] [2024/05/06 09:31:43.020 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=142] [2024/05/06 09:31:43.020 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 09:31:43.020 +00:00] [WARN] [session.go:2153] ["run statement failed"] [schemaVersion=186] [error="[ddl:8214]Cancelled DDL job"] [errorVerbose="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).DoDDLJob\n\tpkg/ddl/ddl.go:1293\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).createIndex\n\tpkg/ddl/ddl_api.go:7732\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AlterTable\n\tpkg/ddl/ddl_api.go:3935\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeAlterTable\n\tpkg/executor/ddl.go:388\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:152\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1211\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:960\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:794\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:559\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2280\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:469\ngithub.com/pingcap/tidb/pkg/ddl_test.TestCancel\n\tpkg/ddl/cancel_test.go:289\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 3,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 09:31:43.020 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=191] [cur_db=test] [sql="alter table t add index idx_c2(c2)"] [user=] [2024/05/06 09:31:43.027 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:143, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:43.022 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 09:31:43.027 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:143, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:43.022 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add index idx_c2(c2)"] [2024/05/06 09:31:43.037 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:143, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:43.022 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:43.037 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=143] [conn=3] [category=ddl] [job="ID:143, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:43.022 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:43.038 +00:00] [INFO] [index.go:654] ["run add index job"] [category=ddl] [job="ID:143, Type:add index, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:43.022 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [indexInfo="{\"id\":20,\"idx_name\":{\"O\":\"idx_c2\",\"L\":\"idx_c2\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"c2\",\"L\":\"c2\"},\"offset\":1,\"length\":-1}],\"state\":0,\"backfill_state\":0,\"comment\":\"\",\"index_type\":1,\"is_unique\":false,\"is_primary\":false,\"is_invisible\":false,\"is_global\":false,\"mv_index\":false}"] [2024/05/06 09:31:43.038 +00:00] [INFO] [index.go:817] ["fallback to txn-merge backfill process"] [category=ddl] ["lightning env initialized"=false] [2024/05/06 09:31:43.038 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:143, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:43.022 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:43.040 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=191] [neededSchemaVersion=192] ["start time"=415.087µs] [gotSchemaVersion=192] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 09:31:43.042 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=143] [version=192] [2024/05/06 09:31:43.042 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=192] ["take time"=2.270465ms] [job="ID:143, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:43.022 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:43.043 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:143, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:43.022 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:43.051 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:143, Type:add index, State:cancelling, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:43.022 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:43.051 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=143] [conn=3] [category=ddl] [job="ID:143, Type:add index, State:cancelling, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:43.022 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:43.052 +00:00] [INFO] [rollingback.go:559] ["the DDL job is cancelled normally"] [worker="worker 9, tp add index"] [category=ddl] [jobID=143] [conn=3] [job="ID:143, Type:add index, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:43.022 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [error="[ddl:8214]Cancelled DDL job"] [errorVerbose="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.completeErr\n\tpkg/ddl/index_cop.go:319\ngithub.com/pingcap/tidb/pkg/ddl.convertAddIdxJob2RollbackJob\n\tpkg/ddl/rollingback.go:93\ngithub.com/pingcap/tidb/pkg/ddl.convertNotReorgAddIdxJob2RollbackJob\n\tpkg/ddl/rollingback.go:139\ngithub.com/pingcap/tidb/pkg/ddl.rollingbackAddIndex\n\tpkg/ddl/rollingback.go:270\ngithub.com/pingcap/tidb/pkg/ddl.convertJob2RollbackJob\n\tpkg/ddl/rollingback.go:480\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).runDDLJob\n\tpkg/ddl/ddl_worker.go:1202\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).HandleDDLJobTable\n\tpkg/ddl/ddl_worker.go:946\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2Worker.func1\n\tpkg/ddl/job_table.go:461\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:157\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [2024/05/06 09:31:43.052 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:143, Type:add index, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:43.022 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:43.053 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=143] [2024/05/06 09:31:43.053 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:143, Type:add index, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:43.022 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:43.059 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:143, Type:add index, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:43.022 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:43.059 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=143] [conn=3] [category=ddl] [job="ID:143, Type:add index, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:43.022 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:43.060 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:143, Type:add index, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:43.022 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:43.061 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=192] [neededSchemaVersion=193] ["start time"=385.027µs] [gotSchemaVersion=193] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 09:31:43.063 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=143] [version=193] [2024/05/06 09:31:43.063 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=193] ["take time"=2.042527ms] [job="ID:143, Type:add index, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:43.022 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:43.064 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:143, Type:add index, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:43.022 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:43.068 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:143, Type:add index, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:43.022 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:43.068 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=143] [conn=3] [category=ddl] [job="ID:143, Type:add index, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:43.022 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:43.069 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:143, Type:add index, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:43.022 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:43.071 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=193] [neededSchemaVersion=194] ["start time"=385.099µs] [gotSchemaVersion=194] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 09:31:43.072 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=143] [version=194] [2024/05/06 09:31:43.073 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=194] ["take time"=2.586001ms] [job="ID:143, Type:add index, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:43.022 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:43.074 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:143, Type:add index, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:43.022 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:43.080 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=143] [tableID=111] [indexIDs="[20,9223090561878065172]"] [comment="add index: physical table ID(s)"] [2024/05/06 09:31:43.081 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=143] [jobType="add index"] [2024/05/06 09:31:43.081 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=143] [conn=3] [job="ID:143, Type:add index, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:43.022 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:43.083 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=143] [2024/05/06 09:31:43.084 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:143, Type:add index, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:43.022 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:43.085 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=143] [elementID=1] [startKey=74800000000000006f5f698000000000000014] [endKey=74800000000000006f5f698000000000000015] [2024/05/06 09:31:43.087 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=143] [2024/05/06 09:31:43.087 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 09:31:43.087 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=143] [elementID=2] [startKey=74800000000000006f5f69ffff000000000014] [endKey=74800000000000006f5f69ffff000000000015] [2024/05/06 09:31:43.087 +00:00] [WARN] [session.go:2153] ["run statement failed"] [schemaVersion=191] [error="[ddl:8214]Cancelled DDL job"] [errorVerbose="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).DoDDLJob\n\tpkg/ddl/ddl.go:1293\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).createIndex\n\tpkg/ddl/ddl_api.go:7732\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AlterTable\n\tpkg/ddl/ddl_api.go:3935\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeAlterTable\n\tpkg/executor/ddl.go:388\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:152\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1211\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:960\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:794\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:559\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2280\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:469\ngithub.com/pingcap/tidb/pkg/ddl_test.TestCancel\n\tpkg/ddl/cancel_test.go:306\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 3,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 09:31:43.087 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=194] [cur_db=test] [sql="alter table t add index idx_c2(c2)"] [user=] [2024/05/06 09:31:43.089 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:144, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:43.088 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 09:31:43.089 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:144, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:43.088 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add index idx_c2(c2)"] [2024/05/06 09:31:43.098 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:144, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:43.088 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:43.098 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=144] [conn=3] [category=ddl] [job="ID:144, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:43.088 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:43.098 +00:00] [INFO] [index.go:654] ["run add index job"] [category=ddl] [job="ID:144, Type:add index, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:43.088 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [indexInfo="{\"id\":21,\"idx_name\":{\"O\":\"idx_c2\",\"L\":\"idx_c2\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"c2\",\"L\":\"c2\"},\"offset\":1,\"length\":-1}],\"state\":0,\"backfill_state\":0,\"comment\":\"\",\"index_type\":1,\"is_unique\":false,\"is_primary\":false,\"is_invisible\":false,\"is_global\":false,\"mv_index\":false}"] [2024/05/06 09:31:43.098 +00:00] [INFO] [index.go:817] ["fallback to txn-merge backfill process"] [category=ddl] ["lightning env initialized"=false] [2024/05/06 09:31:43.099 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:144, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:43.088 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:43.101 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=194] [neededSchemaVersion=195] ["start time"=385.601µs] [gotSchemaVersion=195] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 09:31:43.102 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=144] [version=195] [2024/05/06 09:31:43.104 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=195] ["take time"=3.113007ms] [job="ID:144, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:43.088 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:43.104 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:144, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:43.088 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:43.110 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:144, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:43.088 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:43.111 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=144] [conn=3] [category=ddl] [job="ID:144, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:43.088 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:43.112 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:144, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:43.088 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:43.113 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=195] [neededSchemaVersion=196] ["start time"=385.391µs] [gotSchemaVersion=196] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 09:31:43.115 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=144] [version=196] [2024/05/06 09:31:43.115 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=196] ["take time"=2.070533ms] [job="ID:144, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:43.088 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:43.116 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:144, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:43.088 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:43.125 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:144, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:43.088 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:43.134 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=144] [conn=3] [category=ddl] [job="ID:144, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:43.088 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:43.135 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:144, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:43.088 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:43.137 +00:00] [WARN] [session.go:813] ["can not retry txn"] [label=internal] [error="[kv:9007]Write conflict, txnStartTS=449573788876537857, conflictStartTS=449573788876800000, conflictCommitTS=449573788877062144, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=144}, originalKey=748000fffffffffffe5f728000000000000090, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [IsBatchInsert=false] [IsPessimistic=false] [InRestrictedSQL=true] [tidb_retry_limit=10] [tidb_disable_txn_auto_retry=true] [2024/05/06 09:31:43.137 +00:00] [WARN] [session.go:829] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[kv:9007]Write conflict, txnStartTS=449573788876537857, conflictStartTS=449573788876800000, conflictCommitTS=449573788877062144, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=144}, originalKey=748000fffffffffffe5f728000000000000090, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [2024/05/06 09:31:43.137 +00:00] [INFO] [job_table.go:465] ["handle ddl job failed"] [worker="worker 8, tp add index"] [category=ddl] [error="[kv:9007]Write conflict, txnStartTS=449573788876537857, conflictStartTS=449573788876800000, conflictCommitTS=449573788877062144, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=144}, originalKey=748000fffffffffffe5f728000000000000090, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [job="ID:144, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:43.088 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:43.144 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:144, Type:add index, State:cancelling, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:43.088 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:43.144 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=144] [conn=3] [category=ddl] [job="ID:144, Type:add index, State:cancelling, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:43.088 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:43.145 +00:00] [INFO] [rollingback.go:559] ["the DDL job is cancelled normally"] [worker="worker 7, tp add index"] [category=ddl] [jobID=144] [conn=3] [job="ID:144, Type:add index, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:43.088 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [error="[ddl:8214]Cancelled DDL job"] [errorVerbose="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.completeErr\n\tpkg/ddl/index_cop.go:319\ngithub.com/pingcap/tidb/pkg/ddl.convertAddIdxJob2RollbackJob\n\tpkg/ddl/rollingback.go:93\ngithub.com/pingcap/tidb/pkg/ddl.convertNotReorgAddIdxJob2RollbackJob\n\tpkg/ddl/rollingback.go:139\ngithub.com/pingcap/tidb/pkg/ddl.rollingbackAddIndex\n\tpkg/ddl/rollingback.go:270\ngithub.com/pingcap/tidb/pkg/ddl.convertJob2RollbackJob\n\tpkg/ddl/rollingback.go:480\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).runDDLJob\n\tpkg/ddl/ddl_worker.go:1202\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).HandleDDLJobTable\n\tpkg/ddl/ddl_worker.go:946\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2Worker.func1\n\tpkg/ddl/job_table.go:461\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:157\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [2024/05/06 09:31:43.145 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:144, Type:add index, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:43.088 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:43.147 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=196] [neededSchemaVersion=198] ["start time"=445.989µs] [gotSchemaVersion=198] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 09:31:43.149 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=144] [version=198] [2024/05/06 09:31:43.151 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=198] ["take time"=4.019032ms] [job="ID:144, Type:add index, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:43.088 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:43.153 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:144, Type:add index, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:43.088 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:43.160 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:144, Type:add index, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:43.088 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:43.160 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=144] [conn=3] [category=ddl] [job="ID:144, Type:add index, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:43.088 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:43.161 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:144, Type:add index, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:43.088 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:43.164 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=198] [neededSchemaVersion=199] ["start time"=357.393µs] [gotSchemaVersion=199] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 09:31:43.165 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=144] [version=199] [2024/05/06 09:31:43.166 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=199] ["take time"=4.024791ms] [job="ID:144, Type:add index, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:43.088 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:43.167 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:144, Type:add index, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:43.088 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:43.174 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:144, Type:add index, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:43.088 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:43.174 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=144] [conn=3] [category=ddl] [job="ID:144, Type:add index, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:43.088 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:43.175 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:144, Type:add index, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:43.088 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:43.177 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=199] [neededSchemaVersion=200] ["start time"=307.465µs] [gotSchemaVersion=200] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 09:31:43.178 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=144] [version=200] [2024/05/06 09:31:43.186 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=200] ["take time"=9.274918ms] [job="ID:144, Type:add index, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:43.088 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:43.187 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:144, Type:add index, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:43.088 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:43.194 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=144] [tableID=111] [indexIDs="[21,9223090561878065173]"] [comment="add index: physical table ID(s)"] [2024/05/06 09:31:43.195 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=144] [jobType="add index"] [2024/05/06 09:31:43.196 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=144] [conn=3] [job="ID:144, Type:add index, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:43.088 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:43.198 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=144] [2024/05/06 09:31:43.199 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=144] [elementID=1] [startKey=74800000000000006f5f698000000000000015] [endKey=74800000000000006f5f698000000000000016] [2024/05/06 09:31:43.199 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:144, Type:add index, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:43.088 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:43.200 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=144] [elementID=2] [startKey=74800000000000006f5f69ffff000000000015] [endKey=74800000000000006f5f69ffff000000000016] [2024/05/06 09:31:43.201 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=144] [2024/05/06 09:31:43.201 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 09:31:43.201 +00:00] [WARN] [session.go:2153] ["run statement failed"] [schemaVersion=194] [error="[ddl:8214]Cancelled DDL job"] [errorVerbose="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).DoDDLJob\n\tpkg/ddl/ddl.go:1293\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).createIndex\n\tpkg/ddl/ddl_api.go:7732\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AlterTable\n\tpkg/ddl/ddl_api.go:3935\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeAlterTable\n\tpkg/executor/ddl.go:388\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:152\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1211\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:960\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:794\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:559\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2280\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:469\ngithub.com/pingcap/tidb/pkg/ddl_test.TestCancel\n\tpkg/ddl/cancel_test.go:289\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 3,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 09:31:43.201 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=200] [cur_db=test] [sql="alter table t add index idx_c2(c2)"] [user=] [2024/05/06 09:31:43.204 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:145, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:43.203 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 09:31:43.204 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:145, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:43.203 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add index idx_c2(c2)"] [2024/05/06 09:31:43.213 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:145, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:43.203 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:43.213 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=145] [conn=3] [category=ddl] [job="ID:145, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:43.203 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:43.214 +00:00] [INFO] [index.go:654] ["run add index job"] [category=ddl] [job="ID:145, Type:add index, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:43.203 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [indexInfo="{\"id\":22,\"idx_name\":{\"O\":\"idx_c2\",\"L\":\"idx_c2\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"c2\",\"L\":\"c2\"},\"offset\":1,\"length\":-1}],\"state\":0,\"backfill_state\":0,\"comment\":\"\",\"index_type\":1,\"is_unique\":false,\"is_primary\":false,\"is_invisible\":false,\"is_global\":false,\"mv_index\":false}"] [2024/05/06 09:31:43.214 +00:00] [INFO] [index.go:817] ["fallback to txn-merge backfill process"] [category=ddl] ["lightning env initialized"=false] [2024/05/06 09:31:43.215 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:145, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:43.203 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:43.217 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=200] [neededSchemaVersion=201] ["start time"=403.595µs] [gotSchemaVersion=201] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 09:31:43.219 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=145] [version=201] [2024/05/06 09:31:43.224 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=201] ["take time"=7.622636ms] [job="ID:145, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:43.203 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:43.225 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:145, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:43.203 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:43.232 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:145, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:43.203 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:43.232 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=145] [conn=3] [category=ddl] [job="ID:145, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:43.203 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:43.232 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:145, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:43.203 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:43.235 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=201] [neededSchemaVersion=202] ["start time"=383.898µs] [gotSchemaVersion=202] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 09:31:43.236 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=145] [version=202] [2024/05/06 09:31:43.237 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=202] ["take time"=2.638228ms] [job="ID:145, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:43.203 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:43.238 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:145, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:43.203 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:43.247 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:145, Type:add index, State:cancelling, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:43.203 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:43.247 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=145] [conn=3] [category=ddl] [job="ID:145, Type:add index, State:cancelling, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:43.203 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:43.248 +00:00] [INFO] [rollingback.go:559] ["the DDL job is cancelled normally"] [worker="worker 10, tp add index"] [category=ddl] [jobID=145] [conn=3] [job="ID:145, Type:add index, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:43.203 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [error="[ddl:8214]Cancelled DDL job"] [errorVerbose="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.completeErr\n\tpkg/ddl/index_cop.go:319\ngithub.com/pingcap/tidb/pkg/ddl.convertAddIdxJob2RollbackJob\n\tpkg/ddl/rollingback.go:93\ngithub.com/pingcap/tidb/pkg/ddl.convertNotReorgAddIdxJob2RollbackJob\n\tpkg/ddl/rollingback.go:139\ngithub.com/pingcap/tidb/pkg/ddl.rollingbackAddIndex\n\tpkg/ddl/rollingback.go:270\ngithub.com/pingcap/tidb/pkg/ddl.convertJob2RollbackJob\n\tpkg/ddl/rollingback.go:480\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).runDDLJob\n\tpkg/ddl/ddl_worker.go:1202\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).HandleDDLJobTable\n\tpkg/ddl/ddl_worker.go:946\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2Worker.func1\n\tpkg/ddl/job_table.go:461\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:157\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [2024/05/06 09:31:43.248 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:145, Type:add index, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:43.203 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:43.250 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=202] [neededSchemaVersion=203] ["start time"=394.762µs] [gotSchemaVersion=203] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 09:31:43.251 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=145] [version=203] [2024/05/06 09:31:43.252 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=203] ["take time"=2.076579ms] [job="ID:145, Type:add index, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:43.203 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:43.253 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:145, Type:add index, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:43.203 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:43.259 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:145, Type:add index, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:43.203 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:43.259 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=145] [conn=3] [category=ddl] [job="ID:145, Type:add index, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:43.203 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:43.262 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:145, Type:add index, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:43.203 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:43.264 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=203] [neededSchemaVersion=204] ["start time"=400.181µs] [gotSchemaVersion=204] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 09:31:43.266 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=145] [version=204] [2024/05/06 09:31:43.266 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=204] ["take time"=2.010083ms] [job="ID:145, Type:add index, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:43.203 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:43.267 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:145, Type:add index, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:43.203 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:43.274 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:145, Type:add index, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:43.203 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:43.274 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=145] [conn=3] [category=ddl] [job="ID:145, Type:add index, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:43.203 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:43.276 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:145, Type:add index, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:43.203 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:43.278 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=204] [neededSchemaVersion=205] ["start time"=357.465µs] [gotSchemaVersion=205] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 09:31:43.279 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=145] [version=205] [2024/05/06 09:31:43.280 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=205] ["take time"=2.11333ms] [job="ID:145, Type:add index, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:43.203 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:43.281 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:145, Type:add index, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:43.203 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:43.288 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=145] [tableID=111] [indexIDs="[22,9223090561878065174]"] [comment="add index: physical table ID(s)"] [2024/05/06 09:31:43.289 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=145] [jobType="add index"] [2024/05/06 09:31:43.289 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=145] [conn=3] [job="ID:145, Type:add index, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:43.203 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:43.291 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=145] [2024/05/06 09:31:43.292 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:145, Type:add index, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:43.203 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:43.295 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=145] [elementID=1] [startKey=74800000000000006f5f698000000000000016] [endKey=74800000000000006f5f698000000000000017] [2024/05/06 09:31:43.297 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=145] [2024/05/06 09:31:43.297 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 09:31:43.297 +00:00] [WARN] [session.go:2153] ["run statement failed"] [schemaVersion=200] [error="[ddl:8214]Cancelled DDL job"] [errorVerbose="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).DoDDLJob\n\tpkg/ddl/ddl.go:1293\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).createIndex\n\tpkg/ddl/ddl_api.go:7732\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AlterTable\n\tpkg/ddl/ddl_api.go:3935\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeAlterTable\n\tpkg/executor/ddl.go:388\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:152\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1211\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:960\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:794\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:559\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2280\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:469\ngithub.com/pingcap/tidb/pkg/ddl_test.TestCancel\n\tpkg/ddl/cancel_test.go:306\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 3,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 09:31:43.297 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=205] [cur_db=test] [sql="alter table t add index idx_cx2(c2)"] [user=] [2024/05/06 09:31:43.300 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=145] [elementID=2] [startKey=74800000000000006f5f69ffff000000000016] [endKey=74800000000000006f5f69ffff000000000017] [2024/05/06 09:31:43.301 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:146, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:43.299 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 09:31:43.301 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:146, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:43.299 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add index idx_cx2(c2)"] [2024/05/06 09:31:43.310 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:146, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:43.299 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:43.310 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=146] [conn=3] [category=ddl] [job="ID:146, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:43.299 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:43.311 +00:00] [INFO] [index.go:654] ["run add index job"] [category=ddl] [job="ID:146, Type:add index, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:43.299 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [indexInfo="{\"id\":23,\"idx_name\":{\"O\":\"idx_cx2\",\"L\":\"idx_cx2\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"c2\",\"L\":\"c2\"},\"offset\":1,\"length\":-1}],\"state\":0,\"backfill_state\":0,\"comment\":\"\",\"index_type\":1,\"is_unique\":false,\"is_primary\":false,\"is_invisible\":false,\"is_global\":false,\"mv_index\":false}"] [2024/05/06 09:31:43.311 +00:00] [INFO] [index.go:817] ["fallback to txn-merge backfill process"] [category=ddl] ["lightning env initialized"=false] [2024/05/06 09:31:43.311 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:146, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:43.299 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:43.314 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=205] [neededSchemaVersion=206] ["start time"=354.559µs] [gotSchemaVersion=206] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 09:31:43.315 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=146] [version=206] [2024/05/06 09:31:43.318 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=206] ["take time"=4.818739ms] [job="ID:146, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:43.299 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:43.319 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:146, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:43.299 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:43.325 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:146, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:43.299 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:43.325 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=146] [conn=3] [category=ddl] [job="ID:146, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:43.299 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:43.328 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:146, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:43.299 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:43.330 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=206] [neededSchemaVersion=207] ["start time"=436.364µs] [gotSchemaVersion=207] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 09:31:43.332 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=146] [version=207] [2024/05/06 09:31:43.334 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=207] ["take time"=4.142622ms] [job="ID:146, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:43.299 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:43.335 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:146, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:43.299 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:43.341 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:146, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:43.299 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:43.342 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=146] [conn=3] [category=ddl] [job="ID:146, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:43.299 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:43.342 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:146, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:43.299 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:43.345 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=207] [neededSchemaVersion=208] ["start time"=410.25µs] [gotSchemaVersion=208] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 09:31:43.346 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=146] [version=208] [2024/05/06 09:31:43.351 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=208] ["take time"=6.948951ms] [job="ID:146, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:43.299 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:43.352 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:146, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:43.299 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:43.359 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:146, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:43.299 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:43.359 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=146] [conn=3] [category=ddl] [job="ID:146, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:43.299 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:43.359 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=146] [table=t] ["ingest mode"=false] [index=idx_cx2] [2024/05/06 09:31:43.360 +00:00] [INFO] [reorg.go:718] ["job get table range"] [category=ddl] [jobID=146] [physicalTableID=111] [startKey=74800000000000006f5f728000000000000001] [endKey=74800000000000006f5f72800000000000080100] [2024/05/06 09:31:43.363 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:146, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:43.299 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788938403840, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:43.364 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=146] [2024/05/06 09:31:43.364 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:146, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:43.299 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788938403840, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:43.375 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:146, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:43.299 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788938403840, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:43.375 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=146] [conn=3] [category=ddl] [job="ID:146, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:43.299 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788938403840, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:43.375 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=146] [table=t] ["ingest mode"=false] [index=idx_cx2] [2024/05/06 09:31:43.377 +00:00] [INFO] [index.go:1931] ["start to add table index"] [category=ddl] [job="ID:146, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:43.299 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788938403840, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:23,StartKey:74800000000000006f5f728000000000000001,EndKey:74800000000000006f5f72800000000000080100,First:false,PhysicalTableID:111,Ingest mode:false"] [2024/05/06 09:31:43.378 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=111] ["start key"=74800000000000006f5f728000000000000001] ["end key"=74800000000000006f5f72800000000000080100] [2024/05/06 09:31:43.378 +00:00] [INFO] [backfilling.go:692] ["start backfill workers to reorg record"] [category=ddl] [type="add index"] [workerCnt=1] [regionCnt=1] [startKey=74800000000000006f5f728000000000000001] [endKey=74800000000000006f5f72800000000000080100] [2024/05/06 09:31:43.378 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=111] ["end key"=74800000000000006f5f72800000000000080100] ["current end key"=74800000000000006f5f72800000000000080100] [2024/05/06 09:31:43.387 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 09:31:43.387 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:146, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:43.299 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788938403840, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:43.388 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=146] [2024/05/06 09:31:43.388 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:146, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:43.299 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788938403840, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:43.394 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:146, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:43.299 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788938403840, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:43.394 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=146] [conn=3] [category=ddl] [job="ID:146, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:43.299 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788938403840, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:43.394 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=146] [table=t] ["ingest mode"=false] [index=idx_cx2] [2024/05/06 09:31:43.406 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 09:31:43.406 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:146, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:43.299 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788938403840, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:43.407 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=146] [2024/05/06 09:31:43.407 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:146, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:43.299 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788938403840, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:43.415 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:146, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:43.299 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788938403840, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:43.416 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=146] [conn=3] [category=ddl] [job="ID:146, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:43.299 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788938403840, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:43.416 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=146] [table=t] ["ingest mode"=false] [index=idx_cx2] [2024/05/06 09:31:43.429 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 09:31:43.429 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:146, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:43.299 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788938403840, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:43.429 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=146] [2024/05/06 09:31:43.430 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:146, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:43.299 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788938403840, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:43.436 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:146, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:43.299 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788938403840, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:43.436 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=146] [conn=3] [category=ddl] [job="ID:146, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:43.299 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788938403840, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:43.437 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=146] [table=t] ["ingest mode"=false] [index=idx_cx2] [2024/05/06 09:31:43.449 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 09:31:43.449 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:146, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:43.299 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788938403840, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:43.450 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=146] [2024/05/06 09:31:43.450 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:146, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:43.299 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788938403840, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:43.457 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:146, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:43.299 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788938403840, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:43.457 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=146] [conn=3] [category=ddl] [job="ID:146, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:43.299 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788938403840, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:43.457 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=146] [table=t] ["ingest mode"=false] [index=idx_cx2] [2024/05/06 09:31:43.472 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 09:31:43.472 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:146, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:43.299 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788938403840, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:43.473 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=146] [2024/05/06 09:31:43.473 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:146, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:43.299 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788938403840, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:43.479 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:146, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:43.299 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788938403840, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:43.479 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=146] [conn=3] [category=ddl] [job="ID:146, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:43.299 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788938403840, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:43.479 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=146] [table=t] ["ingest mode"=false] [index=idx_cx2] [2024/05/06 09:31:43.550 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=288] [2024/05/06 09:31:43.550 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:146, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:288, ArgLen:6, start time: 2024-05-06 09:31:43.299 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788938403840, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:43.550 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp add index"] [task="taskID: 1, physicalTableID: 111, range: [74800000000000006f5f728000000000000001, 74800000000000006f5f72800000000000080100), jobID: 146"] ["added count"=2049] ["scan count"=2049] ["next key"=74800000000000006f5f72800000000000080100] ["take time"=71.912493ms] [2024/05/06 09:31:43.550 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp add index"] [jobID=146] [2024/05/06 09:31:43.550 +00:00] [INFO] [backfilling.go:632] ["backfill workers successfully processed"] [category=ddl] [element=ID:23,TypeKey:_idx_] ["total added count"=2049] ["start key"=74800000000000006f5f728000000000000001] [2024/05/06 09:31:43.551 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=146] [2024/05/06 09:31:43.552 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:146, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:288, ArgLen:6, start time: 2024-05-06 09:31:43.299 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788938403840, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:43.559 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:146, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:288, ArgLen:0, start time: 2024-05-06 09:31:43.299 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788938403840, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:43.559 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=146] [conn=3] [category=ddl] [job="ID:146, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:288, ArgLen:0, start time: 2024-05-06 09:31:43.299 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788938403840, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:43.559 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=146] [table=t] ["ingest mode"=false] [index=idx_cx2] [2024/05/06 09:31:43.561 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=2049] [2024/05/06 09:31:43.606 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:146, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:43.299 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788938403840, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:43.610 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=208] [neededSchemaVersion=209] ["start time"=365.069µs] [gotSchemaVersion=209] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 09:31:43.611 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=146] [version=209] [2024/05/06 09:31:43.611 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=209] ["take time"=2.013627ms] [job="ID:146, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:43.299 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788938403840, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:43.612 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:146, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:43.299 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788938403840, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:43.621 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:146, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:43.299 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788938403840, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:43.621 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=146] [conn=3] [category=ddl] [job="ID:146, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:43.299 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573788938403840, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:43.622 +00:00] [INFO] [index.go:880] ["index backfill state ready to merge"] [category=ddl] ["job ID"=146] [table=t] [index=idx_cx2] [2024/05/06 09:31:43.622 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:146, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:43.299 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:43.624 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=209] [neededSchemaVersion=210] ["start time"=295.973µs] [gotSchemaVersion=210] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 09:31:43.625 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=146] [version=210] [2024/05/06 09:31:43.626 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=210] ["take time"=2.052814ms] [job="ID:146, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:43.299 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:43.626 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:146, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:43.299 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:43.633 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:146, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:43.299 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:43.633 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=146] [conn=3] [category=ddl] [job="ID:146, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:43.299 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:43.633 +00:00] [INFO] [reorg.go:718] ["job get table range"] [category=ddl] [jobID=146] [physicalTableID=111] [startKey=74800000000000006f5f69ffff000000000017] [endKey=74800000000000006f5f69ffff000000000017ff] [2024/05/06 09:31:43.636 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:146, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:43.299 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573789009969153, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:43.637 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=146] [2024/05/06 09:31:43.637 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:146, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:43.299 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573789009969153, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:43.644 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:146, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:43.299 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573789009969153, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:43.644 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=146] [conn=3] [category=ddl] [job="ID:146, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:43.299 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573789009969153, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:43.646 +00:00] [INFO] [index.go:1928] ["start to merge temp index"] [category=ddl] [job="ID:146, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:43.299 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573789009969153, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:23,StartKey:74800000000000006f5f69ffff000000000017,EndKey:74800000000000006f5f69ffff000000000017ff,First:false,PhysicalTableID:111,Ingest mode:false"] [2024/05/06 09:31:43.646 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=111] ["start key"=74800000000000006f5f69ffff000000000017] ["end key"=74800000000000006f5f69ffff000000000017ff] [2024/05/06 09:31:43.647 +00:00] [INFO] [backfilling.go:692] ["start backfill workers to reorg record"] [category=ddl] [type="merge temporary index"] [workerCnt=1] [regionCnt=1] [startKey=74800000000000006f5f69ffff000000000017] [endKey=74800000000000006f5f69ffff000000000017ff] [2024/05/06 09:31:43.647 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=111] ["end key"=74800000000000006f5f69ffff000000000017ff] ["current end key"=74800000000000006f5f69ffff00000000001700] [2024/05/06 09:31:43.696 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=2049] [2024/05/06 09:31:43.696 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:146, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:43.299 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573789009969153, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:43.697 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=146] [2024/05/06 09:31:43.698 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:146, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:43.299 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573789009969153, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:43.705 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:146, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:43.299 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573789009969153, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:43.705 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=146] [conn=3] [category=ddl] [job="ID:146, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:43.299 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573789009969153, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:43.748 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [task="taskID: 1, physicalTableID: 111, range: [74800000000000006f5f69ffff000000000017, 74800000000000006f5f69ffff00000000001700), jobID: 146"] ["added count"=0] ["scan count"=0] ["next key"=74800000000000006f5f69ffff0000000000170000] ["take time"=177.35µs] [2024/05/06 09:31:43.748 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [jobID=146] [2024/05/06 09:31:43.748 +00:00] [INFO] [backfilling.go:632] ["backfill workers successfully processed"] [category=ddl] [element=ID:23,TypeKey:_idx_] ["total added count"=2049] ["start key"=74800000000000006f5f69ffff000000000017] [2024/05/06 09:31:43.753 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=2049] [2024/05/06 09:31:43.753 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:146, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:43.299 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573789009969153, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:43.753 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=146] [2024/05/06 09:31:43.754 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:146, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:43.299 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573789009969153, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:43.760 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:146, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:43.299 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573789009969153, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:43.760 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=146] [conn=3] [category=ddl] [job="ID:146, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:43.299 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573789009969153, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:43.762 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=2049] [2024/05/06 09:31:43.808 +00:00] [INFO] [index.go:781] ["run add index job done"] [category=ddl] [charset=utf8mb4] [collation=utf8mb4_bin] [2024/05/06 09:31:43.808 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:146, Type:add index, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 09:31:43.299 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573789009969153, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:43.811 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=210] [neededSchemaVersion=211] ["start time"=507.522µs] [gotSchemaVersion=211] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 09:31:43.813 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=146] [version=211] [2024/05/06 09:31:43.815 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=211] ["take time"=4.296227ms] [job="ID:146, Type:add index, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 09:31:43.299 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573789009969153, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:43.816 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:146, Type:add index, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 09:31:43.299 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573789009969153, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:43.824 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=146] [tableID=111] [indexIDs="[9223090561878065175]"] [comment="add index: physical table ID(s)"] [2024/05/06 09:31:43.825 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=146] [jobType="add index"] [2024/05/06 09:31:43.825 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=146] [conn=3] [job="ID:146, Type:add index, State:synced, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 09:31:43.299 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573789009969153, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:43.827 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=146] [elementID=1] [startKey=74800000000000006f5f69ffff000000000017] [endKey=74800000000000006f5f69ffff000000000018] [2024/05/06 09:31:43.829 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:146, Type:add index, State:synced, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 09:31:43.299 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573789009969153, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:43.831 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=146] [2024/05/06 09:31:43.831 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:31:43.831 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=211] [cur_db=test] [sql="alter table t add column c4 bigint"] [user=] [2024/05/06 09:31:43.834 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:147, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:43.833 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:31:43.834 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:147, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:43.833 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t add column c4 bigint"] [2024/05/06 09:31:43.841 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:147, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:43.833 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:43.842 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=147] [conn=3] [category=ddl] [job="ID:147, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:43.833 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:43.843 +00:00] [INFO] [column.go:135] ["run add column job"] [category=ddl] [job="ID:147, Type:add column, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:43.833 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [columnInfo="{\"id\":5,\"name\":{\"O\":\"c4\",\"L\":\"c4\"},\"offset\":4,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{},\"state\":0,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2}"] [2024/05/06 09:31:43.843 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:147, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:43.833 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:43.844 +00:00] [WARN] [session.go:813] ["can not retry txn"] [label=internal] [error="[kv:9007]Write conflict, txnStartTS=449573789064232962, conflictStartTS=449573789064495104, conflictCommitTS=449573789064757249, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=147}, originalKey=748000fffffffffffe5f728000000000000093, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [IsBatchInsert=false] [IsPessimistic=false] [InRestrictedSQL=true] [tidb_retry_limit=10] [tidb_disable_txn_auto_retry=true] [2024/05/06 09:31:43.844 +00:00] [WARN] [session.go:829] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[kv:9007]Write conflict, txnStartTS=449573789064232962, conflictStartTS=449573789064495104, conflictCommitTS=449573789064757249, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=147}, originalKey=748000fffffffffffe5f728000000000000093, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [2024/05/06 09:31:43.844 +00:00] [INFO] [job_table.go:465] ["handle ddl job failed"] [worker="worker 6, tp general"] [category=ddl] [error="[kv:9007]Write conflict, txnStartTS=449573789064232962, conflictStartTS=449573789064495104, conflictCommitTS=449573789064757249, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=147}, originalKey=748000fffffffffffe5f728000000000000093, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [job="ID:147, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:43.833 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:43.848 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:147, Type:add column, State:cancelling, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:43.833 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:43.849 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=147] [conn=3] [category=ddl] [job="ID:147, Type:add column, State:cancelling, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:43.833 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:43.849 +00:00] [INFO] [rollingback.go:559] ["the DDL job is cancelled normally"] [worker="worker 6, tp general"] [category=ddl] [jobID=147] [conn=3] [job="ID:147, Type:add column, State:cancelled, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:43.833 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [error="[ddl:8214]Cancelled DDL job"] [2024/05/06 09:31:43.849 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:147, Type:add column, State:cancelled, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:43.833 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:43.849 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=147] [conn=3] [job="ID:147, Type:add column, State:cancelled, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:43.833 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:43.851 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:147, Type:add column, State:cancelled, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:43.833 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:43.851 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=147] [2024/05/06 09:31:43.851 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 09:31:43.851 +00:00] [WARN] [session.go:2153] ["run statement failed"] [schemaVersion=211] [error="[ddl:8214]Cancelled DDL job"] [errorVerbose="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).DoDDLJob\n\tpkg/ddl/ddl.go:1293\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AddColumn\n\tpkg/ddl/ddl_api.go:4407\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AlterTable\n\tpkg/ddl/ddl_api.go:3878\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeAlterTable\n\tpkg/executor/ddl.go:388\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:152\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1211\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:960\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:794\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:559\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2280\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:469\ngithub.com/pingcap/tidb/pkg/ddl_test.TestCancel\n\tpkg/ddl/cancel_test.go:289\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 3,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 09:31:43.852 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=211] [cur_db=test] [sql="alter table t add column c4 bigint"] [user=] [2024/05/06 09:31:43.854 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:148, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:43.853 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:31:43.855 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:148, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:43.853 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t add column c4 bigint"] [2024/05/06 09:31:43.863 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:148, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:43.853 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:43.863 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=148] [conn=3] [category=ddl] [job="ID:148, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:43.853 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:43.863 +00:00] [INFO] [column.go:135] ["run add column job"] [category=ddl] [job="ID:148, Type:add column, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:43.853 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [columnInfo="{\"id\":5,\"name\":{\"O\":\"c4\",\"L\":\"c4\"},\"offset\":4,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{},\"state\":0,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2}"] [2024/05/06 09:31:43.864 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:148, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:43.853 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:43.866 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=211] [neededSchemaVersion=213] ["start time"=488.583µs] [gotSchemaVersion=213] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:43.867 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=148] [version=213] [2024/05/06 09:31:43.867 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=213] ["take time"=2.010758ms] [job="ID:148, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:43.853 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:43.868 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:148, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:43.853 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:43.872 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:148, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:43.853 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:43.875 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=148] [conn=3] [category=ddl] [job="ID:148, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:43.853 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:43.875 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:148, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:43.853 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:43.877 +00:00] [WARN] [session.go:813] ["can not retry txn"] [label=internal] [error="[kv:9007]Write conflict, txnStartTS=449573789072621568, conflictStartTS=449573789072621569, conflictCommitTS=449573789073145856, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=148}, originalKey=748000fffffffffffe5f728000000000000094, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [IsBatchInsert=false] [IsPessimistic=false] [InRestrictedSQL=true] [tidb_retry_limit=10] [tidb_disable_txn_auto_retry=true] [2024/05/06 09:31:43.877 +00:00] [WARN] [session.go:829] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[kv:9007]Write conflict, txnStartTS=449573789072621568, conflictStartTS=449573789072621569, conflictCommitTS=449573789073145856, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=148}, originalKey=748000fffffffffffe5f728000000000000094, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [2024/05/06 09:31:43.877 +00:00] [INFO] [job_table.go:465] ["handle ddl job failed"] [worker="worker 6, tp general"] [category=ddl] [error="[kv:9007]Write conflict, txnStartTS=449573789072621568, conflictStartTS=449573789072621569, conflictCommitTS=449573789073145856, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=148}, originalKey=748000fffffffffffe5f728000000000000094, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [job="ID:148, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:43.853 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:43.880 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:148, Type:add column, State:cancelling, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:43.853 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:43.881 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=148] [conn=3] [category=ddl] [job="ID:148, Type:add column, State:cancelling, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:43.853 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:43.881 +00:00] [INFO] [rollingback.go:559] ["the DDL job is cancelled normally"] [worker="worker 6, tp general"] [category=ddl] [jobID=148] [conn=3] [job="ID:148, Type:add column, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:43.853 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [error="[ddl:8214]Cancelled DDL job"] [2024/05/06 09:31:43.881 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:148, Type:add column, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:43.853 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:43.882 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=148] [2024/05/06 09:31:43.882 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:148, Type:add column, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:43.853 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:43.887 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:148, Type:add column, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:43.853 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:43.887 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=148] [conn=3] [category=ddl] [job="ID:148, Type:add column, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:43.853 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:43.888 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:148, Type:add column, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:43.853 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:43.890 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=213] [neededSchemaVersion=215] ["start time"=536.395µs] [gotSchemaVersion=215] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:43.892 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=148] [version=215] [2024/05/06 09:31:43.894 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=215] ["take time"=4.349136ms] [job="ID:148, Type:add column, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:43.853 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:43.895 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:148, Type:add column, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:43.853 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:43.901 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:148, Type:add column, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:43.853 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:43.901 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=148] [conn=3] [category=ddl] [job="ID:148, Type:add column, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:43.853 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:43.903 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:148, Type:add column, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:43.853 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:43.905 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=215] [neededSchemaVersion=216] ["start time"=438.462µs] [gotSchemaVersion=216] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:43.907 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=148] [version=216] [2024/05/06 09:31:43.910 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=216] ["take time"=5.416415ms] [job="ID:148, Type:add column, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:43.853 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:43.911 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:148, Type:add column, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:43.853 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:43.916 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=148] [conn=3] [job="ID:148, Type:add column, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:43.853 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:43.942 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=148] [2024/05/06 09:31:43.943 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=148] [2024/05/06 09:31:43.943 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 09:31:43.943 +00:00] [WARN] [session.go:2153] ["run statement failed"] [schemaVersion=211] [error="[ddl:8214]Cancelled DDL job"] [errorVerbose="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).DoDDLJob\n\tpkg/ddl/ddl.go:1293\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AddColumn\n\tpkg/ddl/ddl_api.go:4407\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AlterTable\n\tpkg/ddl/ddl_api.go:3878\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeAlterTable\n\tpkg/executor/ddl.go:388\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:152\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1211\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:960\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:794\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:559\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2280\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:469\ngithub.com/pingcap/tidb/pkg/ddl_test.TestCancel\n\tpkg/ddl/cancel_test.go:289\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 3,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 09:31:43.944 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=216] [cur_db=test] [sql="alter table t add column c4 bigint"] [user=] [2024/05/06 09:31:43.946 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:148, Type:add column, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:43.853 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:43.947 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:149, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:43.945 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:31:43.947 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:149, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:43.945 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t add column c4 bigint"] [2024/05/06 09:31:43.953 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:149, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:43.945 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:43.953 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=149] [conn=3] [category=ddl] [job="ID:149, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:43.945 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:43.954 +00:00] [INFO] [column.go:135] ["run add column job"] [category=ddl] [job="ID:149, Type:add column, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:43.945 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [columnInfo="{\"id\":6,\"name\":{\"O\":\"c4\",\"L\":\"c4\"},\"offset\":4,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{},\"state\":0,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2}"] [2024/05/06 09:31:43.954 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:149, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:43.945 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:43.956 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=216] [neededSchemaVersion=217] ["start time"=415.377µs] [gotSchemaVersion=217] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:43.958 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=149] [version=217] [2024/05/06 09:31:43.960 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=217] ["take time"=4.362802ms] [job="ID:149, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:43.945 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:43.964 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:149, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:43.945 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:43.978 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:149, Type:add column, State:cancelling, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:43.945 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:43.979 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=149] [conn=3] [category=ddl] [job="ID:149, Type:add column, State:cancelling, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:43.945 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:43.979 +00:00] [INFO] [rollingback.go:559] ["the DDL job is cancelled normally"] [worker="worker 6, tp general"] [category=ddl] [jobID=149] [conn=3] [job="ID:149, Type:add column, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:43.945 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [error="[ddl:8214]Cancelled DDL job"] [2024/05/06 09:31:43.979 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:149, Type:add column, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:43.945 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:43.981 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=149] [2024/05/06 09:31:43.981 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:149, Type:add column, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:43.945 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:43.987 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:149, Type:add column, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:43.945 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:43.987 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=149] [conn=3] [category=ddl] [job="ID:149, Type:add column, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:43.945 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:43.989 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:149, Type:add column, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:43.945 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:43.991 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=217] [neededSchemaVersion=218] ["start time"=417.752µs] [gotSchemaVersion=218] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:43.993 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=149] [version=218] [2024/05/06 09:31:43.996 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=218] ["take time"=5.138112ms] [job="ID:149, Type:add column, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:43.945 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.004 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:149, Type:add column, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:43.945 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.009 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:149, Type:add column, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:43.945 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.009 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=149] [conn=3] [category=ddl] [job="ID:149, Type:add column, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:43.945 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.011 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:149, Type:add column, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:43.945 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.013 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=218] [neededSchemaVersion=219] ["start time"=421.63µs] [gotSchemaVersion=219] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:44.015 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=149] [version=219] [2024/05/06 09:31:44.030 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=219] ["take time"=17.29463ms] [job="ID:149, Type:add column, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:43.945 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.031 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:149, Type:add column, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:43.945 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.040 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=149] [conn=3] [job="ID:149, Type:add column, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:43.945 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.043 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=149] [2024/05/06 09:31:44.043 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:149, Type:add column, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:43.945 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.043 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=149] [2024/05/06 09:31:44.044 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 09:31:44.044 +00:00] [WARN] [session.go:2153] ["run statement failed"] [schemaVersion=216] [error="[ddl:8214]Cancelled DDL job"] [errorVerbose="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).DoDDLJob\n\tpkg/ddl/ddl.go:1293\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AddColumn\n\tpkg/ddl/ddl_api.go:4407\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AlterTable\n\tpkg/ddl/ddl_api.go:3878\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeAlterTable\n\tpkg/executor/ddl.go:388\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:152\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1211\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:960\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:794\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:559\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2280\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:469\ngithub.com/pingcap/tidb/pkg/ddl_test.TestCancel\n\tpkg/ddl/cancel_test.go:306\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 3,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 09:31:44.044 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=219] [cur_db=test] [sql="alter table t add column c4 bigint"] [user=] [2024/05/06 09:31:44.047 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:150, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:44.045 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:31:44.047 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:150, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:44.045 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t add column c4 bigint"] [2024/05/06 09:31:44.054 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:150, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:44.045 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.054 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=150] [conn=3] [category=ddl] [job="ID:150, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:44.045 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.054 +00:00] [INFO] [column.go:135] ["run add column job"] [category=ddl] [job="ID:150, Type:add column, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:44.045 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [columnInfo="{\"id\":7,\"name\":{\"O\":\"c4\",\"L\":\"c4\"},\"offset\":4,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{},\"state\":0,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2}"] [2024/05/06 09:31:44.054 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:150, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:44.045 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.057 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=219] [neededSchemaVersion=220] ["start time"=405.68µs] [gotSchemaVersion=220] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:44.058 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=150] [version=220] [2024/05/06 09:31:44.058 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=220] ["take time"=2.173175ms] [job="ID:150, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:44.045 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.059 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:150, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:44.045 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.063 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:150, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:44.045 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.063 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=150] [conn=3] [category=ddl] [job="ID:150, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:44.045 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.064 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:150, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:44.045 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.066 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=220] [neededSchemaVersion=221] ["start time"=433.319µs] [gotSchemaVersion=221] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:44.067 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=150] [version=221] [2024/05/06 09:31:44.068 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=221] ["take time"=2.093949ms] [job="ID:150, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:44.045 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.069 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:150, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:44.045 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.075 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:150, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:44.045 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.078 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=150] [conn=3] [category=ddl] [job="ID:150, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:44.045 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.079 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:150, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:44.045 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.081 +00:00] [WARN] [session.go:813] ["can not retry txn"] [label=internal] [error="[kv:9007]Write conflict, txnStartTS=449573789125836800, conflictStartTS=449573789125836801, conflictCommitTS=449573789126098945, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=150}, originalKey=748000fffffffffffe5f728000000000000096, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [IsBatchInsert=false] [IsPessimistic=false] [InRestrictedSQL=true] [tidb_retry_limit=10] [tidb_disable_txn_auto_retry=true] [2024/05/06 09:31:44.081 +00:00] [WARN] [session.go:829] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[kv:9007]Write conflict, txnStartTS=449573789125836800, conflictStartTS=449573789125836801, conflictCommitTS=449573789126098945, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=150}, originalKey=748000fffffffffffe5f728000000000000096, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [2024/05/06 09:31:44.081 +00:00] [INFO] [job_table.go:465] ["handle ddl job failed"] [worker="worker 6, tp general"] [category=ddl] [error="[kv:9007]Write conflict, txnStartTS=449573789125836800, conflictStartTS=449573789125836801, conflictCommitTS=449573789126098945, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=150}, originalKey=748000fffffffffffe5f728000000000000096, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [job="ID:150, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:44.045 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.084 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:150, Type:add column, State:cancelling, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:44.045 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.084 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=150] [conn=3] [category=ddl] [job="ID:150, Type:add column, State:cancelling, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:44.045 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.085 +00:00] [INFO] [rollingback.go:559] ["the DDL job is cancelled normally"] [worker="worker 6, tp general"] [category=ddl] [jobID=150] [conn=3] [job="ID:150, Type:add column, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:44.045 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [error="[ddl:8214]Cancelled DDL job"] [2024/05/06 09:31:44.085 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:150, Type:add column, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:44.045 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.087 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=221] [neededSchemaVersion=223] ["start time"=385.855µs] [gotSchemaVersion=223] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:44.088 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=150] [version=223] [2024/05/06 09:31:44.089 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=223] ["take time"=2.891604ms] [job="ID:150, Type:add column, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:44.045 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.090 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:150, Type:add column, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:44.045 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.094 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:150, Type:add column, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:44.045 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.094 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=150] [conn=3] [category=ddl] [job="ID:150, Type:add column, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:44.045 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.094 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:150, Type:add column, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:44.045 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.096 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=223] [neededSchemaVersion=224] ["start time"=443.769µs] [gotSchemaVersion=224] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:44.098 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=150] [version=224] [2024/05/06 09:31:44.098 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=224] ["take time"=2.67982ms] [job="ID:150, Type:add column, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:44.045 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.099 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:150, Type:add column, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:44.045 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.103 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:150, Type:add column, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:44.045 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.103 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=150] [conn=3] [category=ddl] [job="ID:150, Type:add column, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:44.045 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.104 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:150, Type:add column, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:44.045 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.106 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=224] [neededSchemaVersion=225] ["start time"=416.371µs] [gotSchemaVersion=225] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:44.108 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=150] [version=225] [2024/05/06 09:31:44.108 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=225] ["take time"=2.704033ms] [job="ID:150, Type:add column, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:44.045 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.109 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:150, Type:add column, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:44.045 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.113 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=150] [conn=3] [job="ID:150, Type:add column, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:44.045 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.116 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=150] [2024/05/06 09:31:44.116 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:150, Type:add column, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:44.045 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.116 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=150] [2024/05/06 09:31:44.116 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 09:31:44.116 +00:00] [WARN] [session.go:2153] ["run statement failed"] [schemaVersion=219] [error="[ddl:8214]Cancelled DDL job"] [errorVerbose="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).DoDDLJob\n\tpkg/ddl/ddl.go:1293\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AddColumn\n\tpkg/ddl/ddl_api.go:4407\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AlterTable\n\tpkg/ddl/ddl_api.go:3878\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeAlterTable\n\tpkg/executor/ddl.go:388\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:152\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1211\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:960\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:794\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:559\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2280\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:469\ngithub.com/pingcap/tidb/pkg/ddl_test.TestCancel\n\tpkg/ddl/cancel_test.go:289\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 3,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 09:31:44.117 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=225] [cur_db=test] [sql="alter table t add column c4 bigint"] [user=] [2024/05/06 09:31:44.119 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:151, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:44.118 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:31:44.119 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:151, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:44.118 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t add column c4 bigint"] [2024/05/06 09:31:44.127 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:151, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:44.118 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.127 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=151] [conn=3] [category=ddl] [job="ID:151, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:44.118 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.128 +00:00] [INFO] [column.go:135] ["run add column job"] [category=ddl] [job="ID:151, Type:add column, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:44.118 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [columnInfo="{\"id\":8,\"name\":{\"O\":\"c4\",\"L\":\"c4\"},\"offset\":4,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{},\"state\":0,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2}"] [2024/05/06 09:31:44.128 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:151, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:44.118 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.130 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=225] [neededSchemaVersion=226] ["start time"=412.122µs] [gotSchemaVersion=226] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:44.132 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=151] [version=226] [2024/05/06 09:31:44.132 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=226] ["take time"=2.285618ms] [job="ID:151, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:44.118 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.141 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:151, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:44.118 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.145 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:151, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:44.118 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.145 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=151] [conn=3] [category=ddl] [job="ID:151, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:44.118 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.146 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:151, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:44.118 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.147 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=226] [neededSchemaVersion=227] ["start time"=284.053µs] [gotSchemaVersion=227] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:44.149 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=151] [version=227] [2024/05/06 09:31:44.151 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=227] ["take time"=4.17878ms] [job="ID:151, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:44.118 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.152 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:151, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:44.118 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.156 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:151, Type:add column, State:cancelling, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:44.118 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.156 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=151] [conn=3] [category=ddl] [job="ID:151, Type:add column, State:cancelling, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:44.118 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.157 +00:00] [INFO] [rollingback.go:559] ["the DDL job is cancelled normally"] [worker="worker 6, tp general"] [category=ddl] [jobID=151] [conn=3] [job="ID:151, Type:add column, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:44.118 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [error="[ddl:8214]Cancelled DDL job"] [2024/05/06 09:31:44.157 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:151, Type:add column, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:44.118 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.159 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=227] [neededSchemaVersion=228] ["start time"=394.549µs] [gotSchemaVersion=228] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:44.160 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=151] [version=228] [2024/05/06 09:31:44.161 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=228] ["take time"=2.258546ms] [job="ID:151, Type:add column, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:44.118 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.162 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:151, Type:add column, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:44.118 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.172 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:151, Type:add column, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:44.118 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.172 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=151] [conn=3] [category=ddl] [job="ID:151, Type:add column, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:44.118 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.172 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:151, Type:add column, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:44.118 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.175 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=228] [neededSchemaVersion=229] ["start time"=453.58µs] [gotSchemaVersion=229] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:44.176 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=151] [version=229] [2024/05/06 09:31:44.178 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=229] ["take time"=4.295738ms] [job="ID:151, Type:add column, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:44.118 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.179 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:151, Type:add column, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:44.118 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.184 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:151, Type:add column, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:44.118 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.184 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=151] [conn=3] [category=ddl] [job="ID:151, Type:add column, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:44.118 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.184 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:151, Type:add column, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:44.118 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.186 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=229] [neededSchemaVersion=230] ["start time"=382.171µs] [gotSchemaVersion=230] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:44.188 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=151] [version=230] [2024/05/06 09:31:44.189 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=230] ["take time"=3.039018ms] [job="ID:151, Type:add column, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:44.118 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.190 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:151, Type:add column, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:44.118 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.194 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=151] [conn=3] [job="ID:151, Type:add column, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:44.118 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.197 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=151] [2024/05/06 09:31:44.198 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:151, Type:add column, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:44.118 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.200 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=151] [2024/05/06 09:31:44.200 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 09:31:44.200 +00:00] [WARN] [session.go:2153] ["run statement failed"] [schemaVersion=225] [error="[ddl:8214]Cancelled DDL job"] [errorVerbose="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).DoDDLJob\n\tpkg/ddl/ddl.go:1293\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AddColumn\n\tpkg/ddl/ddl_api.go:4407\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AlterTable\n\tpkg/ddl/ddl_api.go:3878\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeAlterTable\n\tpkg/executor/ddl.go:388\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:152\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1211\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:960\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:794\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:559\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2280\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:469\ngithub.com/pingcap/tidb/pkg/ddl_test.TestCancel\n\tpkg/ddl/cancel_test.go:306\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 3,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 09:31:44.210 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=230] [cur_db=test] [sql="alter table t add column c4 bigint"] [user=] [2024/05/06 09:31:44.213 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:152, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:44.212 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:31:44.213 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:152, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:44.212 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t add column c4 bigint"] [2024/05/06 09:31:44.218 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:152, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:44.212 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.218 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=152] [conn=3] [category=ddl] [job="ID:152, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:44.212 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.218 +00:00] [INFO] [column.go:135] ["run add column job"] [category=ddl] [job="ID:152, Type:add column, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:44.212 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [columnInfo="{\"id\":9,\"name\":{\"O\":\"c4\",\"L\":\"c4\"},\"offset\":4,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{},\"state\":0,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2}"] [2024/05/06 09:31:44.218 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:152, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:44.212 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.221 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=230] [neededSchemaVersion=231] ["start time"=414.729µs] [gotSchemaVersion=231] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:44.222 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=152] [version=231] [2024/05/06 09:31:44.222 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=231] ["take time"=2.017186ms] [job="ID:152, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:44.212 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.223 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:152, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:44.212 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.226 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:152, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:44.212 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.227 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=152] [conn=3] [category=ddl] [job="ID:152, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:44.212 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.227 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:152, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:44.212 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.229 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=231] [neededSchemaVersion=232] ["start time"=449.17µs] [gotSchemaVersion=232] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:44.231 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=152] [version=232] [2024/05/06 09:31:44.231 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=232] ["take time"=2.00857ms] [job="ID:152, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:44.212 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.232 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:152, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:44.212 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.235 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:152, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:44.212 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.235 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=152] [conn=3] [category=ddl] [job="ID:152, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:44.212 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.236 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:152, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:44.212 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.238 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=232] [neededSchemaVersion=233] ["start time"=441.334µs] [gotSchemaVersion=233] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:44.239 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=152] [version=233] [2024/05/06 09:31:44.240 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=233] ["take time"=2.23632ms] [job="ID:152, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:44.212 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.241 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:152, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:44.212 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.244 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:152, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:44.212 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.246 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=152] [conn=3] [category=ddl] [job="ID:152, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:44.212 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.247 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:152, Type:add column, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:44.212 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.249 +00:00] [WARN] [session.go:813] ["can not retry txn"] [label=internal] [error="[kv:9007]Write conflict, txnStartTS=449573789170139136, conflictStartTS=449573789170139137, conflictCommitTS=449573789170663424, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=152}, originalKey=748000fffffffffffe5f728000000000000098, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [IsBatchInsert=false] [IsPessimistic=false] [InRestrictedSQL=true] [tidb_retry_limit=10] [tidb_disable_txn_auto_retry=true] [2024/05/06 09:31:44.249 +00:00] [WARN] [session.go:829] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[kv:9007]Write conflict, txnStartTS=449573789170139136, conflictStartTS=449573789170139137, conflictCommitTS=449573789170663424, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=152}, originalKey=748000fffffffffffe5f728000000000000098, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [2024/05/06 09:31:44.249 +00:00] [INFO] [job_table.go:465] ["handle ddl job failed"] [worker="worker 6, tp general"] [category=ddl] [error="[kv:9007]Write conflict, txnStartTS=449573789170139136, conflictStartTS=449573789170139137, conflictCommitTS=449573789170663424, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=152}, originalKey=748000fffffffffffe5f728000000000000098, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [job="ID:152, Type:add column, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:44.212 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.253 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:152, Type:add column, State:cancelling, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:44.212 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.253 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=152] [conn=3] [category=ddl] [job="ID:152, Type:add column, State:cancelling, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:44.212 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.253 +00:00] [INFO] [rollingback.go:559] ["the DDL job is cancelled normally"] [worker="worker 6, tp general"] [category=ddl] [jobID=152] [conn=3] [job="ID:152, Type:add column, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:44.212 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [error="[ddl:8214]Cancelled DDL job"] [2024/05/06 09:31:44.253 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:152, Type:add column, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:44.212 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.255 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=233] [neededSchemaVersion=235] ["start time"=380.786µs] [gotSchemaVersion=235] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:44.257 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=152] [version=235] [2024/05/06 09:31:44.257 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=235] ["take time"=2.042842ms] [job="ID:152, Type:add column, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:44.212 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.258 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:152, Type:add column, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:44.212 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.263 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:152, Type:add column, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:44.212 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.263 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=152] [conn=3] [category=ddl] [job="ID:152, Type:add column, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:44.212 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.264 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:152, Type:add column, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:44.212 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.266 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=235] [neededSchemaVersion=236] ["start time"=453.665µs] [gotSchemaVersion=236] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:44.267 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=152] [version=236] [2024/05/06 09:31:44.268 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=236] ["take time"=2.046895ms] [job="ID:152, Type:add column, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:44.212 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.269 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:152, Type:add column, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:44.212 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.272 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:152, Type:add column, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:44.212 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.272 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=152] [conn=3] [category=ddl] [job="ID:152, Type:add column, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:44.212 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.274 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:152, Type:add column, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:44.212 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.276 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=236] [neededSchemaVersion=237] ["start time"=293.835µs] [gotSchemaVersion=237] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:44.277 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=152] [version=237] [2024/05/06 09:31:44.278 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=237] ["take time"=2.331389ms] [job="ID:152, Type:add column, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:44.212 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.279 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:152, Type:add column, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:44.212 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.284 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=152] [conn=3] [job="ID:152, Type:add column, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:44.212 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.287 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=152] [2024/05/06 09:31:44.287 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=152] [2024/05/06 09:31:44.287 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 09:31:44.287 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:152, Type:add column, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:44.212 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.287 +00:00] [WARN] [session.go:2153] ["run statement failed"] [schemaVersion=230] [error="[ddl:8214]Cancelled DDL job"] [errorVerbose="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).DoDDLJob\n\tpkg/ddl/ddl.go:1293\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AddColumn\n\tpkg/ddl/ddl_api.go:4407\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AlterTable\n\tpkg/ddl/ddl_api.go:3878\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeAlterTable\n\tpkg/executor/ddl.go:388\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:152\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1211\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:960\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:794\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:559\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2280\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:469\ngithub.com/pingcap/tidb/pkg/ddl_test.TestCancel\n\tpkg/ddl/cancel_test.go:289\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 3,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 09:31:44.288 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=237] [cur_db=test] [sql="alter table t add column c4 bigint"] [user=] [2024/05/06 09:31:44.299 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:153, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:44.289 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:31:44.299 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:153, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:44.289 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t add column c4 bigint"] [2024/05/06 09:31:44.305 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:153, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:44.289 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.305 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=153] [conn=3] [category=ddl] [job="ID:153, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:44.289 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.306 +00:00] [INFO] [column.go:135] ["run add column job"] [category=ddl] [job="ID:153, Type:add column, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:44.289 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [columnInfo="{\"id\":10,\"name\":{\"O\":\"c4\",\"L\":\"c4\"},\"offset\":4,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{},\"state\":0,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2}"] [2024/05/06 09:31:44.306 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:153, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:44.289 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.309 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=237] [neededSchemaVersion=238] ["start time"=428.686µs] [gotSchemaVersion=238] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:44.310 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=153] [version=238] [2024/05/06 09:31:44.312 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=238] ["take time"=4.017983ms] [job="ID:153, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:44.289 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.315 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:153, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:44.289 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.322 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:153, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:44.289 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.322 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=153] [conn=3] [category=ddl] [job="ID:153, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:44.289 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.323 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:153, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:44.289 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.325 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=238] [neededSchemaVersion=239] ["start time"=413.095µs] [gotSchemaVersion=239] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:44.326 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=153] [version=239] [2024/05/06 09:31:44.327 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=239] ["take time"=2.494918ms] [job="ID:153, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:44.289 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.328 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:153, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:44.289 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.331 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:153, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:44.289 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.332 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=153] [conn=3] [category=ddl] [job="ID:153, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:44.289 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.332 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:153, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:44.289 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.335 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=239] [neededSchemaVersion=240] ["start time"=412.985µs] [gotSchemaVersion=240] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:44.336 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=153] [version=240] [2024/05/06 09:31:44.340 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=240] ["take time"=5.947439ms] [job="ID:153, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:44.289 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.341 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:153, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:44.289 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.353 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:153, Type:add column, State:cancelling, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:44.289 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.353 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=153] [conn=3] [category=ddl] [job="ID:153, Type:add column, State:cancelling, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:44.289 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.354 +00:00] [INFO] [rollingback.go:559] ["the DDL job is cancelled normally"] [worker="worker 6, tp general"] [category=ddl] [jobID=153] [conn=3] [job="ID:153, Type:add column, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:44.289 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [error="[ddl:8214]Cancelled DDL job"] [2024/05/06 09:31:44.354 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:153, Type:add column, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:44.289 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.356 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=240] [neededSchemaVersion=241] ["start time"=315.859µs] [gotSchemaVersion=241] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:44.358 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=153] [version=241] [2024/05/06 09:31:44.358 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=241] ["take time"=2.217602ms] [job="ID:153, Type:add column, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:44.289 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.359 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:153, Type:add column, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:44.289 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.363 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:153, Type:add column, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:44.289 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.363 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=153] [conn=3] [category=ddl] [job="ID:153, Type:add column, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:44.289 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.364 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:153, Type:add column, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:44.289 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.365 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=241] [neededSchemaVersion=242] ["start time"=320.754µs] [gotSchemaVersion=242] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:44.366 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=153] [version=242] [2024/05/06 09:31:44.367 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=242] ["take time"=2.211085ms] [job="ID:153, Type:add column, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:44.289 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.368 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:153, Type:add column, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:44.289 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.376 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:153, Type:add column, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:44.289 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.376 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=153] [conn=3] [category=ddl] [job="ID:153, Type:add column, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:44.289 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.377 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:153, Type:add column, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:44.289 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.380 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=242] [neededSchemaVersion=243] ["start time"=408.106µs] [gotSchemaVersion=243] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:44.381 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=153] [version=243] [2024/05/06 09:31:44.383 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=243] ["take time"=4.339335ms] [job="ID:153, Type:add column, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:44.289 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.385 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:153, Type:add column, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:44.289 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.390 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=153] [conn=3] [job="ID:153, Type:add column, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:44.289 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.393 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=153] [2024/05/06 09:31:44.393 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:153, Type:add column, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:44.289 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.393 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=153] [2024/05/06 09:31:44.393 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 09:31:44.394 +00:00] [WARN] [session.go:2153] ["run statement failed"] [schemaVersion=237] [error="[ddl:8214]Cancelled DDL job"] [errorVerbose="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).DoDDLJob\n\tpkg/ddl/ddl.go:1293\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AddColumn\n\tpkg/ddl/ddl_api.go:4407\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AlterTable\n\tpkg/ddl/ddl_api.go:3878\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeAlterTable\n\tpkg/executor/ddl.go:388\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:152\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1211\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:960\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:794\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:559\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2280\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:469\ngithub.com/pingcap/tidb/pkg/ddl_test.TestCancel\n\tpkg/ddl/cancel_test.go:306\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 3,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 09:31:44.394 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=243] [cur_db=test] [sql="alter table t add column c4 bigint"] [user=] [2024/05/06 09:31:44.396 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:154, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:44.395 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:31:44.396 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:154, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:44.395 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t add column c4 bigint"] [2024/05/06 09:31:44.405 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:154, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:44.395 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.405 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=154] [conn=3] [category=ddl] [job="ID:154, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:44.395 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.405 +00:00] [INFO] [column.go:135] ["run add column job"] [category=ddl] [job="ID:154, Type:add column, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:44.395 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [columnInfo="{\"id\":11,\"name\":{\"O\":\"c4\",\"L\":\"c4\"},\"offset\":4,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{},\"state\":0,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2}"] [2024/05/06 09:31:44.406 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:154, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:44.395 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.408 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=243] [neededSchemaVersion=244] ["start time"=457.151µs] [gotSchemaVersion=244] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:44.410 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=154] [version=244] [2024/05/06 09:31:44.413 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=244] ["take time"=5.647899ms] [job="ID:154, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:44.395 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.414 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:154, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:44.395 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.418 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:154, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:44.395 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.418 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=154] [conn=3] [category=ddl] [job="ID:154, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:44.395 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.419 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:154, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:44.395 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.421 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=244] [neededSchemaVersion=245] ["start time"=451.545µs] [gotSchemaVersion=245] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:44.422 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=154] [version=245] [2024/05/06 09:31:44.423 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=245] ["take time"=2.653538ms] [job="ID:154, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:44.395 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.424 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:154, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:44.395 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.429 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:154, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:44.395 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.429 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=154] [conn=3] [category=ddl] [job="ID:154, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:44.395 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.430 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:154, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:44.395 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.432 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=245] [neededSchemaVersion=246] ["start time"=448.015µs] [gotSchemaVersion=246] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:44.434 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=154] [version=246] [2024/05/06 09:31:44.436 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=246] ["take time"=4.236261ms] [job="ID:154, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:44.395 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.437 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:154, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:44.395 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.442 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:154, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:44.395 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.442 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=154] [conn=3] [category=ddl] [job="ID:154, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:44.395 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.444 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:154, Type:add column, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:44.395 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.447 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=246] [neededSchemaVersion=247] ["start time"=389.694µs] [gotSchemaVersion=247] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:44.449 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=154] [version=247] [2024/05/06 09:31:44.450 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=247] ["take time"=4.382111ms] [job="ID:154, Type:add column, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:44.395 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.452 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:154, Type:add column, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:44.395 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.465 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=154] [conn=3] [job="ID:154, Type:add column, State:synced, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:44.395 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.476 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:154, Type:add column, State:synced, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:44.395 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.477 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=154] [2024/05/06 09:31:44.477 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:31:44.477 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=247] [cur_db=test] [sql="create table test_create_table(a int)"] [user=] [2024/05/06 09:31:44.480 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:156, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:155, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:44.479 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:31:44.480 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:156, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:155, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:44.479 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table test_create_table(a int)"] [2024/05/06 09:31:44.509 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:156, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:155, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:44.479 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.512 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=156] [conn=3] [category=ddl] [job="ID:156, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:155, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:44.479 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.512 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:156, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:155, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:44.479 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.514 +00:00] [WARN] [session.go:813] ["can not retry txn"] [label=internal] [error="[kv:9007]Write conflict, txnStartTS=449573789239607296, conflictStartTS=449573789239607297, conflictCommitTS=449573789240131584, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=156}, originalKey=748000fffffffffffe5f72800000000000009c, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [IsBatchInsert=false] [IsPessimistic=false] [InRestrictedSQL=true] [tidb_retry_limit=10] [tidb_disable_txn_auto_retry=true] [2024/05/06 09:31:44.514 +00:00] [WARN] [session.go:829] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[kv:9007]Write conflict, txnStartTS=449573789239607296, conflictStartTS=449573789239607297, conflictCommitTS=449573789240131584, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=156}, originalKey=748000fffffffffffe5f72800000000000009c, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [2024/05/06 09:31:44.514 +00:00] [INFO] [job_table.go:465] ["handle ddl job failed"] [worker="worker 6, tp general"] [category=ddl] [error="[kv:9007]Write conflict, txnStartTS=449573789239607296, conflictStartTS=449573789239607297, conflictCommitTS=449573789240131584, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=156}, originalKey=748000fffffffffffe5f72800000000000009c, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [job="ID:156, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:155, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:44.479 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.519 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:156, Type:create table, State:cancelling, SchemaState:none, SchemaID:2, TableID:155, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:44.479 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.519 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=156] [conn=3] [category=ddl] [job="ID:156, Type:create table, State:cancelling, SchemaState:none, SchemaID:2, TableID:155, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:44.479 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.519 +00:00] [INFO] [rollingback.go:559] ["the DDL job is cancelled normally"] [worker="worker 6, tp general"] [category=ddl] [jobID=156] [conn=3] [job="ID:156, Type:create table, State:cancelled, SchemaState:none, SchemaID:2, TableID:155, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:44.479 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [error="[ddl:8214]Cancelled DDL job"] [2024/05/06 09:31:44.519 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:156, Type:create table, State:cancelled, SchemaState:none, SchemaID:2, TableID:155, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:44.479 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.520 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=156] [conn=3] [job="ID:156, Type:create table, State:cancelled, SchemaState:none, SchemaID:2, TableID:155, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:44.479 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.523 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=156] [2024/05/06 09:31:44.523 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 09:31:44.523 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:156, Type:create table, State:cancelled, SchemaState:none, SchemaID:2, TableID:155, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:44.479 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.523 +00:00] [WARN] [session.go:2153] ["run statement failed"] [schemaVersion=247] [error="[ddl:8214]Cancelled DDL job"] [errorVerbose="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).DoDDLJob\n\tpkg/ddl/ddl.go:1293\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTableWithInfo\n\tpkg/ddl/ddl_api.go:2879\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2717\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeCreateTable\n\tpkg/executor/ddl.go:268\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:160\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1211\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:960\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:794\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:559\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2280\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:469\ngithub.com/pingcap/tidb/pkg/ddl_test.TestCancel\n\tpkg/ddl/cancel_test.go:289\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 3,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 09:31:44.523 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=247] [cur_db=test] [sql="create table test_create_table(a int)"] [user=] [2024/05/06 09:31:44.526 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:158, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:157, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:44.525 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:31:44.526 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:158, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:157, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:44.525 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table test_create_table(a int)"] [2024/05/06 09:31:44.540 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:158, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:157, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:44.525 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.540 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=158] [conn=3] [category=ddl] [job="ID:158, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:157, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:44.525 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.543 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:158, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:157, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:44.525 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.546 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=247] [neededSchemaVersion=249] ["start time"=225.257µs] [gotSchemaVersion=249] [phyTblIDs="[157]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:31:44.547 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=158] [version=249] [2024/05/06 09:31:44.548 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=249] ["take time"=3.038061ms] [job="ID:158, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:157, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:44.525 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.549 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:158, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:157, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:44.525 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.555 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=158] [conn=3] [job="ID:158, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:157, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:44.525 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.558 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:158, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:157, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:44.525 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.558 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=158] [2024/05/06 09:31:44.558 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:31:44.558 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=249] [cur_db=test] [sql="drop table test_create_table"] [user=] [2024/05/06 09:31:44.561 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:159, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:157, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:44.559 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:31:44.561 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:159, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:157, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:44.559 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="drop table test_create_table"] [2024/05/06 09:31:44.575 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:159, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:157, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:44.559 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.577 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=159] [conn=3] [category=ddl] [job="ID:159, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:157, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:44.559 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.578 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:159, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:157, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:44.559 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.579 +00:00] [WARN] [session.go:813] ["can not retry txn"] [label=internal] [error="[kv:9007]Write conflict, txnStartTS=449573789256908800, conflictStartTS=449573789256908801, conflictCommitTS=449573789257433089, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=159}, originalKey=748000fffffffffffe5f72800000000000009f, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [IsBatchInsert=false] [IsPessimistic=false] [InRestrictedSQL=true] [tidb_retry_limit=10] [tidb_disable_txn_auto_retry=true] [2024/05/06 09:31:44.579 +00:00] [WARN] [session.go:829] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[kv:9007]Write conflict, txnStartTS=449573789256908800, conflictStartTS=449573789256908801, conflictCommitTS=449573789257433089, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=159}, originalKey=748000fffffffffffe5f72800000000000009f, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [2024/05/06 09:31:44.579 +00:00] [INFO] [job_table.go:465] ["handle ddl job failed"] [worker="worker 6, tp general"] [category=ddl] [error="[kv:9007]Write conflict, txnStartTS=449573789256908800, conflictStartTS=449573789256908801, conflictCommitTS=449573789257433089, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=159}, originalKey=748000fffffffffffe5f72800000000000009f, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [job="ID:159, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:157, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:44.559 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.586 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:159, Type:drop table, State:cancelling, SchemaState:public, SchemaID:2, TableID:157, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:44.559 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.586 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=159] [conn=3] [category=ddl] [job="ID:159, Type:drop table, State:cancelling, SchemaState:public, SchemaID:2, TableID:157, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:44.559 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.586 +00:00] [INFO] [rollingback.go:559] ["the DDL job is cancelled normally"] [worker="worker 6, tp general"] [category=ddl] [jobID=159] [conn=3] [job="ID:159, Type:drop table, State:cancelled, SchemaState:public, SchemaID:2, TableID:157, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:44.559 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [error="[ddl:8214]Cancelled DDL job"] [2024/05/06 09:31:44.586 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:159, Type:drop table, State:cancelled, SchemaState:public, SchemaID:2, TableID:157, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:44.559 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.587 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=159] [conn=3] [job="ID:159, Type:drop table, State:cancelled, SchemaState:public, SchemaID:2, TableID:157, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:44.559 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.590 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:159, Type:drop table, State:cancelled, SchemaState:public, SchemaID:2, TableID:157, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:44.559 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.590 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=159] [2024/05/06 09:31:44.590 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 09:31:44.590 +00:00] [WARN] [session.go:2153] ["run statement failed"] [schemaVersion=249] [error="[ddl:8214]Cancelled DDL job"] [errorVerbose="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).DoDDLJob\n\tpkg/ddl/ddl.go:1293\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).dropTableObject\n\tpkg/ddl/ddl_api.go:7048\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).DropTable\n\tpkg/ddl/ddl_api.go:7082\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeDropTable\n\tpkg/executor/ddl.go:349\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:171\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1211\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:960\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:794\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:559\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2280\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:469\ngithub.com/pingcap/tidb/pkg/ddl_test.TestCancel\n\tpkg/ddl/cancel_test.go:289\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 3,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 09:31:44.591 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=249] [cur_db=test] [sql="create table if not exists test_create_table(a int)"] [user=] [2024/05/06 09:31:44.591 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=249] [cur_db=test] [sql="drop table test_create_table"] [user=] [2024/05/06 09:31:44.593 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:160, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:157, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:44.592 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:31:44.593 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:160, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:157, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:44.592 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="drop table test_create_table"] [2024/05/06 09:31:44.609 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:160, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:157, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:44.592 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.609 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=160] [conn=3] [category=ddl] [job="ID:160, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:157, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:44.592 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.609 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:160, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:157, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:44.592 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.611 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=249] [neededSchemaVersion=251] ["start time"=107.073µs] [gotSchemaVersion=251] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/06 09:31:44.612 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=160] [version=251] [2024/05/06 09:31:44.613 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=251] ["take time"=2.030818ms] [job="ID:160, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:157, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:44.592 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.620 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:160, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:157, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:44.592 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.627 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:160, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:157, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:44.592 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.629 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=160] [conn=3] [category=ddl] [job="ID:160, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:157, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:44.592 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.629 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:160, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:157, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:44.592 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.631 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=251] [neededSchemaVersion=252] ["start time"=40.941µs] [gotSchemaVersion=252] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/06 09:31:44.633 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=160] [version=252] [2024/05/06 09:31:44.633 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=252] ["take time"=2.626846ms] [job="ID:160, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:157, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:44.592 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.635 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:160, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:157, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:44.592 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.639 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:160, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:157, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:44.592 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.639 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=160] [conn=3] [category=ddl] [job="ID:160, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:157, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:44.592 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.640 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:160, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:157, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:44.592 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.643 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=252] [neededSchemaVersion=253] ["start time"=39.081µs] [gotSchemaVersion=253] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/06 09:31:44.644 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=160] [version=253] [2024/05/06 09:31:44.645 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=253] ["take time"=2.774588ms] [job="ID:160, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:157, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:44.592 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.646 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:160, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:157, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:44.592 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.650 +00:00] [INFO] [delete_range.go:447] ["insert into delete-range table"] [category=ddl] [jobID=160] [tableIDs="[157]"] [comment="drop table: table ID"] [2024/05/06 09:31:44.651 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=160] [jobType="drop table"] [2024/05/06 09:31:44.652 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=160] [conn=3] [job="ID:160, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:157, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:44.592 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.654 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:160, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:157, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:44.592 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.655 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=160] [elementID=1] [startKey=74800000000000009d] [endKey=74800000000000009e] [2024/05/06 09:31:44.656 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=160] [2024/05/06 09:31:44.656 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:31:44.657 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=253] [cur_db=test] [sql="create table if not exists test_create_table(a int)"] [user=] [2024/05/06 09:31:44.659 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:162, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:161, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:44.658 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:31:44.659 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:162, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:161, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:44.658 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table if not exists test_create_table(a int)"] [2024/05/06 09:31:44.669 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:162, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:161, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:44.658 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.669 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=162] [conn=3] [category=ddl] [job="ID:162, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:161, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:44.658 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.669 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:162, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:161, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:44.658 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.679 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=253] [neededSchemaVersion=254] ["start time"=208.973µs] [gotSchemaVersion=254] [phyTblIDs="[161]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:31:44.682 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=162] [version=254] [2024/05/06 09:31:44.684 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=254] ["take time"=4.809913ms] [job="ID:162, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:161, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:44.658 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.691 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:162, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:161, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:44.658 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.698 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=162] [conn=3] [job="ID:162, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:161, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:44.658 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.701 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:162, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:161, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:44.658 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.701 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=162] [2024/05/06 09:31:44.702 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:31:44.702 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=254] [cur_db=test] [sql="drop table test_create_table"] [user=] [2024/05/06 09:31:44.704 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:163, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:161, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:44.703 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:31:44.704 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:163, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:161, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:44.703 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="drop table test_create_table"] [2024/05/06 09:31:44.716 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:163, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:161, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:44.703 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.716 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=163] [conn=3] [category=ddl] [job="ID:163, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:161, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:44.703 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.716 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:163, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:161, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:44.703 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.718 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=254] [neededSchemaVersion=255] ["start time"=87.115µs] [gotSchemaVersion=255] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/06 09:31:44.720 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=163] [version=255] [2024/05/06 09:31:44.720 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=255] ["take time"=2.041374ms] [job="ID:163, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:161, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:44.703 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.721 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:163, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:161, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:44.703 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.745 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:163, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:161, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:44.703 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.745 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=163] [conn=3] [category=ddl] [job="ID:163, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:161, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:44.703 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.745 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:163, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:161, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:44.703 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.747 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=255] [neededSchemaVersion=256] ["start time"=47.517µs] [gotSchemaVersion=256] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/06 09:31:44.748 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=163] [version=256] [2024/05/06 09:31:44.752 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=256] ["take time"=5.003316ms] [job="ID:163, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:161, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:44.703 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.753 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:163, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:161, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:44.703 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.758 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:163, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:161, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:44.703 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.758 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=163] [conn=3] [category=ddl] [job="ID:163, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:161, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:44.703 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.758 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:163, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:161, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:44.703 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.760 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=256] [neededSchemaVersion=257] ["start time"=41.291µs] [gotSchemaVersion=257] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/06 09:31:44.762 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=163] [version=257] [2024/05/06 09:31:44.762 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=257] ["take time"=2.153592ms] [job="ID:163, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:161, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:44.703 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.763 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:163, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:161, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:44.703 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.774 +00:00] [INFO] [delete_range.go:447] ["insert into delete-range table"] [category=ddl] [jobID=163] [tableIDs="[161]"] [comment="drop table: table ID"] [2024/05/06 09:31:44.776 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=163] [jobType="drop table"] [2024/05/06 09:31:44.777 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=163] [conn=3] [job="ID:163, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:161, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:44.703 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.782 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=163] [elementID=1] [startKey=7480000000000000a1] [endKey=7480000000000000a2] [2024/05/06 09:31:44.782 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:163, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:161, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:44.703 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.785 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=163] [2024/05/06 09:31:44.785 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:31:44.785 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=257] [cur_db=test] [sql="create table if not exists test_create_table(a int)"] [user=] [2024/05/06 09:31:44.789 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:165, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:164, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:44.787 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:31:44.789 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:165, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:164, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:44.787 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table if not exists test_create_table(a int)"] [2024/05/06 09:31:44.799 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:165, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:164, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:44.787 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.799 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=165] [conn=3] [category=ddl] [job="ID:165, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:164, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:44.787 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.800 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:165, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:164, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:44.787 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.803 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=257] [neededSchemaVersion=258] ["start time"=213.567µs] [gotSchemaVersion=258] [phyTblIDs="[164]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:31:44.804 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=165] [version=258] [2024/05/06 09:31:44.805 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=258] ["take time"=3.126364ms] [job="ID:165, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:164, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:44.787 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.806 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:165, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:164, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:44.787 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.815 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=165] [conn=3] [job="ID:165, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:164, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:44.787 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.819 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=165] [2024/05/06 09:31:44.819 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:31:44.819 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:165, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:164, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:44.787 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.819 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=258] [cur_db=test] [sql="drop table test_create_table"] [user=] [2024/05/06 09:31:44.822 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:166, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:164, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:44.821 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:31:44.822 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:166, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:164, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:44.821 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="drop table test_create_table"] [2024/05/06 09:31:44.832 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:166, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:164, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:44.821 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.832 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=166] [conn=3] [category=ddl] [job="ID:166, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:164, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:44.821 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.832 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:166, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:164, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:44.821 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.834 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=258] [neededSchemaVersion=259] ["start time"=79.636µs] [gotSchemaVersion=259] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/06 09:31:44.836 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=166] [version=259] [2024/05/06 09:31:44.839 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=259] ["take time"=4.684712ms] [job="ID:166, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:164, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:44.821 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.840 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:166, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:164, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:44.821 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.845 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:166, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:164, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:44.821 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.845 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=166] [conn=3] [category=ddl] [job="ID:166, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:164, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:44.821 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.846 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:166, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:164, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:44.821 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.847 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=259] [neededSchemaVersion=260] ["start time"=40.675µs] [gotSchemaVersion=260] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/06 09:31:44.849 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=166] [version=260] [2024/05/06 09:31:44.851 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=260] ["take time"=4.032935ms] [job="ID:166, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:164, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:44.821 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.854 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:166, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:164, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:44.821 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.858 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:166, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:164, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:44.821 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.859 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=166] [conn=3] [category=ddl] [job="ID:166, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:164, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:44.821 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.860 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:166, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:164, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:44.821 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.861 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=260] [neededSchemaVersion=261] ["start time"=43.043µs] [gotSchemaVersion=261] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/06 09:31:44.863 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=166] [version=261] [2024/05/06 09:31:44.864 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=261] ["take time"=2.580385ms] [job="ID:166, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:164, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:44.821 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.864 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:166, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:164, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:44.821 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.870 +00:00] [INFO] [delete_range.go:447] ["insert into delete-range table"] [category=ddl] [jobID=166] [tableIDs="[164]"] [comment="drop table: table ID"] [2024/05/06 09:31:44.871 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=166] [jobType="drop table"] [2024/05/06 09:31:44.871 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=166] [conn=3] [job="ID:166, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:164, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:44.821 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.874 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:166, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:164, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:44.821 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.874 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=166] [elementID=1] [startKey=7480000000000000a4] [endKey=7480000000000000a5] [2024/05/06 09:31:44.876 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=166] [2024/05/06 09:31:44.877 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:31:44.877 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=261] [cur_db=test] [sql="create table if not exists test_create_table(a int)"] [user=] [2024/05/06 09:31:44.880 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:168, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:167, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:44.879 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:31:44.880 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:168, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:167, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:44.879 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table if not exists test_create_table(a int)"] [2024/05/06 09:31:44.889 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:168, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:167, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:44.879 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.889 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=168] [conn=3] [category=ddl] [job="ID:168, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:167, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:44.879 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.895 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:168, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:167, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:44.879 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.898 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=261] [neededSchemaVersion=262] ["start time"=232.256µs] [gotSchemaVersion=262] [phyTblIDs="[167]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:31:44.900 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=168] [version=262] [2024/05/06 09:31:44.905 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=262] ["take time"=7.030262ms] [job="ID:168, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:167, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:44.879 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.909 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:168, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:167, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:44.879 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.915 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=168] [conn=3] [job="ID:168, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:167, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:44.879 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.918 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:168, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:167, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:44.879 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.918 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=168] [2024/05/06 09:31:44.918 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:31:44.919 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=262] [cur_db=test] [sql="drop table test_create_table"] [user=] [2024/05/06 09:31:44.921 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:169, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:167, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:44.92 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:31:44.921 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:169, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:167, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:44.92 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="drop table test_create_table"] [2024/05/06 09:31:44.926 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:169, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:167, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:44.92 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.926 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=169] [conn=3] [category=ddl] [job="ID:169, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:167, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:44.92 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.927 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:169, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:167, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:44.92 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.929 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=262] [neededSchemaVersion=263] ["start time"=85.559µs] [gotSchemaVersion=263] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/06 09:31:44.931 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=169] [version=263] [2024/05/06 09:31:44.934 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=263] ["take time"=5.246983ms] [job="ID:169, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:167, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:44.92 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.937 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:169, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:167, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:44.92 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.942 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:169, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:167, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:44.92 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.943 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=169] [conn=3] [category=ddl] [job="ID:169, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:167, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:44.92 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.953 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:169, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:167, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:44.92 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.955 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=263] [neededSchemaVersion=264] ["start time"=62.965µs] [gotSchemaVersion=264] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/06 09:31:44.957 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=169] [version=264] [2024/05/06 09:31:44.957 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=264] ["take time"=2.153443ms] [job="ID:169, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:167, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:44.92 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.958 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:169, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:167, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:44.92 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.966 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:169, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:167, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:44.92 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.966 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=169] [conn=3] [category=ddl] [job="ID:169, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:167, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:44.92 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.967 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:169, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:167, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:44.92 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.971 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=264] [neededSchemaVersion=265] ["start time"=47.256µs] [gotSchemaVersion=265] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/06 09:31:44.972 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=169] [version=265] [2024/05/06 09:31:44.973 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=265] ["take time"=2.870361ms] [job="ID:169, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:167, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:44.92 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.978 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:169, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:167, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:44.92 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.981 +00:00] [INFO] [delete_range.go:447] ["insert into delete-range table"] [category=ddl] [jobID=169] [tableIDs="[167]"] [comment="drop table: table ID"] [2024/05/06 09:31:44.983 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=169] [jobType="drop table"] [2024/05/06 09:31:44.983 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=169] [conn=3] [job="ID:169, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:167, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:44.92 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.986 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:169, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:167, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:44.92 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:44.988 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=169] [elementID=1] [startKey=7480000000000000a7] [endKey=7480000000000000a8] [2024/05/06 09:31:44.988 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=169] [2024/05/06 09:31:44.989 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:31:44.989 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=265] [cur_db=test] [sql="create table if not exists test_create_table(a int)"] [user=] [2024/05/06 09:31:44.992 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:171, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:170, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:44.991 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:31:44.992 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:171, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:170, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:44.991 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table if not exists test_create_table(a int)"] [2024/05/06 09:31:45.003 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:171, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:170, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:44.991 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.003 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=171] [conn=3] [category=ddl] [job="ID:171, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:170, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:44.991 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.004 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:171, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:170, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:44.991 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.006 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=265] [neededSchemaVersion=266] ["start time"=199.06µs] [gotSchemaVersion=266] [phyTblIDs="[170]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:31:45.008 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=171] [version=266] [2024/05/06 09:31:45.010 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=266] ["take time"=4.257709ms] [job="ID:171, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:170, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:44.991 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.011 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:171, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:170, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:44.991 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.030 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=171] [conn=3] [job="ID:171, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:170, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:44.991 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.035 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:171, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:170, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:44.991 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.035 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=171] [2024/05/06 09:31:45.035 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:31:45.036 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=266] [cur_db=test] [sql="drop table test_create_table"] [user=] [2024/05/06 09:31:45.040 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:172, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:170, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:45.038 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:31:45.040 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:172, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:170, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:45.038 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="drop table test_create_table"] [2024/05/06 09:31:45.058 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:172, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:170, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:45.038 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.058 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=172] [conn=3] [category=ddl] [job="ID:172, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:170, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:45.038 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.059 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:172, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:170, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:45.038 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.072 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=266] [neededSchemaVersion=267] ["start time"=121.706µs] [gotSchemaVersion=267] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/06 09:31:45.074 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=172] [version=267] [2024/05/06 09:31:45.075 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=267] ["take time"=4.021448ms] [job="ID:172, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:170, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:45.038 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.076 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:172, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:170, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:45.038 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.135 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:172, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:170, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:45.038 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.135 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=172] [conn=3] [category=ddl] [job="ID:172, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:170, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:45.038 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.136 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:172, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:170, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:45.038 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.138 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=267] [neededSchemaVersion=268] ["start time"=48.25µs] [gotSchemaVersion=268] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/06 09:31:45.139 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=172] [version=268] [2024/05/06 09:31:45.139 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=268] ["take time"=2.113195ms] [job="ID:172, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:170, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:45.038 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.141 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:172, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:170, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:45.038 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.146 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:172, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:170, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:45.038 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.146 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=172] [conn=3] [category=ddl] [job="ID:172, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:170, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:45.038 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.149 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:172, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:170, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:45.038 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.150 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=268] [neededSchemaVersion=269] ["start time"=45.101µs] [gotSchemaVersion=269] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/06 09:31:45.152 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=172] [version=269] [2024/05/06 09:31:45.153 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=269] ["take time"=2.994503ms] [job="ID:172, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:170, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:45.038 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.154 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:172, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:170, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:45.038 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.163 +00:00] [INFO] [delete_range.go:447] ["insert into delete-range table"] [category=ddl] [jobID=172] [tableIDs="[170]"] [comment="drop table: table ID"] [2024/05/06 09:31:45.165 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=172] [jobType="drop table"] [2024/05/06 09:31:45.165 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=172] [conn=3] [job="ID:172, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:170, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:45.038 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.168 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:172, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:170, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:45.038 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.169 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=172] [elementID=1] [startKey=7480000000000000aa] [endKey=7480000000000000ab] [2024/05/06 09:31:45.171 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=172] [2024/05/06 09:31:45.171 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:31:45.172 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=269] [cur_db=test] [sql="create database test_create_db"] [user=] [2024/05/06 09:31:45.175 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:174, Type:create schema, State:queueing, SchemaState:none, SchemaID:173, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:45.173 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:31:45.175 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:174, Type:create schema, State:queueing, SchemaState:none, SchemaID:173, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:45.173 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create database test_create_db"] [2024/05/06 09:31:45.188 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:174, Type:create schema, State:queueing, SchemaState:none, SchemaID:173, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:45.173 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.190 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=174] [conn=3] [category=ddl] [job="ID:174, Type:create schema, State:queueing, SchemaState:none, SchemaID:173, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:45.173 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.191 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:174, Type:create schema, State:done, SchemaState:public, SchemaID:173, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:45.173 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.192 +00:00] [WARN] [session.go:813] ["can not retry txn"] [label=internal] [error="[kv:9007]Write conflict, txnStartTS=449573789417603072, conflictStartTS=449573789417603073, conflictCommitTS=449573789418127360, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=174}, originalKey=748000fffffffffffe5f7280000000000000ae, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [IsBatchInsert=false] [IsPessimistic=false] [InRestrictedSQL=true] [tidb_retry_limit=10] [tidb_disable_txn_auto_retry=true] [2024/05/06 09:31:45.192 +00:00] [WARN] [session.go:829] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[kv:9007]Write conflict, txnStartTS=449573789417603072, conflictStartTS=449573789417603073, conflictCommitTS=449573789418127360, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=174}, originalKey=748000fffffffffffe5f7280000000000000ae, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [2024/05/06 09:31:45.192 +00:00] [INFO] [job_table.go:465] ["handle ddl job failed"] [worker="worker 6, tp general"] [category=ddl] [error="[kv:9007]Write conflict, txnStartTS=449573789417603072, conflictStartTS=449573789417603073, conflictCommitTS=449573789418127360, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=174}, originalKey=748000fffffffffffe5f7280000000000000ae, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [job="ID:174, Type:create schema, State:done, SchemaState:public, SchemaID:173, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:45.173 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.198 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:174, Type:create schema, State:cancelling, SchemaState:none, SchemaID:173, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:45.173 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.198 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=174] [conn=3] [category=ddl] [job="ID:174, Type:create schema, State:cancelling, SchemaState:none, SchemaID:173, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:45.173 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.198 +00:00] [INFO] [rollingback.go:559] ["the DDL job is cancelled normally"] [worker="worker 6, tp general"] [category=ddl] [jobID=174] [conn=3] [job="ID:174, Type:create schema, State:cancelled, SchemaState:none, SchemaID:173, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:45.173 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [error="[ddl:8214]Cancelled DDL job"] [2024/05/06 09:31:45.199 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:174, Type:create schema, State:cancelled, SchemaState:none, SchemaID:173, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:45.173 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.199 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=174] [conn=3] [job="ID:174, Type:create schema, State:cancelled, SchemaState:none, SchemaID:173, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:45.173 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.202 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:174, Type:create schema, State:cancelled, SchemaState:none, SchemaID:173, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:45.173 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.205 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=174] [2024/05/06 09:31:45.205 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 09:31:45.205 +00:00] [WARN] [session.go:2153] ["run statement failed"] [schemaVersion=269] [error="[ddl:8214]Cancelled DDL job"] [errorVerbose="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).DoDDLJob\n\tpkg/ddl/ddl.go:1293\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateSchemaWithInfo\n\tpkg/ddl/ddl_api.go:226\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateSchema\n\tpkg/ddl/ddl_api.go:174\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeCreateDatabase\n\tpkg/executor/ddl.go:258\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:156\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1211\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:960\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:794\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:559\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2280\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:469\ngithub.com/pingcap/tidb/pkg/ddl_test.TestCancel\n\tpkg/ddl/cancel_test.go:289\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 3,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 09:31:45.206 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=269] [cur_db=test] [sql="create database test_create_db"] [user=] [2024/05/06 09:31:45.208 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:176, Type:create schema, State:queueing, SchemaState:none, SchemaID:175, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:45.207 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:31:45.208 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:176, Type:create schema, State:queueing, SchemaState:none, SchemaID:175, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:45.207 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create database test_create_db"] [2024/05/06 09:31:45.225 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:176, Type:create schema, State:queueing, SchemaState:none, SchemaID:175, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:45.207 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.225 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=176] [conn=3] [category=ddl] [job="ID:176, Type:create schema, State:queueing, SchemaState:none, SchemaID:175, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:45.207 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.226 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:176, Type:create schema, State:done, SchemaState:public, SchemaID:175, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:45.207 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.229 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=269] [neededSchemaVersion=271] ["start time"=119.886µs] [gotSchemaVersion=271] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2024/05/06 09:31:45.230 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=176] [version=271] [2024/05/06 09:31:45.231 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=271] ["take time"=2.077669ms] [job="ID:176, Type:create schema, State:done, SchemaState:public, SchemaID:175, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:45.207 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.232 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:176, Type:create schema, State:done, SchemaState:public, SchemaID:175, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:45.207 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.239 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=176] [conn=3] [job="ID:176, Type:create schema, State:synced, SchemaState:public, SchemaID:175, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:45.207 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.247 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:176, Type:create schema, State:synced, SchemaState:public, SchemaID:175, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:45.207 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.247 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=176] [2024/05/06 09:31:45.247 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:31:45.248 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=271] [cur_db=test] [sql="drop database test_create_db"] [user=] [2024/05/06 09:31:45.256 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:177, Type:drop schema, State:queueing, SchemaState:public, SchemaID:175, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:45.249 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:31:45.256 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:177, Type:drop schema, State:queueing, SchemaState:public, SchemaID:175, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:45.249 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="drop database test_create_db"] [2024/05/06 09:31:45.264 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:177, Type:drop schema, State:queueing, SchemaState:public, SchemaID:175, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:45.249 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.266 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=177] [conn=3] [category=ddl] [job="ID:177, Type:drop schema, State:queueing, SchemaState:public, SchemaID:175, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:45.249 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.266 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:177, Type:drop schema, State:running, SchemaState:write only, SchemaID:175, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:45.249 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.268 +00:00] [WARN] [session.go:813] ["can not retry txn"] [label=internal] [error="[kv:9007]Write conflict, txnStartTS=449573789437526016, conflictStartTS=449573789437526017, conflictCommitTS=449573789437788160, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=177}, originalKey=748000fffffffffffe5f7280000000000000b1, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [IsBatchInsert=false] [IsPessimistic=false] [InRestrictedSQL=true] [tidb_retry_limit=10] [tidb_disable_txn_auto_retry=true] [2024/05/06 09:31:45.268 +00:00] [WARN] [session.go:829] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[kv:9007]Write conflict, txnStartTS=449573789437526016, conflictStartTS=449573789437526017, conflictCommitTS=449573789437788160, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=177}, originalKey=748000fffffffffffe5f7280000000000000b1, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [2024/05/06 09:31:45.268 +00:00] [INFO] [job_table.go:465] ["handle ddl job failed"] [worker="worker 6, tp general"] [category=ddl] [error="[kv:9007]Write conflict, txnStartTS=449573789437526016, conflictStartTS=449573789437526017, conflictCommitTS=449573789437788160, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=177}, originalKey=748000fffffffffffe5f7280000000000000b1, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [job="ID:177, Type:drop schema, State:running, SchemaState:write only, SchemaID:175, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:45.249 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.284 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:177, Type:drop schema, State:cancelling, SchemaState:public, SchemaID:175, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:45.249 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.284 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=177] [conn=3] [category=ddl] [job="ID:177, Type:drop schema, State:cancelling, SchemaState:public, SchemaID:175, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:45.249 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.285 +00:00] [INFO] [rollingback.go:559] ["the DDL job is cancelled normally"] [worker="worker 6, tp general"] [category=ddl] [jobID=177] [conn=3] [job="ID:177, Type:drop schema, State:cancelled, SchemaState:public, SchemaID:175, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:45.249 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [error="[ddl:8214]Cancelled DDL job"] [2024/05/06 09:31:45.285 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:177, Type:drop schema, State:cancelled, SchemaState:public, SchemaID:175, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:45.249 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.285 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=177] [conn=3] [job="ID:177, Type:drop schema, State:cancelled, SchemaState:public, SchemaID:175, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:45.249 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.287 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=177] [2024/05/06 09:31:45.287 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:177, Type:drop schema, State:cancelled, SchemaState:public, SchemaID:175, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:45.249 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.287 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 09:31:45.288 +00:00] [WARN] [session.go:2153] ["run statement failed"] [schemaVersion=271] [error="[ddl:8214]Cancelled DDL job"] [errorVerbose="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).DoDDLJob\n\tpkg/ddl/ddl.go:1293\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).DropSchema\n\tpkg/ddl/ddl_api.go:648\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeDropDatabase\n\tpkg/executor/ddl.go:332\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:166\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1211\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:960\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:794\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:559\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2280\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:469\ngithub.com/pingcap/tidb/pkg/ddl_test.TestCancel\n\tpkg/ddl/cancel_test.go:289\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 3,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 09:31:45.288 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=271] [cur_db=test] [sql="create database if not exists test_create_db"] [user=] [2024/05/06 09:31:45.288 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=271] [cur_db=test] [sql="drop database test_create_db"] [user=] [2024/05/06 09:31:45.294 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:178, Type:drop schema, State:queueing, SchemaState:public, SchemaID:175, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:45.29 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:31:45.294 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:178, Type:drop schema, State:queueing, SchemaState:public, SchemaID:175, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:45.29 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="drop database test_create_db"] [2024/05/06 09:31:45.302 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:178, Type:drop schema, State:queueing, SchemaState:public, SchemaID:175, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:45.29 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.302 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=178] [conn=3] [category=ddl] [job="ID:178, Type:drop schema, State:queueing, SchemaState:public, SchemaID:175, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:45.29 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.303 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:178, Type:drop schema, State:running, SchemaState:write only, SchemaID:175, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:45.29 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.305 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=271] [neededSchemaVersion=273] ["start time"=367.428µs] [gotSchemaVersion=273] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2024/05/06 09:31:45.306 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=178] [version=273] [2024/05/06 09:31:45.309 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=273] ["take time"=4.867233ms] [job="ID:178, Type:drop schema, State:running, SchemaState:write only, SchemaID:175, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:45.29 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.310 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:178, Type:drop schema, State:running, SchemaState:write only, SchemaID:175, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:45.29 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.315 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:178, Type:drop schema, State:running, SchemaState:write only, SchemaID:175, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:45.29 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.316 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=178] [conn=3] [category=ddl] [job="ID:178, Type:drop schema, State:running, SchemaState:write only, SchemaID:175, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:45.29 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.317 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:178, Type:drop schema, State:running, SchemaState:delete only, SchemaID:175, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:45.29 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.319 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=273] [neededSchemaVersion=274] ["start time"=37.291µs] [gotSchemaVersion=274] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2024/05/06 09:31:45.322 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=178] [version=274] [2024/05/06 09:31:45.323 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=274] ["take time"=4.636966ms] [job="ID:178, Type:drop schema, State:running, SchemaState:delete only, SchemaID:175, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:45.29 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.324 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:178, Type:drop schema, State:running, SchemaState:delete only, SchemaID:175, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:45.29 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.328 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:178, Type:drop schema, State:running, SchemaState:delete only, SchemaID:175, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:45.29 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.329 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=178] [conn=3] [category=ddl] [job="ID:178, Type:drop schema, State:running, SchemaState:delete only, SchemaID:175, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:45.29 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.329 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:178, Type:drop schema, State:done, SchemaState:none, SchemaID:175, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:45.29 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.331 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=274] [neededSchemaVersion=275] ["start time"=32.585µs] [gotSchemaVersion=275] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2024/05/06 09:31:45.332 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=178] [version=275] [2024/05/06 09:31:45.350 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=275] ["take time"=19.410371ms] [job="ID:178, Type:drop schema, State:done, SchemaState:none, SchemaID:175, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:45.29 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.351 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:178, Type:drop schema, State:done, SchemaState:none, SchemaID:175, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:45.29 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.355 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=178] [jobType="drop schema"] [2024/05/06 09:31:45.356 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=178] [conn=3] [job="ID:178, Type:drop schema, State:synced, SchemaState:none, SchemaID:175, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:45.29 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.359 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:178, Type:drop schema, State:synced, SchemaState:none, SchemaID:175, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:45.29 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.362 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=178] [2024/05/06 09:31:45.362 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:31:45.362 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=275] [cur_db=test] [sql="create database if not exists test_create_db"] [user=] [2024/05/06 09:31:45.367 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:180, Type:create schema, State:queueing, SchemaState:none, SchemaID:179, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:45.365 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:31:45.367 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:180, Type:create schema, State:queueing, SchemaState:none, SchemaID:179, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:45.365 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create database if not exists test_create_db"] [2024/05/06 09:31:45.374 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:180, Type:create schema, State:queueing, SchemaState:none, SchemaID:179, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:45.365 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.374 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=180] [conn=3] [category=ddl] [job="ID:180, Type:create schema, State:queueing, SchemaState:none, SchemaID:179, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:45.365 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.376 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:180, Type:create schema, State:done, SchemaState:public, SchemaID:179, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:45.365 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.377 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=275] [neededSchemaVersion=276] ["start time"=74.322µs] [gotSchemaVersion=276] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2024/05/06 09:31:45.379 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=180] [version=276] [2024/05/06 09:31:45.380 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=276] ["take time"=3.130567ms] [job="ID:180, Type:create schema, State:done, SchemaState:public, SchemaID:179, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:45.365 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.381 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:180, Type:create schema, State:done, SchemaState:public, SchemaID:179, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:45.365 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.388 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=180] [conn=3] [job="ID:180, Type:create schema, State:synced, SchemaState:public, SchemaID:179, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:45.365 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.391 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:180, Type:create schema, State:synced, SchemaState:public, SchemaID:179, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:45.365 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.391 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=180] [2024/05/06 09:31:45.391 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:31:45.391 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=276] [cur_db=test] [sql="drop database test_create_db"] [user=] [2024/05/06 09:31:45.394 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:181, Type:drop schema, State:queueing, SchemaState:public, SchemaID:179, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:45.392 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:31:45.394 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:181, Type:drop schema, State:queueing, SchemaState:public, SchemaID:179, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:45.392 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="drop database test_create_db"] [2024/05/06 09:31:45.403 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:181, Type:drop schema, State:queueing, SchemaState:public, SchemaID:179, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:45.392 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.403 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=181] [conn=3] [category=ddl] [job="ID:181, Type:drop schema, State:queueing, SchemaState:public, SchemaID:179, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:45.392 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.405 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:181, Type:drop schema, State:running, SchemaState:write only, SchemaID:179, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:45.392 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.407 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=276] [neededSchemaVersion=277] ["start time"=136.104µs] [gotSchemaVersion=277] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2024/05/06 09:31:45.408 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=181] [version=277] [2024/05/06 09:31:45.409 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=277] ["take time"=2.73663ms] [job="ID:181, Type:drop schema, State:running, SchemaState:write only, SchemaID:179, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:45.392 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.410 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:181, Type:drop schema, State:running, SchemaState:write only, SchemaID:179, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:45.392 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.415 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:181, Type:drop schema, State:running, SchemaState:write only, SchemaID:179, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:45.392 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.415 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=181] [conn=3] [category=ddl] [job="ID:181, Type:drop schema, State:running, SchemaState:write only, SchemaID:179, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:45.392 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.416 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:181, Type:drop schema, State:running, SchemaState:delete only, SchemaID:179, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:45.392 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.418 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=277] [neededSchemaVersion=278] ["start time"=38.153µs] [gotSchemaVersion=278] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2024/05/06 09:31:45.420 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=181] [version=278] [2024/05/06 09:31:45.425 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=278] ["take time"=7.129037ms] [job="ID:181, Type:drop schema, State:running, SchemaState:delete only, SchemaID:179, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:45.392 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.426 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:181, Type:drop schema, State:running, SchemaState:delete only, SchemaID:179, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:45.392 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.430 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:181, Type:drop schema, State:running, SchemaState:delete only, SchemaID:179, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:45.392 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.430 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=181] [conn=3] [category=ddl] [job="ID:181, Type:drop schema, State:running, SchemaState:delete only, SchemaID:179, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:45.392 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.431 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:181, Type:drop schema, State:done, SchemaState:none, SchemaID:179, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:45.392 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.433 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=278] [neededSchemaVersion=279] ["start time"=36.925µs] [gotSchemaVersion=279] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2024/05/06 09:31:45.434 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=181] [version=279] [2024/05/06 09:31:45.437 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=279] ["take time"=3.922056ms] [job="ID:181, Type:drop schema, State:done, SchemaState:none, SchemaID:179, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:45.392 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.439 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:181, Type:drop schema, State:done, SchemaState:none, SchemaID:179, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:45.392 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.442 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=181] [jobType="drop schema"] [2024/05/06 09:31:45.442 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=181] [conn=3] [job="ID:181, Type:drop schema, State:synced, SchemaState:none, SchemaID:179, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:45.392 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.447 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:181, Type:drop schema, State:synced, SchemaState:none, SchemaID:179, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:45.392 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.450 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=181] [2024/05/06 09:31:45.450 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:31:45.450 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=279] [cur_db=test] [sql="create database if not exists test_create_db"] [user=] [2024/05/06 09:31:45.465 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:183, Type:create schema, State:queueing, SchemaState:none, SchemaID:182, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:45.459 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:31:45.465 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:183, Type:create schema, State:queueing, SchemaState:none, SchemaID:182, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:45.459 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create database if not exists test_create_db"] [2024/05/06 09:31:45.478 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:183, Type:create schema, State:queueing, SchemaState:none, SchemaID:182, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:45.459 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.478 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=183] [conn=3] [category=ddl] [job="ID:183, Type:create schema, State:queueing, SchemaState:none, SchemaID:182, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:45.459 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.478 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:183, Type:create schema, State:done, SchemaState:public, SchemaID:182, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:45.459 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.480 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=279] [neededSchemaVersion=280] ["start time"=87.563µs] [gotSchemaVersion=280] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2024/05/06 09:31:45.482 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=183] [version=280] [2024/05/06 09:31:45.484 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=280] ["take time"=4.287752ms] [job="ID:183, Type:create schema, State:done, SchemaState:public, SchemaID:182, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:45.459 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.491 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:183, Type:create schema, State:done, SchemaState:public, SchemaID:182, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:45.459 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.498 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=183] [conn=3] [job="ID:183, Type:create schema, State:synced, SchemaState:public, SchemaID:182, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:45.459 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.501 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:183, Type:create schema, State:synced, SchemaState:public, SchemaID:182, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:45.459 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.501 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=183] [2024/05/06 09:31:45.502 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:31:45.502 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=280] [cur_db=test] [sql="drop database test_create_db"] [user=] [2024/05/06 09:31:45.505 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:184, Type:drop schema, State:queueing, SchemaState:public, SchemaID:182, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:45.503 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:31:45.505 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:184, Type:drop schema, State:queueing, SchemaState:public, SchemaID:182, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:45.503 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="drop database test_create_db"] [2024/05/06 09:31:45.515 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:184, Type:drop schema, State:queueing, SchemaState:public, SchemaID:182, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:45.503 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.515 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=184] [conn=3] [category=ddl] [job="ID:184, Type:drop schema, State:queueing, SchemaState:public, SchemaID:182, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:45.503 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.516 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:184, Type:drop schema, State:running, SchemaState:write only, SchemaID:182, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:45.503 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.517 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=280] [neededSchemaVersion=281] ["start time"=94.266µs] [gotSchemaVersion=281] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2024/05/06 09:31:45.519 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=184] [version=281] [2024/05/06 09:31:45.520 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=281] ["take time"=2.475898ms] [job="ID:184, Type:drop schema, State:running, SchemaState:write only, SchemaID:182, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:45.503 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.521 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:184, Type:drop schema, State:running, SchemaState:write only, SchemaID:182, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:45.503 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.563 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:184, Type:drop schema, State:running, SchemaState:write only, SchemaID:182, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:45.503 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.563 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=184] [conn=3] [category=ddl] [job="ID:184, Type:drop schema, State:running, SchemaState:write only, SchemaID:182, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:45.503 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.563 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:184, Type:drop schema, State:running, SchemaState:delete only, SchemaID:182, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:45.503 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.565 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=281] [neededSchemaVersion=282] ["start time"=34.554µs] [gotSchemaVersion=282] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2024/05/06 09:31:45.567 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=184] [version=282] [2024/05/06 09:31:45.569 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=282] ["take time"=4.709861ms] [job="ID:184, Type:drop schema, State:running, SchemaState:delete only, SchemaID:182, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:45.503 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.570 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:184, Type:drop schema, State:running, SchemaState:delete only, SchemaID:182, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:45.503 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.591 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:184, Type:drop schema, State:running, SchemaState:delete only, SchemaID:182, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:45.503 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.592 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=184] [conn=3] [category=ddl] [job="ID:184, Type:drop schema, State:running, SchemaState:delete only, SchemaID:182, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:45.503 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.593 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:184, Type:drop schema, State:done, SchemaState:none, SchemaID:182, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:45.503 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.595 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=282] [neededSchemaVersion=283] ["start time"=35.444µs] [gotSchemaVersion=283] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2024/05/06 09:31:45.596 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=184] [version=283] [2024/05/06 09:31:45.597 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=283] ["take time"=2.404789ms] [job="ID:184, Type:drop schema, State:done, SchemaState:none, SchemaID:182, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:45.503 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.608 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:184, Type:drop schema, State:done, SchemaState:none, SchemaID:182, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:45.503 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.614 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=184] [jobType="drop schema"] [2024/05/06 09:31:45.614 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=184] [conn=3] [job="ID:184, Type:drop schema, State:synced, SchemaState:none, SchemaID:182, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:45.503 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.618 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:184, Type:drop schema, State:synced, SchemaState:none, SchemaID:182, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:45.503 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.620 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=184] [2024/05/06 09:31:45.620 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:31:45.621 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=283] [cur_db=test] [sql="create database if not exists test_create_db"] [user=] [2024/05/06 09:31:45.625 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:186, Type:create schema, State:queueing, SchemaState:none, SchemaID:185, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:45.622 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:31:45.625 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:186, Type:create schema, State:queueing, SchemaState:none, SchemaID:185, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:45.622 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create database if not exists test_create_db"] [2024/05/06 09:31:45.635 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:186, Type:create schema, State:queueing, SchemaState:none, SchemaID:185, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:45.622 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.635 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=186] [conn=3] [category=ddl] [job="ID:186, Type:create schema, State:queueing, SchemaState:none, SchemaID:185, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:45.622 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.635 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:186, Type:create schema, State:done, SchemaState:public, SchemaID:185, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:45.622 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.637 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=283] [neededSchemaVersion=284] ["start time"=90.924µs] [gotSchemaVersion=284] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2024/05/06 09:31:45.639 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=186] [version=284] [2024/05/06 09:31:45.641 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=284] ["take time"=4.089256ms] [job="ID:186, Type:create schema, State:done, SchemaState:public, SchemaID:185, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:45.622 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.642 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:186, Type:create schema, State:done, SchemaState:public, SchemaID:185, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:45.622 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.646 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=186] [conn=3] [job="ID:186, Type:create schema, State:synced, SchemaState:public, SchemaID:185, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:45.622 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.649 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:186, Type:create schema, State:synced, SchemaState:public, SchemaID:185, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:45.622 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.649 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=186] [2024/05/06 09:31:45.649 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:31:45.650 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=284] [cur_db=test] [sql="drop database test_create_db"] [user=] [2024/05/06 09:31:45.652 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:187, Type:drop schema, State:queueing, SchemaState:public, SchemaID:185, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:45.651 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:31:45.652 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:187, Type:drop schema, State:queueing, SchemaState:public, SchemaID:185, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:45.651 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="drop database test_create_db"] [2024/05/06 09:31:45.661 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:187, Type:drop schema, State:queueing, SchemaState:public, SchemaID:185, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:45.651 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.661 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=187] [conn=3] [category=ddl] [job="ID:187, Type:drop schema, State:queueing, SchemaState:public, SchemaID:185, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:45.651 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.662 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:187, Type:drop schema, State:running, SchemaState:write only, SchemaID:185, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:45.651 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.664 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=284] [neededSchemaVersion=285] ["start time"=126.808µs] [gotSchemaVersion=285] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2024/05/06 09:31:45.665 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=187] [version=285] [2024/05/06 09:31:45.665 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=285] ["take time"=2.085392ms] [job="ID:187, Type:drop schema, State:running, SchemaState:write only, SchemaID:185, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:45.651 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.666 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:187, Type:drop schema, State:running, SchemaState:write only, SchemaID:185, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:45.651 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.679 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:187, Type:drop schema, State:running, SchemaState:write only, SchemaID:185, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:45.651 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.679 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=187] [conn=3] [category=ddl] [job="ID:187, Type:drop schema, State:running, SchemaState:write only, SchemaID:185, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:45.651 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.679 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:187, Type:drop schema, State:running, SchemaState:delete only, SchemaID:185, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:45.651 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.681 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=285] [neededSchemaVersion=286] ["start time"=58.413µs] [gotSchemaVersion=286] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2024/05/06 09:31:45.682 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=187] [version=286] [2024/05/06 09:31:45.684 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=286] ["take time"=2.932277ms] [job="ID:187, Type:drop schema, State:running, SchemaState:delete only, SchemaID:185, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:45.651 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.685 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:187, Type:drop schema, State:running, SchemaState:delete only, SchemaID:185, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:45.651 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.690 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:187, Type:drop schema, State:running, SchemaState:delete only, SchemaID:185, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:45.651 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.690 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=187] [conn=3] [category=ddl] [job="ID:187, Type:drop schema, State:running, SchemaState:delete only, SchemaID:185, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:45.651 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.691 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:187, Type:drop schema, State:done, SchemaState:none, SchemaID:185, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:45.651 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.693 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=286] [neededSchemaVersion=287] ["start time"=27.606µs] [gotSchemaVersion=287] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2024/05/06 09:31:45.694 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=187] [version=287] [2024/05/06 09:31:45.695 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=287] ["take time"=2.755516ms] [job="ID:187, Type:drop schema, State:done, SchemaState:none, SchemaID:185, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:45.651 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.696 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:187, Type:drop schema, State:done, SchemaState:none, SchemaID:185, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:45.651 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.700 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=187] [jobType="drop schema"] [2024/05/06 09:31:45.700 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=187] [conn=3] [job="ID:187, Type:drop schema, State:synced, SchemaState:none, SchemaID:185, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:45.651 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.703 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:187, Type:drop schema, State:synced, SchemaState:none, SchemaID:185, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:45.651 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.705 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=187] [2024/05/06 09:31:45.705 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:31:45.706 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=287] [cur_db=test] [sql="create database if not exists test_create_db"] [user=] [2024/05/06 09:31:45.710 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:189, Type:create schema, State:queueing, SchemaState:none, SchemaID:188, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:45.708 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:31:45.710 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:189, Type:create schema, State:queueing, SchemaState:none, SchemaID:188, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:45.708 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create database if not exists test_create_db"] [2024/05/06 09:31:45.719 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:189, Type:create schema, State:queueing, SchemaState:none, SchemaID:188, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:45.708 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.719 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=189] [conn=3] [category=ddl] [job="ID:189, Type:create schema, State:queueing, SchemaState:none, SchemaID:188, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:45.708 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.720 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:189, Type:create schema, State:done, SchemaState:public, SchemaID:188, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:45.708 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.721 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=287] [neededSchemaVersion=288] ["start time"=78.025µs] [gotSchemaVersion=288] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2024/05/06 09:31:45.723 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=189] [version=288] [2024/05/06 09:31:45.723 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=288] ["take time"=2.039244ms] [job="ID:189, Type:create schema, State:done, SchemaState:public, SchemaID:188, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:45.708 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.724 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:189, Type:create schema, State:done, SchemaState:public, SchemaID:188, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:45.708 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.728 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=189] [conn=3] [job="ID:189, Type:create schema, State:synced, SchemaState:public, SchemaID:188, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:45.708 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.731 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:189, Type:create schema, State:synced, SchemaState:public, SchemaID:188, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:45.708 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.732 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=189] [2024/05/06 09:31:45.732 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:31:45.733 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=288] [cur_db=test] [sql="drop database test_create_db"] [user=] [2024/05/06 09:31:45.735 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:190, Type:drop schema, State:queueing, SchemaState:public, SchemaID:188, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:45.734 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:31:45.735 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:190, Type:drop schema, State:queueing, SchemaState:public, SchemaID:188, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:45.734 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="drop database test_create_db"] [2024/05/06 09:31:45.740 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:190, Type:drop schema, State:queueing, SchemaState:public, SchemaID:188, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:45.734 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.740 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=190] [conn=3] [category=ddl] [job="ID:190, Type:drop schema, State:queueing, SchemaState:public, SchemaID:188, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:45.734 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.741 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:190, Type:drop schema, State:running, SchemaState:write only, SchemaID:188, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:45.734 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.743 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=288] [neededSchemaVersion=289] ["start time"=106.048µs] [gotSchemaVersion=289] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2024/05/06 09:31:45.744 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=190] [version=289] [2024/05/06 09:31:45.747 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=289] ["take time"=4.634384ms] [job="ID:190, Type:drop schema, State:running, SchemaState:write only, SchemaID:188, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:45.734 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.748 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:190, Type:drop schema, State:running, SchemaState:write only, SchemaID:188, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:45.734 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.752 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:190, Type:drop schema, State:running, SchemaState:write only, SchemaID:188, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:45.734 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.752 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=190] [conn=3] [category=ddl] [job="ID:190, Type:drop schema, State:running, SchemaState:write only, SchemaID:188, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:45.734 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.752 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:190, Type:drop schema, State:running, SchemaState:delete only, SchemaID:188, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:45.734 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.754 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=289] [neededSchemaVersion=290] ["start time"=33.669µs] [gotSchemaVersion=290] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2024/05/06 09:31:45.756 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=190] [version=290] [2024/05/06 09:31:45.760 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=290] ["take time"=6.147157ms] [job="ID:190, Type:drop schema, State:running, SchemaState:delete only, SchemaID:188, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:45.734 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.761 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:190, Type:drop schema, State:running, SchemaState:delete only, SchemaID:188, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:45.734 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.768 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:190, Type:drop schema, State:running, SchemaState:delete only, SchemaID:188, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:45.734 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.768 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=190] [conn=3] [category=ddl] [job="ID:190, Type:drop schema, State:running, SchemaState:delete only, SchemaID:188, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:45.734 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.772 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:190, Type:drop schema, State:done, SchemaState:none, SchemaID:188, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:45.734 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.774 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=290] [neededSchemaVersion=291] ["start time"=36.588µs] [gotSchemaVersion=291] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2024/05/06 09:31:45.776 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=190] [version=291] [2024/05/06 09:31:45.778 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=291] ["take time"=4.161028ms] [job="ID:190, Type:drop schema, State:done, SchemaState:none, SchemaID:188, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:45.734 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.780 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:190, Type:drop schema, State:done, SchemaState:none, SchemaID:188, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:45.734 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.786 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=190] [jobType="drop schema"] [2024/05/06 09:31:45.786 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=190] [conn=3] [job="ID:190, Type:drop schema, State:synced, SchemaState:none, SchemaID:188, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:45.734 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.789 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:190, Type:drop schema, State:synced, SchemaState:none, SchemaID:188, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:45.734 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.791 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=190] [2024/05/06 09:31:45.791 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:31:45.792 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=291] [cur_db=test] [sql="alter table t drop column c3"] [user=] [2024/05/06 09:31:45.794 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:191, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:45.793 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:31:45.795 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:191, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:45.793 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t drop column c3"] [2024/05/06 09:31:45.805 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:191, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:45.793 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.823 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=191] [conn=3] [category=ddl] [job="ID:191, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:45.793 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.823 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:191, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:45.793 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.825 +00:00] [WARN] [session.go:813] ["can not retry txn"] [label=internal] [error="[kv:9007]Write conflict, txnStartTS=449573789579345921, conflictStartTS=449573789579608064, conflictCommitTS=449573789583802368, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=191}, originalKey=748000fffffffffffe5f7280000000000000bf, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [IsBatchInsert=false] [IsPessimistic=false] [InRestrictedSQL=true] [tidb_retry_limit=10] [tidb_disable_txn_auto_retry=true] [2024/05/06 09:31:45.825 +00:00] [WARN] [session.go:829] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[kv:9007]Write conflict, txnStartTS=449573789579345921, conflictStartTS=449573789579608064, conflictCommitTS=449573789583802368, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=191}, originalKey=748000fffffffffffe5f7280000000000000bf, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [2024/05/06 09:31:45.825 +00:00] [INFO] [job_table.go:465] ["handle ddl job failed"] [worker="worker 6, tp general"] [category=ddl] [error="[kv:9007]Write conflict, txnStartTS=449573789579345921, conflictStartTS=449573789579608064, conflictCommitTS=449573789583802368, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=191}, originalKey=748000fffffffffffe5f7280000000000000bf, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [job="ID:191, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:45.793 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.832 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:191, Type:drop column, State:cancelling, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:45.793 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.832 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=191] [conn=3] [category=ddl] [job="ID:191, Type:drop column, State:cancelling, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:45.793 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.835 +00:00] [INFO] [rollingback.go:559] ["the DDL job is cancelled normally"] [worker="worker 6, tp general"] [category=ddl] [jobID=191] [conn=3] [job="ID:191, Type:drop column, State:cancelled, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:45.793 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [error="[ddl:8214]Cancelled DDL job"] [2024/05/06 09:31:45.835 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:191, Type:drop column, State:cancelled, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:45.793 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.836 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=191] [conn=3] [job="ID:191, Type:drop column, State:cancelled, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:45.793 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.838 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:191, Type:drop column, State:cancelled, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:45.793 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.846 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=191] [2024/05/06 09:31:45.846 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 09:31:45.846 +00:00] [WARN] [session.go:2153] ["run statement failed"] [schemaVersion=291] [error="[ddl:8214]Cancelled DDL job"] [errorVerbose="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).DoDDLJob\n\tpkg/ddl/ddl.go:1293\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).DropColumn\n\tpkg/ddl/ddl_api.go:5378\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AlterTable\n\tpkg/ddl/ddl_api.go:3900\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeAlterTable\n\tpkg/executor/ddl.go:388\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:152\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1211\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:960\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:794\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:559\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2280\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:469\ngithub.com/pingcap/tidb/pkg/ddl_test.TestCancel\n\tpkg/ddl/cancel_test.go:289\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 3,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 09:31:45.847 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=291] [cur_db=test] [sql="alter table t drop column c3"] [user=] [2024/05/06 09:31:45.850 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:192, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:45.848 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:31:45.850 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:192, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:45.848 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t drop column c3"] [2024/05/06 09:31:45.858 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:192, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:45.848 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.858 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=192] [conn=3] [category=ddl] [job="ID:192, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:45.848 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.862 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:192, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:45.848 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.867 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=291] [neededSchemaVersion=293] ["start time"=497.44µs] [gotSchemaVersion=293] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 09:31:45.870 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=192] [version=293] [2024/05/06 09:31:45.870 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=293] ["take time"=4.64787ms] [job="ID:192, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:45.848 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.871 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:192, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:45.848 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.880 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:192, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:45.848 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.880 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=192] [conn=3] [category=ddl] [job="ID:192, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:45.848 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.883 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:192, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:45.848 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.886 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=293] [neededSchemaVersion=294] ["start time"=1.290905ms] [gotSchemaVersion=294] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 09:31:45.888 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=192] [version=294] [2024/05/06 09:31:45.889 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=294] ["take time"=4.375629ms] [job="ID:192, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:45.848 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.890 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:192, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:45.848 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.898 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:192, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:45.848 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.899 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=192] [conn=3] [category=ddl] [job="ID:192, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:45.848 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.900 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:192, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:45.848 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.902 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=294] [neededSchemaVersion=295] ["start time"=366.791µs] [gotSchemaVersion=295] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 09:31:45.903 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=192] [version=295] [2024/05/06 09:31:45.904 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=295] ["take time"=2.736863ms] [job="ID:192, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:45.848 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.905 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:192, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:45.848 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.910 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:192, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:45.848 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.910 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=192] [conn=3] [category=ddl] [job="ID:192, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:45.848 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.911 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:192, Type:drop column, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:45.848 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.914 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=295] [neededSchemaVersion=296] ["start time"=401.04µs] [gotSchemaVersion=296] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 09:31:45.915 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=192] [version=296] [2024/05/06 09:31:45.917 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=296] ["take time"=5.039909ms] [job="ID:192, Type:drop column, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:45.848 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.918 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:192, Type:drop column, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:45.848 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.928 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=192] [jobType="drop column"] [2024/05/06 09:31:45.928 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=192] [conn=3] [job="ID:192, Type:drop column, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:45.848 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.933 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:192, Type:drop column, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:45.848 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.935 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=192] [2024/05/06 09:31:45.935 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:31:45.935 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=296] [cur_db=test] [sql="alter table t add column c3 bigint"] [user=] [2024/05/06 09:31:45.938 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:193, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:45.937 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:31:45.938 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:193, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:45.937 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t add column c3 bigint"] [2024/05/06 09:31:45.947 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:193, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:45.937 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.947 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=193] [conn=3] [category=ddl] [job="ID:193, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:45.937 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.948 +00:00] [INFO] [column.go:135] ["run add column job"] [category=ddl] [job="ID:193, Type:add column, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:45.937 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [columnInfo="{\"id\":12,\"name\":{\"O\":\"c3\",\"L\":\"c3\"},\"offset\":4,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{},\"state\":0,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2}"] [2024/05/06 09:31:45.948 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:193, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:45.937 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.951 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=296] [neededSchemaVersion=297] ["start time"=527.685µs] [gotSchemaVersion=297] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:45.953 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=193] [version=297] [2024/05/06 09:31:45.956 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=297] ["take time"=5.495147ms] [job="ID:193, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:45.937 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.957 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:193, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:45.937 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.966 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:193, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:45.937 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.966 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=193] [conn=3] [category=ddl] [job="ID:193, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:45.937 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.968 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:193, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:45.937 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.970 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=297] [neededSchemaVersion=298] ["start time"=468.041µs] [gotSchemaVersion=298] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:45.972 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=193] [version=298] [2024/05/06 09:31:45.975 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=298] ["take time"=5.461417ms] [job="ID:193, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:45.937 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.980 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:193, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:45.937 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.986 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:193, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:45.937 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.986 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=193] [conn=3] [category=ddl] [job="ID:193, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:45.937 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.988 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:193, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:45.937 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:45.990 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=298] [neededSchemaVersion=299] ["start time"=441.654µs] [gotSchemaVersion=299] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:45.992 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=193] [version=299] [2024/05/06 09:31:45.996 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=299] ["take time"=6.355163ms] [job="ID:193, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:45.937 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.000 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:193, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:45.937 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.006 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:193, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:45.937 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.006 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=193] [conn=3] [category=ddl] [job="ID:193, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:45.937 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.007 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:193, Type:add column, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:45.937 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.010 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=299] [neededSchemaVersion=300] ["start time"=443.774µs] [gotSchemaVersion=300] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:46.012 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=193] [version=300] [2024/05/06 09:31:46.013 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=300] ["take time"=4.096508ms] [job="ID:193, Type:add column, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:45.937 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.014 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:193, Type:add column, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:45.937 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.026 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=193] [conn=3] [job="ID:193, Type:add column, State:synced, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:45.937 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.029 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:193, Type:add column, State:synced, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:45.937 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.030 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=193] [2024/05/06 09:31:46.030 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:31:46.030 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=300] [cur_db=test] [sql="alter table t drop column c3"] [user=] [2024/05/06 09:31:46.033 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:194, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:46.032 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:31:46.033 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:194, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:46.032 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t drop column c3"] [2024/05/06 09:31:46.053 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:194, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:46.032 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.053 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=194] [conn=3] [category=ddl] [job="ID:194, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:46.032 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.054 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:194, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:46.032 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.057 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=300] [neededSchemaVersion=301] ["start time"=440.133µs] [gotSchemaVersion=301] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 09:31:46.058 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=194] [version=301] [2024/05/06 09:31:46.065 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=301] ["take time"=9.027717ms] [job="ID:194, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:46.032 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.067 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:194, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:46.032 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.087 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:194, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:46.032 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.087 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=194] [conn=3] [category=ddl] [job="ID:194, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:46.032 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.089 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:194, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:46.032 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.093 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=301] [neededSchemaVersion=302] ["start time"=524.038µs] [gotSchemaVersion=302] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 09:31:46.095 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=194] [version=302] [2024/05/06 09:31:46.097 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=302] ["take time"=4.853181ms] [job="ID:194, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:46.032 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.103 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:194, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:46.032 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.109 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:194, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:46.032 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.110 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=194] [conn=3] [category=ddl] [job="ID:194, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:46.032 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.111 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:194, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:46.032 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.113 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=302] [neededSchemaVersion=303] ["start time"=494.707µs] [gotSchemaVersion=303] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 09:31:46.116 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=194] [version=303] [2024/05/06 09:31:46.116 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=303] ["take time"=4.026033ms] [job="ID:194, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:46.032 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.118 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:194, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:46.032 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.132 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:194, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:46.032 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.132 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=194] [conn=3] [category=ddl] [job="ID:194, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:46.032 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.133 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:194, Type:drop column, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:46.032 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.135 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=303] [neededSchemaVersion=304] ["start time"=380.827µs] [gotSchemaVersion=304] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 09:31:46.137 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=194] [version=304] [2024/05/06 09:31:46.137 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=304] ["take time"=2.040707ms] [job="ID:194, Type:drop column, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:46.032 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.138 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:194, Type:drop column, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:46.032 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.143 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=194] [jobType="drop column"] [2024/05/06 09:31:46.143 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=194] [conn=3] [job="ID:194, Type:drop column, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:46.032 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.150 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:194, Type:drop column, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:46.032 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.158 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=194] [2024/05/06 09:31:46.158 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:31:46.159 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=304] [cur_db=test] [sql="alter table t add column c3 bigint"] [user=] [2024/05/06 09:31:46.165 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:195, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:46.161 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:31:46.165 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:195, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:46.161 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t add column c3 bigint"] [2024/05/06 09:31:46.180 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:195, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:46.161 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.180 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=195] [conn=3] [category=ddl] [job="ID:195, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:46.161 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.180 +00:00] [INFO] [column.go:135] ["run add column job"] [category=ddl] [job="ID:195, Type:add column, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:46.161 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [columnInfo="{\"id\":13,\"name\":{\"O\":\"c3\",\"L\":\"c3\"},\"offset\":4,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{},\"state\":0,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2}"] [2024/05/06 09:31:46.184 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:195, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:46.161 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.187 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=304] [neededSchemaVersion=305] ["start time"=544.224µs] [gotSchemaVersion=305] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:46.189 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=195] [version=305] [2024/05/06 09:31:46.191 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=305] ["take time"=4.817799ms] [job="ID:195, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:46.161 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.192 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:195, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:46.161 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.199 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:195, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:46.161 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.200 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=195] [conn=3] [category=ddl] [job="ID:195, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:46.161 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.200 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:195, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:46.161 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.203 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=305] [neededSchemaVersion=306] ["start time"=454.769µs] [gotSchemaVersion=306] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:46.204 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=195] [version=306] [2024/05/06 09:31:46.207 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=306] ["take time"=4.694943ms] [job="ID:195, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:46.161 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.211 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:195, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:46.161 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.216 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:195, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:46.161 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.217 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=195] [conn=3] [category=ddl] [job="ID:195, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:46.161 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.217 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:195, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:46.161 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.220 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=306] [neededSchemaVersion=307] ["start time"=413.57µs] [gotSchemaVersion=307] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:46.222 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=195] [version=307] [2024/05/06 09:31:46.223 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=307] ["take time"=4.126241ms] [job="ID:195, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:46.161 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.224 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:195, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:46.161 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.232 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:195, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:46.161 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.233 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=195] [conn=3] [category=ddl] [job="ID:195, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:46.161 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.238 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:195, Type:add column, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:46.161 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.240 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=307] [neededSchemaVersion=308] ["start time"=453.03µs] [gotSchemaVersion=308] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:46.242 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=195] [version=308] [2024/05/06 09:31:46.245 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=308] ["take time"=5.193109ms] [job="ID:195, Type:add column, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:46.161 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.247 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:195, Type:add column, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:46.161 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.254 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=195] [conn=3] [job="ID:195, Type:add column, State:synced, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:46.161 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.257 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:195, Type:add column, State:synced, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:46.161 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.257 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=195] [2024/05/06 09:31:46.257 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:31:46.258 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=308] [cur_db=test] [sql="alter table t drop column c3"] [user=] [2024/05/06 09:31:46.260 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:196, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:46.259 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:31:46.261 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:196, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:46.259 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t drop column c3"] [2024/05/06 09:31:46.272 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:196, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:46.259 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.272 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=196] [conn=3] [category=ddl] [job="ID:196, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:46.259 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.276 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:196, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:46.259 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.279 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=308] [neededSchemaVersion=309] ["start time"=411.915µs] [gotSchemaVersion=309] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 09:31:46.280 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=196] [version=309] [2024/05/06 09:31:46.282 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=309] ["take time"=4.108656ms] [job="ID:196, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:46.259 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.283 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:196, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:46.259 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.291 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:196, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:46.259 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.292 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=196] [conn=3] [category=ddl] [job="ID:196, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:46.259 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.293 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:196, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:46.259 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.295 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=309] [neededSchemaVersion=310] ["start time"=346.411µs] [gotSchemaVersion=310] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 09:31:46.296 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=196] [version=310] [2024/05/06 09:31:46.298 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=310] ["take time"=3.228874ms] [job="ID:196, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:46.259 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.299 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:196, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:46.259 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.303 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:196, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:46.259 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.303 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=196] [conn=3] [category=ddl] [job="ID:196, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:46.259 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.304 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:196, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:46.259 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.306 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=310] [neededSchemaVersion=311] ["start time"=447.702µs] [gotSchemaVersion=311] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 09:31:46.308 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=196] [version=311] [2024/05/06 09:31:46.320 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=311] ["take time"=14.409956ms] [job="ID:196, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:46.259 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.324 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:196, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:46.259 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.333 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:196, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:46.259 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.333 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=196] [conn=3] [category=ddl] [job="ID:196, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:46.259 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.336 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:196, Type:drop column, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:46.259 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.339 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=311] [neededSchemaVersion=312] ["start time"=487.139µs] [gotSchemaVersion=312] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 09:31:46.341 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=196] [version=312] [2024/05/06 09:31:46.343 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=312] ["take time"=4.36703ms] [job="ID:196, Type:drop column, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:46.259 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.347 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:196, Type:drop column, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:46.259 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.353 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=196] [jobType="drop column"] [2024/05/06 09:31:46.353 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=196] [conn=3] [job="ID:196, Type:drop column, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:46.259 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.357 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:196, Type:drop column, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:46.259 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.360 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=196] [2024/05/06 09:31:46.360 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:31:46.361 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=312] [cur_db=test] [sql="alter table t add column c3 bigint"] [user=] [2024/05/06 09:31:46.367 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:197, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:46.362 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:31:46.367 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:197, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:46.362 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t add column c3 bigint"] [2024/05/06 09:31:46.373 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:197, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:46.362 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.373 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=197] [conn=3] [category=ddl] [job="ID:197, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:46.362 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.373 +00:00] [INFO] [column.go:135] ["run add column job"] [category=ddl] [job="ID:197, Type:add column, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:46.362 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [columnInfo="{\"id\":14,\"name\":{\"O\":\"c3\",\"L\":\"c3\"},\"offset\":4,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{},\"state\":0,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2}"] [2024/05/06 09:31:46.374 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:197, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:46.362 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.376 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=312] [neededSchemaVersion=313] ["start time"=551.716µs] [gotSchemaVersion=313] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:46.378 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=197] [version=313] [2024/05/06 09:31:46.380 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=313] ["take time"=4.146518ms] [job="ID:197, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:46.362 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.381 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:197, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:46.362 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.387 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:197, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:46.362 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.387 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=197] [conn=3] [category=ddl] [job="ID:197, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:46.362 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.388 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:197, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:46.362 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.390 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=313] [neededSchemaVersion=314] ["start time"=457.373µs] [gotSchemaVersion=314] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:46.391 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=197] [version=314] [2024/05/06 09:31:46.393 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=314] ["take time"=4.215137ms] [job="ID:197, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:46.362 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.395 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:197, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:46.362 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.402 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:197, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:46.362 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.402 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=197] [conn=3] [category=ddl] [job="ID:197, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:46.362 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.403 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:197, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:46.362 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.407 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=314] [neededSchemaVersion=315] ["start time"=487.675µs] [gotSchemaVersion=315] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:46.409 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=197] [version=315] [2024/05/06 09:31:46.427 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=315] ["take time"=20.11774ms] [job="ID:197, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:46.362 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.428 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:197, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:46.362 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.435 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:197, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:46.362 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.435 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=197] [conn=3] [category=ddl] [job="ID:197, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:46.362 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.436 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:197, Type:add column, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:46.362 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.439 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=315] [neededSchemaVersion=316] ["start time"=439.949µs] [gotSchemaVersion=316] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:46.440 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=197] [version=316] [2024/05/06 09:31:46.443 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=316] ["take time"=4.468644ms] [job="ID:197, Type:add column, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:46.362 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.444 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:197, Type:add column, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:46.362 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.450 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=197] [conn=3] [job="ID:197, Type:add column, State:synced, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:46.362 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.457 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:197, Type:add column, State:synced, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:46.362 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.457 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=197] [2024/05/06 09:31:46.457 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:31:46.458 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=316] [cur_db=test] [sql="alter table t drop column c3"] [user=] [2024/05/06 09:31:46.461 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:198, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:46.46 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:31:46.461 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:198, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:46.46 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t drop column c3"] [2024/05/06 09:31:46.470 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:198, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:46.46 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.470 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=198] [conn=3] [category=ddl] [job="ID:198, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:46.46 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.471 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:198, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:46.46 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.473 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=316] [neededSchemaVersion=317] ["start time"=449.804µs] [gotSchemaVersion=317] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 09:31:46.474 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=198] [version=317] [2024/05/06 09:31:46.474 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=317] ["take time"=2.052097ms] [job="ID:198, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:46.46 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.475 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:198, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:46.46 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.480 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:198, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:46.46 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.481 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=198] [conn=3] [category=ddl] [job="ID:198, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:46.46 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.481 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:198, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:46.46 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.483 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=317] [neededSchemaVersion=318] ["start time"=489.545µs] [gotSchemaVersion=318] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 09:31:46.485 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=198] [version=318] [2024/05/06 09:31:46.487 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=318] ["take time"=4.637837ms] [job="ID:198, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:46.46 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.488 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:198, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:46.46 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.494 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:198, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:46.46 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.494 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=198] [conn=3] [category=ddl] [job="ID:198, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:46.46 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.495 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:198, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:46.46 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.497 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=318] [neededSchemaVersion=319] ["start time"=459µs] [gotSchemaVersion=319] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 09:31:46.499 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=198] [version=319] [2024/05/06 09:31:46.500 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=319] ["take time"=4.072995ms] [job="ID:198, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:46.46 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.501 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:198, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:46.46 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.508 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:198, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:46.46 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.508 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=198] [conn=3] [category=ddl] [job="ID:198, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:46.46 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.509 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:198, Type:drop column, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:46.46 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.511 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=319] [neededSchemaVersion=320] ["start time"=301.752µs] [gotSchemaVersion=320] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 09:31:46.512 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=198] [version=320] [2024/05/06 09:31:46.515 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=320] ["take time"=5.240111ms] [job="ID:198, Type:drop column, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:46.46 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.516 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:198, Type:drop column, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:46.46 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.540 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=198] [jobType="drop column"] [2024/05/06 09:31:46.540 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=198] [conn=3] [job="ID:198, Type:drop column, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:46.46 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.544 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:198, Type:drop column, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:46.46 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.547 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=198] [2024/05/06 09:31:46.548 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:31:46.548 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=320] [cur_db=test] [sql="alter table t add column c3 bigint"] [user=] [2024/05/06 09:31:46.550 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:199, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:46.549 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:31:46.550 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:199, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:46.549 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t add column c3 bigint"] [2024/05/06 09:31:46.559 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:199, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:46.549 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.559 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=199] [conn=3] [category=ddl] [job="ID:199, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:46.549 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.560 +00:00] [INFO] [column.go:135] ["run add column job"] [category=ddl] [job="ID:199, Type:add column, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:46.549 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [columnInfo="{\"id\":15,\"name\":{\"O\":\"c3\",\"L\":\"c3\"},\"offset\":4,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{},\"state\":0,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2}"] [2024/05/06 09:31:46.560 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:199, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:46.549 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.562 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=320] [neededSchemaVersion=321] ["start time"=418.055µs] [gotSchemaVersion=321] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:46.565 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=199] [version=321] [2024/05/06 09:31:46.574 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=321] ["take time"=11.782956ms] [job="ID:199, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:46.549 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.579 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:199, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:46.549 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.583 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:199, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:46.549 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.583 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=199] [conn=3] [category=ddl] [job="ID:199, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:46.549 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.584 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:199, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:46.549 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.586 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=321] [neededSchemaVersion=322] ["start time"=500.179µs] [gotSchemaVersion=322] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:46.588 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=199] [version=322] [2024/05/06 09:31:46.594 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=322] ["take time"=8.583718ms] [job="ID:199, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:46.549 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.595 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:199, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:46.549 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.602 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:199, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:46.549 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.602 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=199] [conn=3] [category=ddl] [job="ID:199, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:46.549 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.603 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:199, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:46.549 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.605 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=322] [neededSchemaVersion=323] ["start time"=446.686µs] [gotSchemaVersion=323] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:46.607 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=199] [version=323] [2024/05/06 09:31:46.610 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=323] ["take time"=4.791605ms] [job="ID:199, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:46.549 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.611 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:199, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:46.549 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.616 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:199, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:46.549 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.616 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=199] [conn=3] [category=ddl] [job="ID:199, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:46.549 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.617 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:199, Type:add column, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:46.549 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.619 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=323] [neededSchemaVersion=324] ["start time"=461.783µs] [gotSchemaVersion=324] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:46.621 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=199] [version=324] [2024/05/06 09:31:46.621 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=324] ["take time"=2.006664ms] [job="ID:199, Type:add column, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:46.549 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.622 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:199, Type:add column, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:46.549 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.628 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=199] [conn=3] [job="ID:199, Type:add column, State:synced, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:46.549 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.633 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:199, Type:add column, State:synced, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:46.549 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.633 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=199] [2024/05/06 09:31:46.634 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:31:46.634 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=324] [cur_db=test] [sql="alter table t drop column c3"] [user=] [2024/05/06 09:31:46.637 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:200, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:46.635 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:31:46.637 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:200, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:46.635 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t drop column c3"] [2024/05/06 09:31:46.647 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:200, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:46.635 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.647 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=200] [conn=3] [category=ddl] [job="ID:200, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:46.635 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.648 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:200, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:46.635 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.651 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=324] [neededSchemaVersion=325] ["start time"=459.631µs] [gotSchemaVersion=325] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 09:31:46.652 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=200] [version=325] [2024/05/06 09:31:46.654 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=325] ["take time"=4.023659ms] [job="ID:200, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:46.635 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.655 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:200, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:46.635 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.659 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:200, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:46.635 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.659 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=200] [conn=3] [category=ddl] [job="ID:200, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:46.635 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.660 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:200, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:46.635 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.662 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=325] [neededSchemaVersion=326] ["start time"=338.837µs] [gotSchemaVersion=326] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 09:31:46.663 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=200] [version=326] [2024/05/06 09:31:46.666 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=326] ["take time"=5.279525ms] [job="ID:200, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:46.635 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.668 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:200, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:46.635 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.675 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:200, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:46.635 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.675 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=200] [conn=3] [category=ddl] [job="ID:200, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:46.635 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.675 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:200, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:46.635 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.678 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=326] [neededSchemaVersion=327] ["start time"=449.871µs] [gotSchemaVersion=327] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 09:31:46.679 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=200] [version=327] [2024/05/06 09:31:46.682 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=327] ["take time"=4.683792ms] [job="ID:200, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:46.635 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.683 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:200, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:46.635 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.688 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:200, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:46.635 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.689 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=200] [conn=3] [category=ddl] [job="ID:200, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:46.635 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.690 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:200, Type:drop column, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:46.635 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.692 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=327] [neededSchemaVersion=328] ["start time"=459.786µs] [gotSchemaVersion=328] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 09:31:46.694 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=200] [version=328] [2024/05/06 09:31:46.705 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=328] ["take time"=13.046677ms] [job="ID:200, Type:drop column, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:46.635 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.706 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:200, Type:drop column, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:46.635 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.715 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=200] [jobType="drop column"] [2024/05/06 09:31:46.715 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=200] [conn=3] [job="ID:200, Type:drop column, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:46.635 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.719 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:200, Type:drop column, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:46.635 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.722 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=200] [2024/05/06 09:31:46.722 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:31:46.723 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=328] [cur_db=test] [sql="alter table t add column c3 bigint"] [user=] [2024/05/06 09:31:46.725 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:201, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:46.724 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:31:46.725 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:201, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:46.724 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t add column c3 bigint"] [2024/05/06 09:31:46.735 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:201, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:46.724 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.735 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=201] [conn=3] [category=ddl] [job="ID:201, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:46.724 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.735 +00:00] [INFO] [column.go:135] ["run add column job"] [category=ddl] [job="ID:201, Type:add column, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:46.724 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [columnInfo="{\"id\":16,\"name\":{\"O\":\"c3\",\"L\":\"c3\"},\"offset\":4,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{},\"state\":0,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2}"] [2024/05/06 09:31:46.738 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:201, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:46.724 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.757 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=328] [neededSchemaVersion=329] ["start time"=467.345µs] [gotSchemaVersion=329] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:46.758 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=201] [version=329] [2024/05/06 09:31:46.761 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=329] ["take time"=4.908639ms] [job="ID:201, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:46.724 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.762 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:201, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:46.724 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.775 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:201, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:46.724 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.775 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=201] [conn=3] [category=ddl] [job="ID:201, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:46.724 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.776 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:201, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:46.724 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.779 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=329] [neededSchemaVersion=330] ["start time"=412.663µs] [gotSchemaVersion=330] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:46.781 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=201] [version=330] [2024/05/06 09:31:46.783 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=330] ["take time"=4.054418ms] [job="ID:201, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:46.724 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.784 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:201, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:46.724 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.791 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:201, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:46.724 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.791 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=201] [conn=3] [category=ddl] [job="ID:201, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:46.724 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.791 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:201, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:46.724 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.793 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=330] [neededSchemaVersion=331] ["start time"=367.685µs] [gotSchemaVersion=331] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:46.795 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=201] [version=331] [2024/05/06 09:31:46.795 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=331] ["take time"=2.03639ms] [job="ID:201, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:46.724 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.796 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:201, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:46.724 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.801 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:201, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:46.724 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.801 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=201] [conn=3] [category=ddl] [job="ID:201, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:46.724 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.803 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:201, Type:add column, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:46.724 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.806 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=331] [neededSchemaVersion=332] ["start time"=316.41µs] [gotSchemaVersion=332] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:46.807 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=201] [version=332] [2024/05/06 09:31:46.808 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=332] ["take time"=3.042746ms] [job="ID:201, Type:add column, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:46.724 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.810 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:201, Type:add column, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:46.724 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.816 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=201] [conn=3] [job="ID:201, Type:add column, State:synced, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:46.724 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.826 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:201, Type:add column, State:synced, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:46.724 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.827 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=201] [2024/05/06 09:31:46.827 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:31:46.827 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=332] [cur_db=test] [sql="alter table t drop column c3"] [user=] [2024/05/06 09:31:46.833 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:202, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:46.829 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:31:46.833 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:202, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:46.829 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t drop column c3"] [2024/05/06 09:31:46.887 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:202, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:46.829 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.887 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=202] [conn=3] [category=ddl] [job="ID:202, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:46.829 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.892 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:202, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:46.829 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.897 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=332] [neededSchemaVersion=333] ["start time"=420.842µs] [gotSchemaVersion=333] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 09:31:46.898 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=202] [version=333] [2024/05/06 09:31:46.900 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=333] ["take time"=4.228558ms] [job="ID:202, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:46.829 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.901 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:202, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:46.829 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.907 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:202, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:46.829 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.907 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=202] [conn=3] [category=ddl] [job="ID:202, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:46.829 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.908 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:202, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:46.829 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.910 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=333] [neededSchemaVersion=334] ["start time"=454.945µs] [gotSchemaVersion=334] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 09:31:46.911 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=202] [version=334] [2024/05/06 09:31:46.913 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=334] ["take time"=4.18202ms] [job="ID:202, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:46.829 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.914 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:202, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:46.829 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.925 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:202, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:46.829 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.925 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=202] [conn=3] [category=ddl] [job="ID:202, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:46.829 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.926 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:202, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:46.829 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.928 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=334] [neededSchemaVersion=335] ["start time"=479.642µs] [gotSchemaVersion=335] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 09:31:46.930 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=202] [version=335] [2024/05/06 09:31:46.943 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=335] ["take time"=15.689778ms] [job="ID:202, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:46.829 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.944 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:202, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:46.829 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.952 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:202, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:46.829 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.952 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=202] [conn=3] [category=ddl] [job="ID:202, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:46.829 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.954 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:202, Type:drop column, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:46.829 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.963 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=335] [neededSchemaVersion=336] ["start time"=460.935µs] [gotSchemaVersion=336] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 09:31:46.965 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=202] [version=336] [2024/05/06 09:31:46.971 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=336] ["take time"=8.42315ms] [job="ID:202, Type:drop column, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:46.829 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.972 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:202, Type:drop column, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:46.829 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.982 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=202] [jobType="drop column"] [2024/05/06 09:31:46.983 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=202] [conn=3] [job="ID:202, Type:drop column, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:46.829 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.987 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:202, Type:drop column, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:46.829 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:46.990 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=202] [2024/05/06 09:31:46.990 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:31:46.990 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=336] [cur_db=test] [sql="alter table t add column c3 bigint"] [user=] [2024/05/06 09:31:46.993 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:203, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:46.992 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:31:46.993 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:203, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:46.992 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t add column c3 bigint"] [2024/05/06 09:31:47.003 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:203, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:46.992 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:47.003 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=203] [conn=3] [category=ddl] [job="ID:203, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:46.992 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:47.003 +00:00] [INFO] [column.go:135] ["run add column job"] [category=ddl] [job="ID:203, Type:add column, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:46.992 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [columnInfo="{\"id\":17,\"name\":{\"O\":\"c3\",\"L\":\"c3\"},\"offset\":4,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{},\"state\":0,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2}"] [2024/05/06 09:31:47.004 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:203, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:46.992 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:47.006 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=336] [neededSchemaVersion=337] ["start time"=456.3µs] [gotSchemaVersion=337] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:47.009 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=203] [version=337] [2024/05/06 09:31:47.010 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=337] ["take time"=4.761091ms] [job="ID:203, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:46.992 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:47.011 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:203, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:46.992 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:47.024 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:203, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:46.992 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:47.026 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=203] [conn=3] [category=ddl] [job="ID:203, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:46.992 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:47.027 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:203, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:46.992 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:47.029 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=337] [neededSchemaVersion=338] ["start time"=471.548µs] [gotSchemaVersion=338] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:47.031 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=203] [version=338] [2024/05/06 09:31:47.037 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=338] ["take time"=8.324952ms] [job="ID:203, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:46.992 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:47.038 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:203, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:46.992 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:47.045 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:203, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:46.992 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:47.045 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=203] [conn=3] [category=ddl] [job="ID:203, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:46.992 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:47.046 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:203, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:46.992 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:47.048 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=338] [neededSchemaVersion=339] ["start time"=457.243µs] [gotSchemaVersion=339] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:47.050 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=203] [version=339] [2024/05/06 09:31:47.052 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=339] ["take time"=4.696667ms] [job="ID:203, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:46.992 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:47.058 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:203, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:46.992 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:47.065 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:203, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:46.992 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:47.065 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=203] [conn=3] [category=ddl] [job="ID:203, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:46.992 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:47.079 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:203, Type:add column, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:46.992 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:47.084 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=339] [neededSchemaVersion=340] ["start time"=483.979µs] [gotSchemaVersion=340] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:47.086 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=203] [version=340] [2024/05/06 09:31:47.108 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=340] ["take time"=25.100482ms] [job="ID:203, Type:add column, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:46.992 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:47.109 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:203, Type:add column, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:46.992 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:47.121 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=203] [conn=3] [job="ID:203, Type:add column, State:synced, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:46.992 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:47.125 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:203, Type:add column, State:synced, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:46.992 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:47.125 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=203] [2024/05/06 09:31:47.125 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:31:47.126 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=340] [cur_db=test] [sql="alter table t drop column c3"] [user=] [2024/05/06 09:31:47.128 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:204, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:47.127 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:31:47.128 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:204, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:47.127 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t drop column c3"] [2024/05/06 09:31:47.139 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:204, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:47.127 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:47.139 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=204] [conn=3] [category=ddl] [job="ID:204, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:47.127 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:47.140 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:204, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:47.127 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:47.142 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=340] [neededSchemaVersion=341] ["start time"=347.588µs] [gotSchemaVersion=341] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 09:31:47.143 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=204] [version=341] [2024/05/06 09:31:47.143 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=341] ["take time"=2.067695ms] [job="ID:204, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:47.127 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:47.144 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:204, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:47.127 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:47.159 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:204, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:47.127 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:47.159 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=204] [conn=3] [category=ddl] [job="ID:204, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:47.127 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:47.160 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:204, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:47.127 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:47.162 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=341] [neededSchemaVersion=342] ["start time"=414.675µs] [gotSchemaVersion=342] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 09:31:47.165 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=204] [version=342] [2024/05/06 09:31:47.166 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=342] ["take time"=4.055145ms] [job="ID:204, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:47.127 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:47.167 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:204, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:47.127 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:47.170 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:204, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:47.127 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:47.170 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=204] [conn=3] [category=ddl] [job="ID:204, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:47.127 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:47.171 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:204, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:47.127 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:47.173 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=342] [neededSchemaVersion=343] ["start time"=471.728µs] [gotSchemaVersion=343] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 09:31:47.174 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=204] [version=343] [2024/05/06 09:31:47.177 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=343] ["take time"=4.915706ms] [job="ID:204, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:47.127 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:47.178 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:204, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:47.127 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:47.182 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:204, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:47.127 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:47.182 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=204] [conn=3] [category=ddl] [job="ID:204, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:47.127 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:47.183 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:204, Type:drop column, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:47.127 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:47.185 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=343] [neededSchemaVersion=344] ["start time"=302.04µs] [gotSchemaVersion=344] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 09:31:47.187 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=204] [version=344] [2024/05/06 09:31:47.191 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=344] ["take time"=5.975733ms] [job="ID:204, Type:drop column, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:47.127 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:47.192 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:204, Type:drop column, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:47.127 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:47.199 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=204] [jobType="drop column"] [2024/05/06 09:31:47.199 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=204] [conn=3] [job="ID:204, Type:drop column, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:47.127 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:47.202 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:204, Type:drop column, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:47.127 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:47.205 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=204] [2024/05/06 09:31:47.205 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:31:47.205 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=344] [cur_db=test] [sql="alter table t add column c3 bigint"] [user=] [2024/05/06 09:31:47.208 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:205, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:47.207 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:31:47.208 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:205, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:47.207 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t add column c3 bigint"] [2024/05/06 09:31:47.217 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:205, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:47.207 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:47.217 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=205] [conn=3] [category=ddl] [job="ID:205, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:47.207 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:47.217 +00:00] [INFO] [column.go:135] ["run add column job"] [category=ddl] [job="ID:205, Type:add column, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:47.207 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [columnInfo="{\"id\":18,\"name\":{\"O\":\"c3\",\"L\":\"c3\"},\"offset\":4,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{},\"state\":0,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2}"] [2024/05/06 09:31:47.219 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:205, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:47.207 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:47.221 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=344] [neededSchemaVersion=345] ["start time"=489.469µs] [gotSchemaVersion=345] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:47.222 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=205] [version=345] [2024/05/06 09:31:47.222 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=345] ["take time"=2.067075ms] [job="ID:205, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:47.207 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:47.223 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:205, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:47.207 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:47.229 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:205, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:47.207 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:47.229 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=205] [conn=3] [category=ddl] [job="ID:205, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:47.207 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:47.230 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:205, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:47.207 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:47.233 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=345] [neededSchemaVersion=346] ["start time"=457.235µs] [gotSchemaVersion=346] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:47.235 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=205] [version=346] [2024/05/06 09:31:47.239 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=346] ["take time"=6.588592ms] [job="ID:205, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:47.207 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:47.240 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:205, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:47.207 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:47.244 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:205, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:47.207 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:47.244 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=205] [conn=3] [category=ddl] [job="ID:205, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:47.207 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:47.245 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:205, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:47.207 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:47.247 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=346] [neededSchemaVersion=347] ["start time"=399.659µs] [gotSchemaVersion=347] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:47.249 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=205] [version=347] [2024/05/06 09:31:47.249 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=347] ["take time"=2.016305ms] [job="ID:205, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:47.207 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:47.250 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:205, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:47.207 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:47.253 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:205, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:47.207 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:47.253 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=205] [conn=3] [category=ddl] [job="ID:205, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:47.207 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:47.253 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:205, Type:add column, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:47.207 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:47.257 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=347] [neededSchemaVersion=348] ["start time"=440.375µs] [gotSchemaVersion=348] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:47.258 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=205] [version=348] [2024/05/06 09:31:47.259 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=348] ["take time"=2.71804ms] [job="ID:205, Type:add column, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:47.207 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:47.260 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:205, Type:add column, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:47.207 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:47.265 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=205] [conn=3] [job="ID:205, Type:add column, State:synced, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:47.207 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:47.273 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:205, Type:add column, State:synced, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:47.207 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:47.274 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=205] [2024/05/06 09:31:47.274 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:31:47.274 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=348] [cur_db=test] [sql="alter table t add index idx_c3(c3)"] [user=] [2024/05/06 09:31:47.279 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:206, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:47.275 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 09:31:47.279 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:206, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:47.275 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add index idx_c3(c3)"] [2024/05/06 09:31:47.284 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:206, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:47.275 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:47.284 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=206] [conn=3] [category=ddl] [job="ID:206, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:47.275 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:47.285 +00:00] [INFO] [index.go:654] ["run add index job"] [category=ddl] [job="ID:206, Type:add index, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:47.275 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [indexInfo="{\"id\":24,\"idx_name\":{\"O\":\"idx_c3\",\"L\":\"idx_c3\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"c3\",\"L\":\"c3\"},\"offset\":4,\"length\":-1}],\"state\":0,\"backfill_state\":0,\"comment\":\"\",\"index_type\":1,\"is_unique\":false,\"is_primary\":false,\"is_invisible\":false,\"is_global\":false,\"mv_index\":false}"] [2024/05/06 09:31:47.285 +00:00] [INFO] [index.go:817] ["fallback to txn-merge backfill process"] [category=ddl] ["lightning env initialized"=false] [2024/05/06 09:31:47.285 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:206, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:47.275 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:47.287 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=348] [neededSchemaVersion=349] ["start time"=451.562µs] [gotSchemaVersion=349] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 09:31:47.289 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=206] [version=349] [2024/05/06 09:31:47.289 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=349] ["take time"=2.046614ms] [job="ID:206, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:47.275 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:47.290 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:206, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:47.275 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:47.297 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:206, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:47.275 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:47.297 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=206] [conn=3] [category=ddl] [job="ID:206, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:47.275 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:47.298 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:206, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:47.275 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:47.300 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=349] [neededSchemaVersion=350] ["start time"=497.553µs] [gotSchemaVersion=350] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 09:31:47.301 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=206] [version=350] [2024/05/06 09:31:47.304 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=350] ["take time"=4.922994ms] [job="ID:206, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:47.275 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:47.305 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:206, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:47.275 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:47.313 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:206, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:47.275 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:47.313 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=206] [conn=3] [category=ddl] [job="ID:206, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:47.275 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:47.314 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:206, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:47.275 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:47.318 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=350] [neededSchemaVersion=351] ["start time"=471.296µs] [gotSchemaVersion=351] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 09:31:47.319 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=206] [version=351] [2024/05/06 09:31:47.320 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=351] ["take time"=4.240233ms] [job="ID:206, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:47.275 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:47.321 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:206, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:47.275 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:47.327 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:206, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:47.275 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:47.327 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=206] [conn=3] [category=ddl] [job="ID:206, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:47.275 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:47.328 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=206] [table=t] ["ingest mode"=false] [index=idx_c3] [2024/05/06 09:31:47.328 +00:00] [INFO] [reorg.go:718] ["job get table range"] [category=ddl] [jobID=206] [physicalTableID=111] [startKey=74800000000000006f5f728000000000000001] [endKey=74800000000000006f5f72800000000000080100] [2024/05/06 09:31:47.330 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:206, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:47.275 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573789978591232, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:47.331 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=206] [2024/05/06 09:31:47.331 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:206, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:47.275 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573789978591232, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:47.338 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:206, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:47.275 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573789978591232, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:47.338 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=206] [conn=3] [category=ddl] [job="ID:206, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:47.275 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573789978591232, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:47.339 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=206] [table=t] ["ingest mode"=false] [index=idx_c3] [2024/05/06 09:31:47.340 +00:00] [INFO] [index.go:1931] ["start to add table index"] [category=ddl] [job="ID:206, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:47.275 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573789978591232, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:24,StartKey:74800000000000006f5f728000000000000001,EndKey:74800000000000006f5f72800000000000080100,First:false,PhysicalTableID:111,Ingest mode:false"] [2024/05/06 09:31:47.341 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=111] ["start key"=74800000000000006f5f728000000000000001] ["end key"=74800000000000006f5f72800000000000080100] [2024/05/06 09:31:47.342 +00:00] [INFO] [backfilling.go:692] ["start backfill workers to reorg record"] [category=ddl] [type="add index"] [workerCnt=1] [regionCnt=1] [startKey=74800000000000006f5f728000000000000001] [endKey=74800000000000006f5f72800000000000080100] [2024/05/06 09:31:47.342 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=111] ["end key"=74800000000000006f5f72800000000000080100] ["current end key"=74800000000000006f5f72800000000000080100] [2024/05/06 09:31:47.352 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 09:31:47.352 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:206, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:47.275 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573789978591232, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:47.353 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=206] [2024/05/06 09:31:47.354 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:206, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:47.275 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573789978591232, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:47.360 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:206, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:47.275 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573789978591232, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:47.360 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=206] [conn=3] [category=ddl] [job="ID:206, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:47.275 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573789978591232, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:47.361 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=206] [table=t] ["ingest mode"=false] [index=idx_c3] [2024/05/06 09:31:47.373 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 09:31:47.373 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:206, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:47.275 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573789978591232, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:47.373 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=206] [2024/05/06 09:31:47.374 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:206, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:47.275 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573789978591232, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:47.379 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:206, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:47.275 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573789978591232, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:47.379 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=206] [conn=3] [category=ddl] [job="ID:206, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:47.275 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573789978591232, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:47.380 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=206] [table=t] ["ingest mode"=false] [index=idx_c3] [2024/05/06 09:31:47.393 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 09:31:47.393 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:206, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:47.275 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573789978591232, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:47.393 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=206] [2024/05/06 09:31:47.394 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:206, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:47.275 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573789978591232, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:47.401 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:206, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:47.275 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573789978591232, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:47.401 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=206] [conn=3] [category=ddl] [job="ID:206, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:47.275 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573789978591232, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:47.402 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=206] [table=t] ["ingest mode"=false] [index=idx_c3] [2024/05/06 09:31:47.414 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 09:31:47.414 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:206, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:47.275 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573789978591232, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:47.415 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=206] [2024/05/06 09:31:47.415 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:206, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:47.275 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573789978591232, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:47.423 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:206, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:47.275 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573789978591232, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:47.423 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=206] [conn=3] [category=ddl] [job="ID:206, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:47.275 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573789978591232, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:47.423 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=206] [table=t] ["ingest mode"=false] [index=idx_c3] [2024/05/06 09:31:47.437 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 09:31:47.437 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:206, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:47.275 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573789978591232, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:47.438 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=206] [2024/05/06 09:31:47.439 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:206, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:47.275 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573789978591232, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:47.445 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:206, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:47.275 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573789978591232, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:47.445 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=206] [conn=3] [category=ddl] [job="ID:206, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:47.275 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573789978591232, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:47.445 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=206] [table=t] ["ingest mode"=false] [index=idx_c3] [2024/05/06 09:31:47.501 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=416] [2024/05/06 09:31:47.501 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:206, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:416, ArgLen:6, start time: 2024-05-06 09:31:47.275 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573789978591232, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:47.502 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=206] [2024/05/06 09:31:47.502 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:206, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:416, ArgLen:6, start time: 2024-05-06 09:31:47.275 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573789978591232, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:47.509 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:206, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:416, ArgLen:0, start time: 2024-05-06 09:31:47.275 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573789978591232, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:47.509 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=206] [conn=3] [category=ddl] [job="ID:206, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:416, ArgLen:0, start time: 2024-05-06 09:31:47.275 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573789978591232, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:47.510 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=206] [table=t] ["ingest mode"=false] [index=idx_c3] [2024/05/06 09:31:47.528 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp add index"] [task="taskID: 1, physicalTableID: 111, range: [74800000000000006f5f728000000000000001, 74800000000000006f5f72800000000000080100), jobID: 206"] ["added count"=2049] ["scan count"=2049] ["next key"=74800000000000006f5f72800000000000080100] ["take time"=85.998755ms] [2024/05/06 09:31:47.528 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp add index"] [jobID=206] [2024/05/06 09:31:47.528 +00:00] [INFO] [backfilling.go:632] ["backfill workers successfully processed"] [category=ddl] [element=ID:24,TypeKey:_idx_] ["total added count"=2049] ["start key"=74800000000000006f5f728000000000000001] [2024/05/06 09:31:47.560 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=1824] [2024/05/06 09:31:47.560 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:206, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:1824, ArgLen:6, start time: 2024-05-06 09:31:47.275 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573789978591232, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:47.561 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=206] [2024/05/06 09:31:47.562 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:206, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:1824, ArgLen:6, start time: 2024-05-06 09:31:47.275 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573789978591232, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:47.569 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:206, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:1824, ArgLen:0, start time: 2024-05-06 09:31:47.275 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573789978591232, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:47.569 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=206] [conn=3] [category=ddl] [job="ID:206, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:1824, ArgLen:0, start time: 2024-05-06 09:31:47.275 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573789978591232, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:47.569 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=206] [table=t] ["ingest mode"=false] [index=idx_c3] [2024/05/06 09:31:47.571 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=2049] [2024/05/06 09:31:47.612 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:206, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:47.275 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573789978591232, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:47.614 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=351] [neededSchemaVersion=352] ["start time"=485.345µs] [gotSchemaVersion=352] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 09:31:47.616 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=206] [version=352] [2024/05/06 09:31:47.618 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=352] ["take time"=4.673895ms] [job="ID:206, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:47.275 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573789978591232, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:47.620 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:206, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:47.275 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573789978591232, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:47.629 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:206, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:47.275 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573789978591232, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:47.629 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=206] [conn=3] [category=ddl] [job="ID:206, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:47.275 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573789978591232, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:47.629 +00:00] [INFO] [index.go:880] ["index backfill state ready to merge"] [category=ddl] ["job ID"=206] [table=t] [index=idx_c3] [2024/05/06 09:31:47.630 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:206, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:47.275 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:47.632 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=352] [neededSchemaVersion=353] ["start time"=481.83µs] [gotSchemaVersion=353] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 09:31:47.633 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=206] [version=353] [2024/05/06 09:31:47.636 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=353] ["take time"=4.576751ms] [job="ID:206, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:47.275 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:47.637 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:206, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:47.275 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:47.643 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:206, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:47.275 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:47.643 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=206] [conn=3] [category=ddl] [job="ID:206, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:47.275 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:47.644 +00:00] [INFO] [reorg.go:718] ["job get table range"] [category=ddl] [jobID=206] [physicalTableID=111] [startKey=74800000000000006f5f69ffff000000000018] [endKey=74800000000000006f5f69ffff000000000018ff] [2024/05/06 09:31:47.651 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:206, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:47.275 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790061428736, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:47.658 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=206] [2024/05/06 09:31:47.659 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:206, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:47.275 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790061428736, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:47.667 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:206, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:47.275 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790061428736, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:47.667 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=206] [conn=3] [category=ddl] [job="ID:206, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:47.275 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790061428736, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:47.669 +00:00] [INFO] [index.go:1928] ["start to merge temp index"] [category=ddl] [job="ID:206, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:47.275 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790061428736, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:24,StartKey:74800000000000006f5f69ffff000000000018,EndKey:74800000000000006f5f69ffff000000000018ff,First:false,PhysicalTableID:111,Ingest mode:false"] [2024/05/06 09:31:47.670 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=111] ["start key"=74800000000000006f5f69ffff000000000018] ["end key"=74800000000000006f5f69ffff000000000018ff] [2024/05/06 09:31:47.670 +00:00] [INFO] [backfilling.go:692] ["start backfill workers to reorg record"] [category=ddl] [type="merge temporary index"] [workerCnt=1] [regionCnt=1] [startKey=74800000000000006f5f69ffff000000000018] [endKey=74800000000000006f5f69ffff000000000018ff] [2024/05/06 09:31:47.670 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=111] ["end key"=74800000000000006f5f69ffff000000000018ff] ["current end key"=74800000000000006f5f69ffff00000000001800] [2024/05/06 09:31:47.731 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=2049] [2024/05/06 09:31:47.731 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:206, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:47.275 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790061428736, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:47.732 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=206] [2024/05/06 09:31:47.732 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:206, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:47.275 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790061428736, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:47.739 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:206, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:47.275 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790061428736, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:47.739 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=206] [conn=3] [category=ddl] [job="ID:206, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:47.275 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790061428736, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:47.771 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [task="taskID: 1, physicalTableID: 111, range: [74800000000000006f5f69ffff000000000018, 74800000000000006f5f69ffff00000000001800), jobID: 206"] ["added count"=0] ["scan count"=0] ["next key"=74800000000000006f5f69ffff0000000000180000] ["take time"=152.649µs] [2024/05/06 09:31:47.771 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [jobID=206] [2024/05/06 09:31:47.771 +00:00] [INFO] [backfilling.go:632] ["backfill workers successfully processed"] [category=ddl] [element=ID:24,TypeKey:_idx_] ["total added count"=2049] ["start key"=74800000000000006f5f69ffff000000000018] [2024/05/06 09:31:47.815 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=2049] [2024/05/06 09:31:47.815 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:206, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:47.275 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790061428736, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:47.816 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=206] [2024/05/06 09:31:47.817 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:206, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:47.275 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790061428736, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:47.827 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:206, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:47.275 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790061428736, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:47.828 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=206] [conn=3] [category=ddl] [job="ID:206, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:47.275 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790061428736, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:47.830 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=2049] [2024/05/06 09:31:47.888 +00:00] [INFO] [index.go:781] ["run add index job done"] [category=ddl] [charset=utf8mb4] [collation=utf8mb4_bin] [2024/05/06 09:31:47.888 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:206, Type:add index, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 09:31:47.275 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790061428736, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:47.892 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=353] [neededSchemaVersion=354] ["start time"=458.67µs] [gotSchemaVersion=354] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 09:31:47.893 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=206] [version=354] [2024/05/06 09:31:47.896 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=354] ["take time"=4.386281ms] [job="ID:206, Type:add index, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 09:31:47.275 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790061428736, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:47.897 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:206, Type:add index, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 09:31:47.275 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790061428736, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:47.904 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=206] [tableID=111] [indexIDs="[9223090561878065176]"] [comment="add index: physical table ID(s)"] [2024/05/06 09:31:47.905 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=206] [jobType="add index"] [2024/05/06 09:31:47.905 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=206] [conn=3] [job="ID:206, Type:add index, State:synced, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 09:31:47.275 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790061428736, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:47.910 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:206, Type:add index, State:synced, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 09:31:47.275 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790061428736, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:47.910 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=206] [elementID=1] [startKey=74800000000000006f5f69ffff000000000018] [endKey=74800000000000006f5f69ffff000000000019] [2024/05/06 09:31:47.913 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=206] [2024/05/06 09:31:47.913 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:31:47.913 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=354] [cur_db=test] [sql="alter table t drop column c3"] [user=] [2024/05/06 09:31:47.916 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:207, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:47.914 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:31:47.916 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:207, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:47.914 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t drop column c3"] [2024/05/06 09:31:47.921 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:207, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:47.914 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:47.931 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=207] [conn=3] [category=ddl] [job="ID:207, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:47.914 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:47.932 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:207, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:47.914 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:47.934 +00:00] [WARN] [session.go:813] ["can not retry txn"] [label=internal] [error="[kv:9007]Write conflict, txnStartTS=449573790134042626, conflictStartTS=449573790134304768, conflictCommitTS=449573790134566912, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=207}, originalKey=748000fffffffffffe5f7280000000000000cf, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [IsBatchInsert=false] [IsPessimistic=false] [InRestrictedSQL=true] [tidb_retry_limit=10] [tidb_disable_txn_auto_retry=true] [2024/05/06 09:31:47.935 +00:00] [WARN] [session.go:829] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[kv:9007]Write conflict, txnStartTS=449573790134042626, conflictStartTS=449573790134304768, conflictCommitTS=449573790134566912, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=207}, originalKey=748000fffffffffffe5f7280000000000000cf, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [2024/05/06 09:31:47.935 +00:00] [INFO] [job_table.go:465] ["handle ddl job failed"] [worker="worker 6, tp general"] [category=ddl] [error="[kv:9007]Write conflict, txnStartTS=449573790134042626, conflictStartTS=449573790134304768, conflictCommitTS=449573790134566912, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=207}, originalKey=748000fffffffffffe5f7280000000000000cf, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [job="ID:207, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:47.914 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:47.939 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:207, Type:drop column, State:cancelling, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:47.914 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:47.939 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=207] [conn=3] [category=ddl] [job="ID:207, Type:drop column, State:cancelling, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:47.914 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:47.939 +00:00] [INFO] [rollingback.go:559] ["the DDL job is cancelled normally"] [worker="worker 6, tp general"] [category=ddl] [jobID=207] [conn=3] [job="ID:207, Type:drop column, State:cancelled, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:47.914 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [error="[ddl:8214]Cancelled DDL job"] [2024/05/06 09:31:47.939 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:207, Type:drop column, State:cancelled, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:47.914 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:47.939 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=207] [conn=3] [job="ID:207, Type:drop column, State:cancelled, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:47.914 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:47.942 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=207] [2024/05/06 09:31:47.942 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:207, Type:drop column, State:cancelled, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:47.914 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:47.942 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 09:31:47.942 +00:00] [WARN] [session.go:2153] ["run statement failed"] [schemaVersion=354] [error="[ddl:8214]Cancelled DDL job"] [errorVerbose="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).DoDDLJob\n\tpkg/ddl/ddl.go:1293\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).DropColumn\n\tpkg/ddl/ddl_api.go:5378\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AlterTable\n\tpkg/ddl/ddl_api.go:3900\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeAlterTable\n\tpkg/executor/ddl.go:388\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:152\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1211\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:960\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:794\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:559\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2280\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:469\ngithub.com/pingcap/tidb/pkg/ddl_test.TestCancel\n\tpkg/ddl/cancel_test.go:289\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 3,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 09:31:47.942 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=354] [cur_db=test] [sql="alter table t drop column c3"] [user=] [2024/05/06 09:31:47.945 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:208, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:47.944 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:31:47.945 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:208, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:47.944 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t drop column c3"] [2024/05/06 09:31:47.954 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:208, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:47.944 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:47.954 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=208] [conn=3] [category=ddl] [job="ID:208, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:47.944 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:47.955 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:208, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:47.944 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:47.962 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=354] [neededSchemaVersion=356] ["start time"=380.232µs] [gotSchemaVersion=356] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 09:31:47.964 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=208] [version=356] [2024/05/06 09:31:47.964 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=356] ["take time"=2.775487ms] [job="ID:208, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:47.944 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:47.965 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:208, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:47.944 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:47.979 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:208, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:47.944 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:47.979 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=208] [conn=3] [category=ddl] [job="ID:208, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:47.944 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:47.980 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:208, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:47.944 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:47.983 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=356] [neededSchemaVersion=357] ["start time"=1.384481ms] [gotSchemaVersion=357] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 09:31:47.985 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=208] [version=357] [2024/05/06 09:31:47.988 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=357] ["take time"=5.939982ms] [job="ID:208, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:47.944 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:47.989 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:208, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:47.944 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:47.994 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:208, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:47.944 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:47.995 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=208] [conn=3] [category=ddl] [job="ID:208, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:47.944 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:47.996 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:208, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:47.944 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:48.001 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=357] [neededSchemaVersion=358] ["start time"=483.737µs] [gotSchemaVersion=358] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 09:31:48.003 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=208] [version=358] [2024/05/06 09:31:48.005 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=358] ["take time"=4.767384ms] [job="ID:208, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:47.944 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:48.007 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:208, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:47.944 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:48.014 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:208, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:47.944 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:48.015 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=208] [conn=3] [category=ddl] [job="ID:208, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:47.944 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:48.016 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:208, Type:drop column, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:47.944 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:48.019 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=358] [neededSchemaVersion=359] ["start time"=435.59µs] [gotSchemaVersion=359] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 09:31:48.020 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=208] [version=359] [2024/05/06 09:31:48.020 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=359] ["take time"=2.32948ms] [job="ID:208, Type:drop column, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:47.944 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:48.021 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:208, Type:drop column, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:47.944 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:48.025 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=208] [tableID=111] [indexIDs="[24]"] [comment="drop column: table ID"] [2024/05/06 09:31:48.026 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=208] [jobType="drop column"] [2024/05/06 09:31:48.026 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=208] [conn=3] [job="ID:208, Type:drop column, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:47.944 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:48.029 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:208, Type:drop column, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:47.944 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:48.032 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=208] [2024/05/06 09:31:48.032 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:31:48.032 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=359] [cur_db=test] [sql="alter table t add column c3 bigint"] [user=] [2024/05/06 09:31:48.036 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:209, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:48.034 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:31:48.036 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:209, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:48.034 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t add column c3 bigint"] [2024/05/06 09:31:48.048 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:209, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:48.034 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:48.048 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=209] [conn=3] [category=ddl] [job="ID:209, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:48.034 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:48.048 +00:00] [INFO] [column.go:135] ["run add column job"] [category=ddl] [job="ID:209, Type:add column, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:48.034 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [columnInfo="{\"id\":19,\"name\":{\"O\":\"c3\",\"L\":\"c3\"},\"offset\":4,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{},\"state\":0,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2}"] [2024/05/06 09:31:48.049 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:209, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:48.034 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:48.055 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=359] [neededSchemaVersion=360] ["start time"=498.084µs] [gotSchemaVersion=360] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:48.057 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=209] [version=360] [2024/05/06 09:31:48.057 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=208] [elementID=1] [startKey=74800000000000006f5f698000000000000018] [endKey=74800000000000006f5f698000000000000019] [2024/05/06 09:31:48.059 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=360] ["take time"=4.387886ms] [job="ID:209, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:48.034 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:48.068 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:209, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:48.034 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:48.075 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:209, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:48.034 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:48.075 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=209] [conn=3] [category=ddl] [job="ID:209, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:48.034 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:48.076 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:209, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:48.034 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:48.078 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=360] [neededSchemaVersion=361] ["start time"=434.354µs] [gotSchemaVersion=361] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:48.080 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=209] [version=361] [2024/05/06 09:31:48.082 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=361] ["take time"=4.691124ms] [job="ID:209, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:48.034 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:48.084 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:209, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:48.034 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:48.090 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:209, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:48.034 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:48.090 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=209] [conn=3] [category=ddl] [job="ID:209, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:48.034 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:48.091 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:209, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:48.034 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:48.093 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=361] [neededSchemaVersion=362] ["start time"=460.77µs] [gotSchemaVersion=362] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:48.095 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=209] [version=362] [2024/05/06 09:31:48.101 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=362] ["take time"=8.3089ms] [job="ID:209, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:48.034 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:48.102 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:209, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:48.034 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:48.109 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:209, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:48.034 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:48.109 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=209] [conn=3] [category=ddl] [job="ID:209, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:48.034 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:48.111 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:209, Type:add column, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:48.034 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:48.113 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=362] [neededSchemaVersion=363] ["start time"=414.978µs] [gotSchemaVersion=363] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:48.115 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=209] [version=363] [2024/05/06 09:31:48.125 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=363] ["take time"=12.197888ms] [job="ID:209, Type:add column, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:48.034 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:48.126 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:209, Type:add column, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:48.034 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:48.134 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=209] [conn=3] [job="ID:209, Type:add column, State:synced, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:48.034 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:48.137 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:209, Type:add column, State:synced, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:48.034 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:48.137 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=209] [2024/05/06 09:31:48.138 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:31:48.138 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=363] [cur_db=test] [sql="alter table t add index idx_c3(c3)"] [user=] [2024/05/06 09:31:48.145 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:210, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:48.141 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 09:31:48.145 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:210, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:48.141 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add index idx_c3(c3)"] [2024/05/06 09:31:48.157 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:210, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:48.141 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:48.157 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=210] [conn=3] [category=ddl] [job="ID:210, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:48.141 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:48.158 +00:00] [INFO] [index.go:654] ["run add index job"] [category=ddl] [job="ID:210, Type:add index, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:48.141 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [indexInfo="{\"id\":25,\"idx_name\":{\"O\":\"idx_c3\",\"L\":\"idx_c3\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"c3\",\"L\":\"c3\"},\"offset\":4,\"length\":-1}],\"state\":0,\"backfill_state\":0,\"comment\":\"\",\"index_type\":1,\"is_unique\":false,\"is_primary\":false,\"is_invisible\":false,\"is_global\":false,\"mv_index\":false}"] [2024/05/06 09:31:48.158 +00:00] [INFO] [index.go:817] ["fallback to txn-merge backfill process"] [category=ddl] ["lightning env initialized"=false] [2024/05/06 09:31:48.158 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:210, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:48.141 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:48.160 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=363] [neededSchemaVersion=364] ["start time"=469.703µs] [gotSchemaVersion=364] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 09:31:48.162 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=210] [version=364] [2024/05/06 09:31:48.164 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=364] ["take time"=4.033928ms] [job="ID:210, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:48.141 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:48.165 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:210, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:48.141 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:48.175 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:210, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:48.141 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:48.175 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=210] [conn=3] [category=ddl] [job="ID:210, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:48.141 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:48.176 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:210, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:48.141 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:48.178 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=364] [neededSchemaVersion=365] ["start time"=446.357µs] [gotSchemaVersion=365] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 09:31:48.179 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=210] [version=365] [2024/05/06 09:31:48.189 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=365] ["take time"=11.937449ms] [job="ID:210, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:48.141 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:48.190 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:210, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:48.141 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:48.203 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:210, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:48.141 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:48.203 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=210] [conn=3] [category=ddl] [job="ID:210, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:48.141 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:48.211 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:210, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:48.141 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:48.225 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=365] [neededSchemaVersion=366] ["start time"=540.105µs] [gotSchemaVersion=366] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 09:31:48.227 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=210] [version=366] [2024/05/06 09:31:48.229 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=366] ["take time"=4.932639ms] [job="ID:210, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:48.141 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:48.230 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:210, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:48.141 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:48.237 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:210, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:48.141 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:48.237 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=210] [conn=3] [category=ddl] [job="ID:210, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:48.141 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:48.238 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=210] [table=t] ["ingest mode"=false] [index=idx_c3] [2024/05/06 09:31:48.238 +00:00] [INFO] [reorg.go:718] ["job get table range"] [category=ddl] [jobID=210] [physicalTableID=111] [startKey=74800000000000006f5f728000000000000001] [endKey=74800000000000006f5f72800000000000080100] [2024/05/06 09:31:48.241 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:210, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:48.141 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790217142272, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:48.245 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=210] [2024/05/06 09:31:48.245 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:210, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:48.141 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790217142272, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:48.252 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:210, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:48.141 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790217142272, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:48.252 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=210] [conn=3] [category=ddl] [job="ID:210, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:48.141 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790217142272, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:48.253 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=210] [table=t] ["ingest mode"=false] [index=idx_c3] [2024/05/06 09:31:48.255 +00:00] [INFO] [index.go:1931] ["start to add table index"] [category=ddl] [job="ID:210, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:48.141 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790217142272, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:25,StartKey:74800000000000006f5f728000000000000001,EndKey:74800000000000006f5f72800000000000080100,First:false,PhysicalTableID:111,Ingest mode:false"] [2024/05/06 09:31:48.256 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=111] ["start key"=74800000000000006f5f728000000000000001] ["end key"=74800000000000006f5f72800000000000080100] [2024/05/06 09:31:48.256 +00:00] [INFO] [backfilling.go:692] ["start backfill workers to reorg record"] [category=ddl] [type="add index"] [workerCnt=1] [regionCnt=1] [startKey=74800000000000006f5f728000000000000001] [endKey=74800000000000006f5f72800000000000080100] [2024/05/06 09:31:48.256 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=111] ["end key"=74800000000000006f5f72800000000000080100] ["current end key"=74800000000000006f5f72800000000000080100] [2024/05/06 09:31:48.271 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 09:31:48.271 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:210, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:48.141 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790217142272, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:48.271 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=210] [2024/05/06 09:31:48.272 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:210, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:48.141 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790217142272, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:48.280 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:210, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:48.141 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790217142272, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:48.280 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=210] [conn=3] [category=ddl] [job="ID:210, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:48.141 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790217142272, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:48.281 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=210] [table=t] ["ingest mode"=false] [index=idx_c3] [2024/05/06 09:31:48.293 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 09:31:48.293 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:210, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:48.141 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790217142272, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:48.294 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=210] [2024/05/06 09:31:48.294 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:210, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:48.141 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790217142272, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:48.301 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:210, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:48.141 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790217142272, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:48.301 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=210] [conn=3] [category=ddl] [job="ID:210, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:48.141 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790217142272, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:48.301 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=210] [table=t] ["ingest mode"=false] [index=idx_c3] [2024/05/06 09:31:48.318 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 09:31:48.318 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:210, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:48.141 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790217142272, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:48.319 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=210] [2024/05/06 09:31:48.319 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:210, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:48.141 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790217142272, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:48.327 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:210, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:48.141 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790217142272, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:48.327 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=210] [conn=3] [category=ddl] [job="ID:210, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:48.141 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790217142272, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:48.327 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=210] [table=t] ["ingest mode"=false] [index=idx_c3] [2024/05/06 09:31:48.339 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 09:31:48.339 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:210, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:48.141 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790217142272, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:48.340 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=210] [2024/05/06 09:31:48.340 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:210, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:48.141 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790217142272, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:48.348 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:210, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:48.141 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790217142272, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:48.348 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=210] [conn=3] [category=ddl] [job="ID:210, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:48.141 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790217142272, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:48.348 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=210] [table=t] ["ingest mode"=false] [index=idx_c3] [2024/05/06 09:31:48.364 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 09:31:48.364 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:210, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:48.141 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790217142272, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:48.365 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=210] [2024/05/06 09:31:48.365 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:210, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:48.141 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790217142272, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:48.372 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:210, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:48.141 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790217142272, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:48.372 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=210] [conn=3] [category=ddl] [job="ID:210, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:48.141 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790217142272, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:48.373 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=210] [table=t] ["ingest mode"=false] [index=idx_c3] [2024/05/06 09:31:48.488 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=256] [2024/05/06 09:31:48.488 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:210, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:256, ArgLen:6, start time: 2024-05-06 09:31:48.141 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790217142272, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:48.489 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=210] [2024/05/06 09:31:48.490 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:210, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:256, ArgLen:6, start time: 2024-05-06 09:31:48.141 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790217142272, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:48.499 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:210, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:256, ArgLen:0, start time: 2024-05-06 09:31:48.141 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790217142272, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:48.499 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=210] [conn=3] [category=ddl] [job="ID:210, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:256, ArgLen:0, start time: 2024-05-06 09:31:48.141 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790217142272, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:48.500 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=210] [table=t] ["ingest mode"=false] [index=idx_c3] [2024/05/06 09:31:48.530 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp add index"] [task="taskID: 1, physicalTableID: 111, range: [74800000000000006f5f728000000000000001, 74800000000000006f5f72800000000000080100), jobID: 210"] ["added count"=2049] ["scan count"=2049] ["next key"=74800000000000006f5f72800000000000080100] ["take time"=155.665217ms] [2024/05/06 09:31:48.530 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp add index"] [jobID=210] [2024/05/06 09:31:48.530 +00:00] [INFO] [backfilling.go:632] ["backfill workers successfully processed"] [category=ddl] [element=ID:25,TypeKey:_idx_] ["total added count"=2049] ["start key"=74800000000000006f5f728000000000000001] [2024/05/06 09:31:48.565 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=1856] [2024/05/06 09:31:48.565 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:210, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:1856, ArgLen:6, start time: 2024-05-06 09:31:48.141 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790217142272, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:48.569 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=210] [2024/05/06 09:31:48.569 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:210, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:1856, ArgLen:6, start time: 2024-05-06 09:31:48.141 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790217142272, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:48.576 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:210, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:1856, ArgLen:0, start time: 2024-05-06 09:31:48.141 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790217142272, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:48.576 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=210] [conn=3] [category=ddl] [job="ID:210, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:1856, ArgLen:0, start time: 2024-05-06 09:31:48.141 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790217142272, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:48.576 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=210] [table=t] ["ingest mode"=false] [index=idx_c3] [2024/05/06 09:31:48.578 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=2049] [2024/05/06 09:31:48.617 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:210, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:48.141 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790217142272, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:48.619 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=366] [neededSchemaVersion=367] ["start time"=528.63µs] [gotSchemaVersion=367] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 09:31:48.620 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=210] [version=367] [2024/05/06 09:31:48.623 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=367] ["take time"=4.637409ms] [job="ID:210, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:48.141 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790217142272, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:48.624 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:210, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:48.141 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790217142272, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:48.629 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:210, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:48.141 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790217142272, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:48.629 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=210] [conn=3] [category=ddl] [job="ID:210, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:48.141 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790217142272, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:48.630 +00:00] [INFO] [index.go:880] ["index backfill state ready to merge"] [category=ddl] ["job ID"=210] [table=t] [index=idx_c3] [2024/05/06 09:31:48.630 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:210, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:48.141 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:48.632 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=367] [neededSchemaVersion=368] ["start time"=385.051µs] [gotSchemaVersion=368] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 09:31:48.633 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=210] [version=368] [2024/05/06 09:31:48.634 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=368] ["take time"=2.188913ms] [job="ID:210, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:48.141 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:48.635 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:210, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:48.141 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:48.641 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:210, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:48.141 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:48.641 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=210] [conn=3] [category=ddl] [job="ID:210, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:48.141 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:48.642 +00:00] [INFO] [reorg.go:718] ["job get table range"] [category=ddl] [jobID=210] [physicalTableID=111] [startKey=74800000000000006f5f69ffff000000000019] [endKey=74800000000000006f5f69ffff000000000019ff] [2024/05/06 09:31:48.644 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:210, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:48.141 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790323048448, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:48.645 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=210] [2024/05/06 09:31:48.646 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:210, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:48.141 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790323048448, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:48.652 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:210, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:48.141 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790323048448, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:48.652 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=210] [conn=3] [category=ddl] [job="ID:210, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:48.141 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790323048448, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:48.653 +00:00] [INFO] [index.go:1928] ["start to merge temp index"] [category=ddl] [job="ID:210, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:48.141 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790323048448, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:25,StartKey:74800000000000006f5f69ffff000000000019,EndKey:74800000000000006f5f69ffff000000000019ff,First:false,PhysicalTableID:111,Ingest mode:false"] [2024/05/06 09:31:48.654 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=111] ["start key"=74800000000000006f5f69ffff000000000019] ["end key"=74800000000000006f5f69ffff000000000019ff] [2024/05/06 09:31:48.654 +00:00] [INFO] [backfilling.go:692] ["start backfill workers to reorg record"] [category=ddl] [type="merge temporary index"] [workerCnt=1] [regionCnt=1] [startKey=74800000000000006f5f69ffff000000000019] [endKey=74800000000000006f5f69ffff000000000019ff] [2024/05/06 09:31:48.655 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=111] ["end key"=74800000000000006f5f69ffff000000000019ff] ["current end key"=74800000000000006f5f69ffff00000000001900] [2024/05/06 09:31:48.715 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=2049] [2024/05/06 09:31:48.715 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:210, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:48.141 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790323048448, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:48.715 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=210] [2024/05/06 09:31:48.716 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:210, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:48.141 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790323048448, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:48.721 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:210, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:48.141 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790323048448, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:48.721 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=210] [conn=3] [category=ddl] [job="ID:210, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:48.141 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790323048448, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:48.755 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [task="taskID: 1, physicalTableID: 111, range: [74800000000000006f5f69ffff000000000019, 74800000000000006f5f69ffff00000000001900), jobID: 210"] ["added count"=0] ["scan count"=0] ["next key"=74800000000000006f5f69ffff0000000000190000] ["take time"=215.186µs] [2024/05/06 09:31:48.755 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [jobID=210] [2024/05/06 09:31:48.755 +00:00] [INFO] [backfilling.go:632] ["backfill workers successfully processed"] [category=ddl] [element=ID:25,TypeKey:_idx_] ["total added count"=2049] ["start key"=74800000000000006f5f69ffff000000000019] [2024/05/06 09:31:48.768 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=2049] [2024/05/06 09:31:48.768 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:210, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:48.141 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790323048448, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:48.769 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=210] [2024/05/06 09:31:48.769 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:210, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:48.141 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790323048448, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:48.780 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:210, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:48.141 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790323048448, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:48.780 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=210] [conn=3] [category=ddl] [job="ID:210, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:48.141 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790323048448, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:48.782 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=2049] [2024/05/06 09:31:48.840 +00:00] [INFO] [index.go:781] ["run add index job done"] [category=ddl] [charset=utf8mb4] [collation=utf8mb4_bin] [2024/05/06 09:31:48.840 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:210, Type:add index, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 09:31:48.141 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790323048448, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:48.843 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=368] [neededSchemaVersion=369] ["start time"=467.34µs] [gotSchemaVersion=369] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 09:31:48.844 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=210] [version=369] [2024/05/06 09:31:48.847 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=369] ["take time"=4.421111ms] [job="ID:210, Type:add index, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 09:31:48.141 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790323048448, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:48.848 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:210, Type:add index, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 09:31:48.141 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790323048448, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:48.855 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=210] [tableID=111] [indexIDs="[9223090561878065177]"] [comment="add index: physical table ID(s)"] [2024/05/06 09:31:48.856 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=210] [jobType="add index"] [2024/05/06 09:31:48.856 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=210] [conn=3] [job="ID:210, Type:add index, State:synced, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 09:31:48.141 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790323048448, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:48.860 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:210, Type:add index, State:synced, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 09:31:48.141 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790323048448, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:48.862 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=210] [elementID=1] [startKey=74800000000000006f5f69ffff000000000019] [endKey=74800000000000006f5f69ffff00000000001a] [2024/05/06 09:31:48.864 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=210] [2024/05/06 09:31:48.864 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:31:48.864 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=369] [cur_db=test] [sql="alter table t drop column c3"] [user=] [2024/05/06 09:31:48.867 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:211, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:48.866 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:31:48.867 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:211, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:48.866 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t drop column c3"] [2024/05/06 09:31:48.873 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:211, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:48.866 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:48.873 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=211] [conn=3] [category=ddl] [job="ID:211, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:48.866 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:48.874 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:211, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:48.866 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:48.877 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=369] [neededSchemaVersion=370] ["start time"=483.078µs] [gotSchemaVersion=370] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 09:31:48.879 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=211] [version=370] [2024/05/06 09:31:48.892 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=370] ["take time"=15.52048ms] [job="ID:211, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:48.866 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:48.893 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:211, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:48.866 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:48.899 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:211, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:48.866 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:48.899 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=211] [conn=3] [category=ddl] [job="ID:211, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:48.866 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:48.902 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:211, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:48.866 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:48.905 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=370] [neededSchemaVersion=371] ["start time"=462.393µs] [gotSchemaVersion=371] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 09:31:48.906 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=211] [version=371] [2024/05/06 09:31:48.909 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=371] ["take time"=4.868851ms] [job="ID:211, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:48.866 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:48.910 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:211, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:48.866 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:48.924 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:211, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:48.866 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:48.924 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=211] [conn=3] [category=ddl] [job="ID:211, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:48.866 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:48.927 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:211, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:48.866 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:48.929 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=371] [neededSchemaVersion=372] ["start time"=440.36µs] [gotSchemaVersion=372] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 09:31:48.952 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=211] [version=372] [2024/05/06 09:31:48.953 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=372] ["take time"=24.379313ms] [job="ID:211, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:48.866 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:48.954 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:211, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:48.866 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:48.959 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:211, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:48.866 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:48.959 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=211] [conn=3] [category=ddl] [job="ID:211, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:48.866 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:48.965 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:211, Type:drop column, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:48.866 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:48.970 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=372] [neededSchemaVersion=373] ["start time"=476.904µs] [gotSchemaVersion=373] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 09:31:48.972 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=211] [version=373] [2024/05/06 09:31:48.972 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=373] ["take time"=4.057051ms] [job="ID:211, Type:drop column, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:48.866 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:48.972 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:211, Type:drop column, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:48.866 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:48.983 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=211] [tableID=111] [indexIDs="[25]"] [comment="drop column: table ID"] [2024/05/06 09:31:48.984 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=211] [jobType="drop column"] [2024/05/06 09:31:48.984 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=211] [conn=3] [job="ID:211, Type:drop column, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:48.866 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:48.992 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:211, Type:drop column, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:48.866 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:48.995 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=211] [2024/05/06 09:31:48.995 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:31:48.995 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=373] [cur_db=test] [sql="alter table t add column c3 bigint"] [user=] [2024/05/06 09:31:49.012 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:212, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:48.997 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:31:49.012 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:212, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:48.997 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t add column c3 bigint"] [2024/05/06 09:31:49.015 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=211] [elementID=1] [startKey=74800000000000006f5f698000000000000019] [endKey=74800000000000006f5f69800000000000001a] [2024/05/06 09:31:49.020 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:212, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:48.997 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:49.020 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=212] [conn=3] [category=ddl] [job="ID:212, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:48.997 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:49.020 +00:00] [INFO] [column.go:135] ["run add column job"] [category=ddl] [job="ID:212, Type:add column, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:48.997 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [columnInfo="{\"id\":20,\"name\":{\"O\":\"c3\",\"L\":\"c3\"},\"offset\":4,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{},\"state\":0,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2}"] [2024/05/06 09:31:49.021 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:212, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:48.997 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:49.023 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=373] [neededSchemaVersion=374] ["start time"=358.763µs] [gotSchemaVersion=374] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:49.024 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=212] [version=374] [2024/05/06 09:31:49.025 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=374] ["take time"=2.085622ms] [job="ID:212, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:48.997 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:49.026 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:212, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:48.997 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:49.029 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:212, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:48.997 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:49.029 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=212] [conn=3] [category=ddl] [job="ID:212, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:48.997 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:49.029 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:212, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:48.997 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:49.032 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=374] [neededSchemaVersion=375] ["start time"=434.773µs] [gotSchemaVersion=375] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:49.033 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=212] [version=375] [2024/05/06 09:31:49.034 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=375] ["take time"=2.875849ms] [job="ID:212, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:48.997 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:49.035 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:212, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:48.997 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:49.038 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:212, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:48.997 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:49.038 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=212] [conn=3] [category=ddl] [job="ID:212, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:48.997 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:49.038 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:212, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:48.997 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:49.040 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=375] [neededSchemaVersion=376] ["start time"=416.509µs] [gotSchemaVersion=376] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:49.042 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=212] [version=376] [2024/05/06 09:31:49.044 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=376] ["take time"=4.181379ms] [job="ID:212, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:48.997 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:49.045 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:212, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:48.997 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:49.049 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:212, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:48.997 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:49.049 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=212] [conn=3] [category=ddl] [job="ID:212, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:48.997 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:49.052 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:212, Type:add column, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:48.997 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:49.055 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=376] [neededSchemaVersion=377] ["start time"=418.116µs] [gotSchemaVersion=377] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:49.056 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=212] [version=377] [2024/05/06 09:31:49.056 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=377] ["take time"=2.078408ms] [job="ID:212, Type:add column, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:48.997 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:49.057 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:212, Type:add column, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:48.997 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:49.066 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=212] [conn=3] [job="ID:212, Type:add column, State:synced, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:48.997 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:49.069 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:212, Type:add column, State:synced, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:48.997 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:49.070 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=212] [2024/05/06 09:31:49.070 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:31:49.070 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=377] [cur_db=test] [sql="alter table t add index idx_c3(c3)"] [user=] [2024/05/06 09:31:49.073 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:213, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:49.072 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 09:31:49.073 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:213, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:49.072 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add index idx_c3(c3)"] [2024/05/06 09:31:49.088 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:213, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:49.072 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:49.088 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=213] [conn=3] [category=ddl] [job="ID:213, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:49.072 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:49.088 +00:00] [INFO] [index.go:654] ["run add index job"] [category=ddl] [job="ID:213, Type:add index, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:49.072 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [indexInfo="{\"id\":26,\"idx_name\":{\"O\":\"idx_c3\",\"L\":\"idx_c3\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"c3\",\"L\":\"c3\"},\"offset\":4,\"length\":-1}],\"state\":0,\"backfill_state\":0,\"comment\":\"\",\"index_type\":1,\"is_unique\":false,\"is_primary\":false,\"is_invisible\":false,\"is_global\":false,\"mv_index\":false}"] [2024/05/06 09:31:49.088 +00:00] [INFO] [index.go:817] ["fallback to txn-merge backfill process"] [category=ddl] ["lightning env initialized"=false] [2024/05/06 09:31:49.089 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:213, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:49.072 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:49.091 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=377] [neededSchemaVersion=378] ["start time"=458.045µs] [gotSchemaVersion=378] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 09:31:49.092 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=213] [version=378] [2024/05/06 09:31:49.092 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=378] ["take time"=2.030321ms] [job="ID:213, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:49.072 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:49.093 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:213, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:49.072 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:49.100 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:213, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:49.072 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:49.100 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=213] [conn=3] [category=ddl] [job="ID:213, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:49.072 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:49.101 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:213, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:49.072 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:49.103 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=378] [neededSchemaVersion=379] ["start time"=474.238µs] [gotSchemaVersion=379] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 09:31:49.104 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=213] [version=379] [2024/05/06 09:31:49.104 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=379] ["take time"=2.096993ms] [job="ID:213, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:49.072 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:49.105 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:213, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:49.072 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:49.112 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:213, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:49.072 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:49.112 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=213] [conn=3] [category=ddl] [job="ID:213, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:49.072 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:49.113 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:213, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:49.072 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:49.116 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=379] [neededSchemaVersion=380] ["start time"=769.721µs] [gotSchemaVersion=380] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 09:31:49.117 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=213] [version=380] [2024/05/06 09:31:49.119 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=380] ["take time"=4.011598ms] [job="ID:213, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:49.072 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:49.120 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:213, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:49.072 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:49.126 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:213, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:49.072 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:49.126 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=213] [conn=3] [category=ddl] [job="ID:213, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:49.072 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:49.127 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=213] [table=t] ["ingest mode"=false] [index=idx_c3] [2024/05/06 09:31:49.127 +00:00] [INFO] [reorg.go:718] ["job get table range"] [category=ddl] [jobID=213] [physicalTableID=111] [startKey=74800000000000006f5f728000000000000001] [endKey=74800000000000006f5f72800000000000080100] [2024/05/06 09:31:49.129 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:213, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:49.072 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790450188288, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:49.130 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=213] [2024/05/06 09:31:49.131 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:213, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:49.072 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790450188288, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:49.137 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:213, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:49.072 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790450188288, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:49.137 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=213] [conn=3] [category=ddl] [job="ID:213, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:49.072 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790450188288, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:49.137 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=213] [table=t] ["ingest mode"=false] [index=idx_c3] [2024/05/06 09:31:49.139 +00:00] [INFO] [index.go:1931] ["start to add table index"] [category=ddl] [job="ID:213, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:49.072 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790450188288, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:26,StartKey:74800000000000006f5f728000000000000001,EndKey:74800000000000006f5f72800000000000080100,First:false,PhysicalTableID:111,Ingest mode:false"] [2024/05/06 09:31:49.140 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=111] ["start key"=74800000000000006f5f728000000000000001] ["end key"=74800000000000006f5f72800000000000080100] [2024/05/06 09:31:49.140 +00:00] [INFO] [backfilling.go:692] ["start backfill workers to reorg record"] [category=ddl] [type="add index"] [workerCnt=1] [regionCnt=1] [startKey=74800000000000006f5f728000000000000001] [endKey=74800000000000006f5f72800000000000080100] [2024/05/06 09:31:49.140 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=111] ["end key"=74800000000000006f5f72800000000000080100] ["current end key"=74800000000000006f5f72800000000000080100] [2024/05/06 09:31:49.149 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 09:31:49.149 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:213, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:49.072 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790450188288, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:49.150 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=213] [2024/05/06 09:31:49.150 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:213, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:49.072 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790450188288, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:49.168 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:213, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:49.072 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790450188288, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:49.168 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=213] [conn=3] [category=ddl] [job="ID:213, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:49.072 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790450188288, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:49.169 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=213] [table=t] ["ingest mode"=false] [index=idx_c3] [2024/05/06 09:31:49.183 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 09:31:49.183 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:213, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:49.072 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790450188288, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:49.184 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=213] [2024/05/06 09:31:49.184 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:213, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:49.072 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790450188288, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:49.193 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:213, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:49.072 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790450188288, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:49.193 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=213] [conn=3] [category=ddl] [job="ID:213, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:49.072 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790450188288, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:49.194 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=213] [table=t] ["ingest mode"=false] [index=idx_c3] [2024/05/06 09:31:49.207 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 09:31:49.207 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:213, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:49.072 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790450188288, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:49.208 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=213] [2024/05/06 09:31:49.209 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:213, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:49.072 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790450188288, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:49.218 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:213, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:49.072 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790450188288, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:49.218 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=213] [conn=3] [category=ddl] [job="ID:213, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:49.072 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790450188288, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:49.218 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=213] [table=t] ["ingest mode"=false] [index=idx_c3] [2024/05/06 09:31:49.230 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 09:31:49.230 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:213, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:49.072 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790450188288, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:49.231 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=213] [2024/05/06 09:31:49.232 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:213, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:49.072 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790450188288, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:49.238 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:213, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:49.072 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790450188288, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:49.238 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=213] [conn=3] [category=ddl] [job="ID:213, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:49.072 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790450188288, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:49.238 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=213] [table=t] ["ingest mode"=false] [index=idx_c3] [2024/05/06 09:31:49.313 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp add index"] [task="taskID: 1, physicalTableID: 111, range: [74800000000000006f5f728000000000000001, 74800000000000006f5f72800000000000080100), jobID: 213"] ["added count"=2049] ["scan count"=2049] ["next key"=74800000000000006f5f72800000000000080100] ["take time"=72.371406ms] [2024/05/06 09:31:49.313 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp add index"] [jobID=213] [2024/05/06 09:31:49.313 +00:00] [INFO] [backfilling.go:632] ["backfill workers successfully processed"] [category=ddl] [element=ID:26,TypeKey:_idx_] ["total added count"=2049] ["start key"=74800000000000006f5f728000000000000001] [2024/05/06 09:31:49.328 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=288] [2024/05/06 09:31:49.328 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:213, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:288, ArgLen:6, start time: 2024-05-06 09:31:49.072 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790450188288, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:49.332 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=213] [2024/05/06 09:31:49.333 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:213, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:288, ArgLen:6, start time: 2024-05-06 09:31:49.072 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790450188288, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:49.340 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:213, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:288, ArgLen:0, start time: 2024-05-06 09:31:49.072 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790450188288, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:49.340 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=213] [conn=3] [category=ddl] [job="ID:213, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:288, ArgLen:0, start time: 2024-05-06 09:31:49.072 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790450188288, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:49.341 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=213] [table=t] ["ingest mode"=false] [index=idx_c3] [2024/05/06 09:31:49.342 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=2049] [2024/05/06 09:31:49.377 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:213, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:49.072 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790450188288, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:49.379 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=380] [neededSchemaVersion=381] ["start time"=528.908µs] [gotSchemaVersion=381] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 09:31:49.381 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=213] [version=381] [2024/05/06 09:31:49.386 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=381] ["take time"=7.604406ms] [job="ID:213, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:49.072 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790450188288, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:49.387 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:213, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:49.072 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790450188288, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:49.394 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:213, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:49.072 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790450188288, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:49.394 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=213] [conn=3] [category=ddl] [job="ID:213, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:49.072 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790450188288, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:49.395 +00:00] [INFO] [index.go:880] ["index backfill state ready to merge"] [category=ddl] ["job ID"=213] [table=t] [index=idx_c3] [2024/05/06 09:31:49.395 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:213, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:49.072 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:49.397 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=381] [neededSchemaVersion=382] ["start time"=464.153µs] [gotSchemaVersion=382] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 09:31:49.399 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=213] [version=382] [2024/05/06 09:31:49.401 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=382] ["take time"=4.019345ms] [job="ID:213, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:49.072 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:49.402 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:213, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:49.072 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:49.410 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:213, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:49.072 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:49.410 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=213] [conn=3] [category=ddl] [job="ID:213, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:49.072 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:49.410 +00:00] [INFO] [reorg.go:718] ["job get table range"] [category=ddl] [jobID=213] [physicalTableID=111] [startKey=74800000000000006f5f69ffff00000000001a] [endKey=74800000000000006f5f69ffff00000000001aff] [2024/05/06 09:31:49.413 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:213, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:49.072 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790524375041, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:49.414 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=213] [2024/05/06 09:31:49.414 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:213, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:49.072 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790524375041, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:49.420 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:213, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:49.072 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790524375041, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:49.420 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=213] [conn=3] [category=ddl] [job="ID:213, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:49.072 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790524375041, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:49.422 +00:00] [INFO] [index.go:1928] ["start to merge temp index"] [category=ddl] [job="ID:213, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:49.072 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790524375041, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:26,StartKey:74800000000000006f5f69ffff00000000001a,EndKey:74800000000000006f5f69ffff00000000001aff,First:false,PhysicalTableID:111,Ingest mode:false"] [2024/05/06 09:31:49.423 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=111] ["start key"=74800000000000006f5f69ffff00000000001a] ["end key"=74800000000000006f5f69ffff00000000001aff] [2024/05/06 09:31:49.423 +00:00] [INFO] [backfilling.go:692] ["start backfill workers to reorg record"] [category=ddl] [type="merge temporary index"] [workerCnt=1] [regionCnt=1] [startKey=74800000000000006f5f69ffff00000000001a] [endKey=74800000000000006f5f69ffff00000000001aff] [2024/05/06 09:31:49.423 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=111] ["end key"=74800000000000006f5f69ffff00000000001aff] ["current end key"=74800000000000006f5f69ffff00000000001a00] [2024/05/06 09:31:49.474 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=2049] [2024/05/06 09:31:49.474 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:213, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:49.072 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790524375041, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:49.475 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=213] [2024/05/06 09:31:49.479 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:213, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:49.072 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790524375041, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:49.492 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:213, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:49.072 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790524375041, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:49.492 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=213] [conn=3] [category=ddl] [job="ID:213, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:49.072 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790524375041, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:49.524 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [task="taskID: 1, physicalTableID: 111, range: [74800000000000006f5f69ffff00000000001a, 74800000000000006f5f69ffff00000000001a00), jobID: 213"] ["added count"=0] ["scan count"=0] ["next key"=74800000000000006f5f69ffff00000000001a0000] ["take time"=192.563µs] [2024/05/06 09:31:49.524 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [jobID=213] [2024/05/06 09:31:49.524 +00:00] [INFO] [backfilling.go:632] ["backfill workers successfully processed"] [category=ddl] [element=ID:26,TypeKey:_idx_] ["total added count"=2049] ["start key"=74800000000000006f5f69ffff00000000001a] [2024/05/06 09:31:49.546 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=2049] [2024/05/06 09:31:49.546 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:213, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:49.072 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790524375041, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:49.547 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=213] [2024/05/06 09:31:49.548 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:213, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:49.072 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790524375041, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:49.555 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:213, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:49.072 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790524375041, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:49.556 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=213] [conn=3] [category=ddl] [job="ID:213, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:49.072 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790524375041, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:49.558 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=2049] [2024/05/06 09:31:49.601 +00:00] [INFO] [index.go:781] ["run add index job done"] [category=ddl] [charset=utf8mb4] [collation=utf8mb4_bin] [2024/05/06 09:31:49.601 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:213, Type:add index, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 09:31:49.072 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790524375041, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:49.603 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=382] [neededSchemaVersion=383] ["start time"=544.031µs] [gotSchemaVersion=383] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 09:31:49.605 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=213] [version=383] [2024/05/06 09:31:49.612 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=383] ["take time"=9.04159ms] [job="ID:213, Type:add index, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 09:31:49.072 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790524375041, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:49.613 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:213, Type:add index, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 09:31:49.072 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790524375041, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:49.620 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=213] [tableID=111] [indexIDs="[9223090561878065178]"] [comment="add index: physical table ID(s)"] [2024/05/06 09:31:49.621 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=213] [jobType="add index"] [2024/05/06 09:31:49.622 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=213] [conn=3] [job="ID:213, Type:add index, State:synced, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 09:31:49.072 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790524375041, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:49.626 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:213, Type:add index, State:synced, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 09:31:49.072 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790524375041, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:49.627 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=213] [elementID=1] [startKey=74800000000000006f5f69ffff00000000001a] [endKey=74800000000000006f5f69ffff00000000001b] [2024/05/06 09:31:49.628 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=213] [2024/05/06 09:31:49.628 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:31:49.629 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=383] [cur_db=test] [sql="alter table t drop column c3"] [user=] [2024/05/06 09:31:49.631 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:214, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:49.63 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:31:49.631 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:214, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:49.63 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t drop column c3"] [2024/05/06 09:31:49.640 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:214, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:49.63 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:49.640 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=214] [conn=3] [category=ddl] [job="ID:214, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:49.63 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:49.641 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:214, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:49.63 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:49.643 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=383] [neededSchemaVersion=384] ["start time"=442.264µs] [gotSchemaVersion=384] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 09:31:49.644 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=214] [version=384] [2024/05/06 09:31:49.646 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=384] ["take time"=4.066845ms] [job="ID:214, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:49.63 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:49.647 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:214, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:49.63 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:49.651 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:214, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:49.63 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:49.652 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=214] [conn=3] [category=ddl] [job="ID:214, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:49.63 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:49.653 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:214, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:49.63 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:49.655 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=384] [neededSchemaVersion=385] ["start time"=486.176µs] [gotSchemaVersion=385] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 09:31:49.657 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=214] [version=385] [2024/05/06 09:31:49.659 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=385] ["take time"=4.45755ms] [job="ID:214, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:49.63 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:49.660 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:214, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:49.63 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:49.663 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:214, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:49.63 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:49.663 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=214] [conn=3] [category=ddl] [job="ID:214, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:49.63 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:49.664 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:214, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:49.63 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:49.666 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=385] [neededSchemaVersion=386] ["start time"=474.676µs] [gotSchemaVersion=386] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 09:31:49.668 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=214] [version=386] [2024/05/06 09:31:49.693 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=386] ["take time"=27.624887ms] [job="ID:214, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:49.63 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:49.694 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:214, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:49.63 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:49.698 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:214, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:49.63 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:49.698 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=214] [conn=3] [category=ddl] [job="ID:214, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:49.63 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:49.699 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:214, Type:drop column, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:49.63 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:49.701 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=386] [neededSchemaVersion=387] ["start time"=446.325µs] [gotSchemaVersion=387] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 09:31:49.703 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=214] [version=387] [2024/05/06 09:31:49.703 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=387] ["take time"=2.153309ms] [job="ID:214, Type:drop column, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:49.63 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:49.704 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:214, Type:drop column, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:49.63 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:49.708 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=214] [tableID=111] [indexIDs="[26]"] [comment="drop column: table ID"] [2024/05/06 09:31:49.709 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=214] [jobType="drop column"] [2024/05/06 09:31:49.710 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=214] [conn=3] [job="ID:214, Type:drop column, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:49.63 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:49.713 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:214, Type:drop column, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:49.63 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:49.717 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=214] [2024/05/06 09:31:49.717 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:31:49.717 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=387] [cur_db=test] [sql="alter table t add column c3 bigint"] [user=] [2024/05/06 09:31:49.719 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:215, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:49.718 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:31:49.719 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:215, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:49.718 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t add column c3 bigint"] [2024/05/06 09:31:49.724 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:215, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:49.718 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:49.724 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=215] [conn=3] [category=ddl] [job="ID:215, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:49.718 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:49.724 +00:00] [INFO] [column.go:135] ["run add column job"] [category=ddl] [job="ID:215, Type:add column, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:49.718 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [columnInfo="{\"id\":21,\"name\":{\"O\":\"c3\",\"L\":\"c3\"},\"offset\":4,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{},\"state\":0,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2}"] [2024/05/06 09:31:49.725 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:215, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:49.718 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:49.727 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=387] [neededSchemaVersion=388] ["start time"=453.203µs] [gotSchemaVersion=388] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:49.728 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=215] [version=388] [2024/05/06 09:31:49.729 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=388] ["take time"=2.008399ms] [job="ID:215, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:49.718 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:49.730 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:215, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:49.718 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:49.730 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=214] [elementID=1] [startKey=74800000000000006f5f69800000000000001a] [endKey=74800000000000006f5f69800000000000001b] [2024/05/06 09:31:49.733 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:215, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:49.718 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:49.733 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=215] [conn=3] [category=ddl] [job="ID:215, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:49.718 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:49.734 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:215, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:49.718 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:49.736 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=388] [neededSchemaVersion=389] ["start time"=436.271µs] [gotSchemaVersion=389] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:49.737 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=215] [version=389] [2024/05/06 09:31:49.737 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=389] ["take time"=2.007271ms] [job="ID:215, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:49.718 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:49.738 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:215, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:49.718 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:49.743 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:215, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:49.718 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:49.744 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=215] [conn=3] [category=ddl] [job="ID:215, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:49.718 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:49.744 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:215, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:49.718 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:49.746 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=389] [neededSchemaVersion=390] ["start time"=297.836µs] [gotSchemaVersion=390] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:49.747 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=215] [version=390] [2024/05/06 09:31:49.748 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=390] ["take time"=2.139326ms] [job="ID:215, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:49.718 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:49.749 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:215, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:49.718 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:49.755 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:215, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:49.718 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:49.755 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=215] [conn=3] [category=ddl] [job="ID:215, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:49.718 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:49.756 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:215, Type:add column, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:49.718 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:49.758 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=390] [neededSchemaVersion=391] ["start time"=473.255µs] [gotSchemaVersion=391] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:49.760 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=215] [version=391] [2024/05/06 09:31:49.762 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=391] ["take time"=4.528681ms] [job="ID:215, Type:add column, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:49.718 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:49.763 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:215, Type:add column, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:49.718 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:49.774 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=215] [conn=3] [job="ID:215, Type:add column, State:synced, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:49.718 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:49.780 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:215, Type:add column, State:synced, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:49.718 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:49.780 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=215] [2024/05/06 09:31:49.780 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:31:49.781 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=391] [cur_db=test] [sql="alter table t add index idx_c3(c3)"] [user=] [2024/05/06 09:31:49.790 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:216, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:49.782 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 09:31:49.790 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:216, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:49.782 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add index idx_c3(c3)"] [2024/05/06 09:31:49.799 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:216, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:49.782 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:49.799 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=216] [conn=3] [category=ddl] [job="ID:216, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:49.782 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:49.800 +00:00] [INFO] [index.go:654] ["run add index job"] [category=ddl] [job="ID:216, Type:add index, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:49.782 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [indexInfo="{\"id\":27,\"idx_name\":{\"O\":\"idx_c3\",\"L\":\"idx_c3\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"c3\",\"L\":\"c3\"},\"offset\":4,\"length\":-1}],\"state\":0,\"backfill_state\":0,\"comment\":\"\",\"index_type\":1,\"is_unique\":false,\"is_primary\":false,\"is_invisible\":false,\"is_global\":false,\"mv_index\":false}"] [2024/05/06 09:31:49.800 +00:00] [INFO] [index.go:817] ["fallback to txn-merge backfill process"] [category=ddl] ["lightning env initialized"=false] [2024/05/06 09:31:49.800 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:216, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:49.782 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:49.802 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=391] [neededSchemaVersion=392] ["start time"=482.24µs] [gotSchemaVersion=392] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 09:31:49.804 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=216] [version=392] [2024/05/06 09:31:49.806 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=392] ["take time"=4.288621ms] [job="ID:216, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:49.782 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:49.807 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:216, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:49.782 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:49.816 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:216, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:49.782 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:49.816 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=216] [conn=3] [category=ddl] [job="ID:216, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:49.782 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:49.816 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:216, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:49.782 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:49.819 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=392] [neededSchemaVersion=393] ["start time"=745.7µs] [gotSchemaVersion=393] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 09:31:49.820 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=216] [version=393] [2024/05/06 09:31:49.822 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=393] ["take time"=4.285139ms] [job="ID:216, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:49.782 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:49.823 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:216, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:49.782 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:49.830 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:216, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:49.782 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:49.830 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=216] [conn=3] [category=ddl] [job="ID:216, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:49.782 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:49.831 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:216, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:49.782 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:49.833 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=393] [neededSchemaVersion=394] ["start time"=486.281µs] [gotSchemaVersion=394] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 09:31:49.835 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=216] [version=394] [2024/05/06 09:31:49.839 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=394] ["take time"=6.295972ms] [job="ID:216, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:49.782 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:49.840 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:216, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:49.782 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:49.847 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:216, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:49.782 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:49.847 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=216] [conn=3] [category=ddl] [job="ID:216, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:49.782 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:49.847 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=216] [table=t] ["ingest mode"=false] [index=idx_c3] [2024/05/06 09:31:49.848 +00:00] [INFO] [reorg.go:718] ["job get table range"] [category=ddl] [jobID=216] [physicalTableID=111] [startKey=74800000000000006f5f728000000000000001] [endKey=74800000000000006f5f72800000000000080100] [2024/05/06 09:31:49.850 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:216, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:49.782 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790638931968, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:49.851 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=216] [2024/05/06 09:31:49.851 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:216, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:49.782 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790638931968, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:49.858 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:216, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:49.782 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790638931968, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:49.858 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=216] [conn=3] [category=ddl] [job="ID:216, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:49.782 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790638931968, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:49.859 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=216] [table=t] ["ingest mode"=false] [index=idx_c3] [2024/05/06 09:31:49.860 +00:00] [INFO] [index.go:1931] ["start to add table index"] [category=ddl] [job="ID:216, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:49.782 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790638931968, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:27,StartKey:74800000000000006f5f728000000000000001,EndKey:74800000000000006f5f72800000000000080100,First:false,PhysicalTableID:111,Ingest mode:false"] [2024/05/06 09:31:49.861 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=111] ["start key"=74800000000000006f5f728000000000000001] ["end key"=74800000000000006f5f72800000000000080100] [2024/05/06 09:31:49.861 +00:00] [INFO] [backfilling.go:692] ["start backfill workers to reorg record"] [category=ddl] [type="add index"] [workerCnt=1] [regionCnt=1] [startKey=74800000000000006f5f728000000000000001] [endKey=74800000000000006f5f72800000000000080100] [2024/05/06 09:31:49.862 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=111] ["end key"=74800000000000006f5f72800000000000080100] ["current end key"=74800000000000006f5f72800000000000080100] [2024/05/06 09:31:49.872 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 09:31:49.873 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:216, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:49.782 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790638931968, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:49.873 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=216] [2024/05/06 09:31:49.874 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:216, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:49.782 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790638931968, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:49.882 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:216, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:49.782 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790638931968, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:49.882 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=216] [conn=3] [category=ddl] [job="ID:216, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:49.782 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790638931968, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:49.882 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=216] [table=t] ["ingest mode"=false] [index=idx_c3] [2024/05/06 09:31:49.894 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 09:31:49.894 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:216, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:49.782 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790638931968, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:49.895 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=216] [2024/05/06 09:31:49.895 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:216, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:49.782 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790638931968, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:49.903 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:216, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:49.782 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790638931968, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:49.903 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=216] [conn=3] [category=ddl] [job="ID:216, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:49.782 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790638931968, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:49.903 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=216] [table=t] ["ingest mode"=false] [index=idx_c3] [2024/05/06 09:31:49.916 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 09:31:49.916 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:216, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:49.782 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790638931968, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:49.917 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=216] [2024/05/06 09:31:49.917 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:216, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:49.782 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790638931968, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:49.926 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:216, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:49.782 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790638931968, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:49.926 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=216] [conn=3] [category=ddl] [job="ID:216, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:49.782 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790638931968, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:49.926 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=216] [table=t] ["ingest mode"=false] [index=idx_c3] [2024/05/06 09:31:49.939 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 09:31:49.939 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:216, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:49.782 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790638931968, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:49.939 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=216] [2024/05/06 09:31:49.940 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:216, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:49.782 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790638931968, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:49.949 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:216, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:49.782 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790638931968, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:49.949 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=216] [conn=3] [category=ddl] [job="ID:216, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:49.782 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790638931968, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:49.949 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=216] [table=t] ["ingest mode"=false] [index=idx_c3] [2024/05/06 09:31:49.963 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 09:31:49.963 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:216, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:49.782 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790638931968, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:49.963 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=216] [2024/05/06 09:31:49.964 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:216, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:49.782 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790638931968, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:49.971 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:216, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:49.782 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790638931968, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:49.971 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=216] [conn=3] [category=ddl] [job="ID:216, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:49.782 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790638931968, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:49.971 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=216] [table=t] ["ingest mode"=false] [index=idx_c3] [2024/05/06 09:31:50.026 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=544] [2024/05/06 09:31:50.026 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:216, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:544, ArgLen:6, start time: 2024-05-06 09:31:49.782 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790638931968, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:50.027 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=216] [2024/05/06 09:31:50.028 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:216, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:544, ArgLen:6, start time: 2024-05-06 09:31:49.782 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790638931968, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:50.031 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp add index"] [task="taskID: 1, physicalTableID: 111, range: [74800000000000006f5f728000000000000001, 74800000000000006f5f72800000000000080100), jobID: 216"] ["added count"=2049] ["scan count"=2049] ["next key"=74800000000000006f5f72800000000000080100] ["take time"=68.296924ms] [2024/05/06 09:31:50.031 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp add index"] [jobID=216] [2024/05/06 09:31:50.031 +00:00] [INFO] [backfilling.go:632] ["backfill workers successfully processed"] [category=ddl] [element=ID:27,TypeKey:_idx_] ["total added count"=2049] ["start key"=74800000000000006f5f728000000000000001] [2024/05/06 09:31:50.036 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:216, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:544, ArgLen:0, start time: 2024-05-06 09:31:49.782 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790638931968, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:50.036 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=216] [conn=3] [category=ddl] [job="ID:216, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:544, ArgLen:0, start time: 2024-05-06 09:31:49.782 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790638931968, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:50.036 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=216] [table=t] ["ingest mode"=false] [index=idx_c3] [2024/05/06 09:31:50.038 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=2049] [2024/05/06 09:31:50.081 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:216, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:49.782 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790638931968, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:50.083 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=394] [neededSchemaVersion=395] ["start time"=495.312µs] [gotSchemaVersion=395] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 09:31:50.085 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=216] [version=395] [2024/05/06 09:31:50.087 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=395] ["take time"=5.279836ms] [job="ID:216, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:49.782 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790638931968, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:50.090 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:216, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:49.782 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790638931968, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:50.098 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:216, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:49.782 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790638931968, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:50.098 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=216] [conn=3] [category=ddl] [job="ID:216, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:49.782 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790638931968, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:50.098 +00:00] [INFO] [index.go:880] ["index backfill state ready to merge"] [category=ddl] ["job ID"=216] [table=t] [index=idx_c3] [2024/05/06 09:31:50.099 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:216, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:49.782 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:50.106 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=395] [neededSchemaVersion=396] ["start time"=504.107µs] [gotSchemaVersion=396] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 09:31:50.108 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=216] [version=396] [2024/05/06 09:31:50.109 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=396] ["take time"=4.201115ms] [job="ID:216, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:49.782 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:50.110 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:216, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:49.782 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:50.117 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:216, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:49.782 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:50.117 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=216] [conn=3] [category=ddl] [job="ID:216, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:49.782 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:50.118 +00:00] [INFO] [reorg.go:718] ["job get table range"] [category=ddl] [jobID=216] [physicalTableID=111] [startKey=74800000000000006f5f69ffff00000000001b] [endKey=74800000000000006f5f69ffff00000000001bff] [2024/05/06 09:31:50.120 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:216, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:49.782 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790709972992, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:50.121 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=216] [2024/05/06 09:31:50.122 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:216, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:49.782 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790709972992, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:50.132 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:216, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:49.782 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790709972992, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:50.132 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=216] [conn=3] [category=ddl] [job="ID:216, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:49.782 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790709972992, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:50.134 +00:00] [INFO] [index.go:1928] ["start to merge temp index"] [category=ddl] [job="ID:216, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:49.782 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790709972992, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:27,StartKey:74800000000000006f5f69ffff00000000001b,EndKey:74800000000000006f5f69ffff00000000001bff,First:false,PhysicalTableID:111,Ingest mode:false"] [2024/05/06 09:31:50.135 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=111] ["start key"=74800000000000006f5f69ffff00000000001b] ["end key"=74800000000000006f5f69ffff00000000001bff] [2024/05/06 09:31:50.135 +00:00] [INFO] [backfilling.go:692] ["start backfill workers to reorg record"] [category=ddl] [type="merge temporary index"] [workerCnt=1] [regionCnt=1] [startKey=74800000000000006f5f69ffff00000000001b] [endKey=74800000000000006f5f69ffff00000000001bff] [2024/05/06 09:31:50.135 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=111] ["end key"=74800000000000006f5f69ffff00000000001bff] ["current end key"=74800000000000006f5f69ffff00000000001b00] [2024/05/06 09:31:50.198 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=2049] [2024/05/06 09:31:50.198 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:216, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:49.782 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790709972992, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:50.199 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=216] [2024/05/06 09:31:50.199 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:216, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:49.782 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790709972992, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:50.208 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:216, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:49.782 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790709972992, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:50.208 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=216] [conn=3] [category=ddl] [job="ID:216, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:49.782 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790709972992, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:50.237 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [task="taskID: 1, physicalTableID: 111, range: [74800000000000006f5f69ffff00000000001b, 74800000000000006f5f69ffff00000000001b00), jobID: 216"] ["added count"=0] ["scan count"=0] ["next key"=74800000000000006f5f69ffff00000000001b0000] ["take time"=241.156µs] [2024/05/06 09:31:50.238 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [jobID=216] [2024/05/06 09:31:50.238 +00:00] [INFO] [backfilling.go:632] ["backfill workers successfully processed"] [category=ddl] [element=ID:27,TypeKey:_idx_] ["total added count"=2049] ["start key"=74800000000000006f5f69ffff00000000001b] [2024/05/06 09:31:50.267 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=2049] [2024/05/06 09:31:50.268 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:216, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:49.782 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790709972992, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:50.268 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=216] [2024/05/06 09:31:50.269 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:216, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:49.782 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790709972992, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:50.277 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:216, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:49.782 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790709972992, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:50.277 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=216] [conn=3] [category=ddl] [job="ID:216, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:49.782 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790709972992, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:50.279 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=2049] [2024/05/06 09:31:50.331 +00:00] [INFO] [index.go:781] ["run add index job done"] [category=ddl] [charset=utf8mb4] [collation=utf8mb4_bin] [2024/05/06 09:31:50.331 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:216, Type:add index, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 09:31:49.782 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790709972992, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:50.334 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=396] [neededSchemaVersion=397] ["start time"=533.43µs] [gotSchemaVersion=397] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 09:31:50.336 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=216] [version=397] [2024/05/06 09:31:50.338 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=397] ["take time"=4.43122ms] [job="ID:216, Type:add index, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 09:31:49.782 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790709972992, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:50.339 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:216, Type:add index, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 09:31:49.782 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790709972992, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:50.348 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=216] [tableID=111] [indexIDs="[9223090561878065179]"] [comment="add index: physical table ID(s)"] [2024/05/06 09:31:50.349 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=216] [jobType="add index"] [2024/05/06 09:31:50.349 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=216] [conn=3] [job="ID:216, Type:add index, State:synced, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 09:31:49.782 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790709972992, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:50.354 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:216, Type:add index, State:synced, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 09:31:49.782 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790709972992, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:50.354 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=216] [elementID=1] [startKey=74800000000000006f5f69ffff00000000001b] [endKey=74800000000000006f5f69ffff00000000001c] [2024/05/06 09:31:50.356 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=216] [2024/05/06 09:31:50.356 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:31:50.357 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=397] [cur_db=test] [sql="alter table t drop column c3"] [user=] [2024/05/06 09:31:50.361 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:217, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:50.358 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:31:50.361 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:217, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:50.358 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t drop column c3"] [2024/05/06 09:31:50.376 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:217, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:50.358 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:50.376 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=217] [conn=3] [category=ddl] [job="ID:217, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:50.358 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:50.377 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:217, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:50.358 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:50.380 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=397] [neededSchemaVersion=398] ["start time"=491.612µs] [gotSchemaVersion=398] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 09:31:50.381 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=217] [version=398] [2024/05/06 09:31:50.395 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=398] ["take time"=16.092647ms] [job="ID:217, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:50.358 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:50.397 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:217, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:50.358 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:50.405 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:217, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:50.358 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:50.405 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=217] [conn=3] [category=ddl] [job="ID:217, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:50.358 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:50.406 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:217, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:50.358 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:50.409 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=398] [neededSchemaVersion=399] ["start time"=414.902µs] [gotSchemaVersion=399] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 09:31:50.410 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=217] [version=399] [2024/05/06 09:31:50.412 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=399] ["take time"=4.305197ms] [job="ID:217, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:50.358 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:50.415 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:217, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:50.358 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:50.424 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:217, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:50.358 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:50.424 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=217] [conn=3] [category=ddl] [job="ID:217, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:50.358 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:50.425 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:217, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:50.358 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:50.427 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=399] [neededSchemaVersion=400] ["start time"=378.494µs] [gotSchemaVersion=400] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 09:31:50.428 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=217] [version=400] [2024/05/06 09:31:50.429 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=400] ["take time"=2.113963ms] [job="ID:217, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:50.358 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:50.430 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:217, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:50.358 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:50.434 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:217, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:50.358 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:50.434 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=217] [conn=3] [category=ddl] [job="ID:217, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:50.358 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:50.435 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:217, Type:drop column, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:50.358 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:50.437 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=400] [neededSchemaVersion=401] ["start time"=321.068µs] [gotSchemaVersion=401] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 09:31:50.438 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=217] [version=401] [2024/05/06 09:31:50.439 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=401] ["take time"=2.53906ms] [job="ID:217, Type:drop column, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:50.358 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:50.440 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:217, Type:drop column, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:50.358 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:50.444 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=217] [tableID=111] [indexIDs="[27]"] [comment="drop column: table ID"] [2024/05/06 09:31:50.445 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=217] [jobType="drop column"] [2024/05/06 09:31:50.446 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=217] [conn=3] [job="ID:217, Type:drop column, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:50.358 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:50.449 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:217, Type:drop column, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:50.358 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:50.452 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=217] [2024/05/06 09:31:50.452 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:31:50.452 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=401] [cur_db=test] [sql="alter table t add column c3 bigint"] [user=] [2024/05/06 09:31:50.455 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:218, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:50.454 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:31:50.455 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:218, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:50.454 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t add column c3 bigint"] [2024/05/06 09:31:50.459 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=217] [elementID=1] [startKey=74800000000000006f5f69800000000000001b] [endKey=74800000000000006f5f69800000000000001c] [2024/05/06 09:31:50.462 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:218, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:50.454 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:50.462 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=218] [conn=3] [category=ddl] [job="ID:218, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:50.454 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:50.462 +00:00] [INFO] [column.go:135] ["run add column job"] [category=ddl] [job="ID:218, Type:add column, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:50.454 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [columnInfo="{\"id\":22,\"name\":{\"O\":\"c3\",\"L\":\"c3\"},\"offset\":4,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{},\"state\":0,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2}"] [2024/05/06 09:31:50.462 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:218, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:50.454 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:50.465 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=401] [neededSchemaVersion=402] ["start time"=450.114µs] [gotSchemaVersion=402] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:50.466 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=218] [version=402] [2024/05/06 09:31:50.466 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=402] ["take time"=2.028279ms] [job="ID:218, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:50.454 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:50.467 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:218, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:50.454 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:50.476 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:218, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:50.454 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:50.476 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=218] [conn=3] [category=ddl] [job="ID:218, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:50.454 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:50.476 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:218, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:50.454 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:50.478 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=402] [neededSchemaVersion=403] ["start time"=437.865µs] [gotSchemaVersion=403] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:50.480 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=218] [version=403] [2024/05/06 09:31:50.482 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=403] ["take time"=4.097721ms] [job="ID:218, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:50.454 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:50.490 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:218, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:50.454 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:50.495 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:218, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:50.454 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:50.495 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=218] [conn=3] [category=ddl] [job="ID:218, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:50.454 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:50.496 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:218, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:50.454 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:50.498 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=403] [neededSchemaVersion=404] ["start time"=461.505µs] [gotSchemaVersion=404] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:50.500 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=218] [version=404] [2024/05/06 09:31:50.501 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=404] ["take time"=4.105584ms] [job="ID:218, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:50.454 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:50.503 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:218, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:50.454 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:50.508 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:218, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:50.454 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:50.509 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=218] [conn=3] [category=ddl] [job="ID:218, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:50.454 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:50.509 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:218, Type:add column, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:50.454 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:50.512 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=404] [neededSchemaVersion=405] ["start time"=412.648µs] [gotSchemaVersion=405] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:50.514 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=218] [version=405] [2024/05/06 09:31:50.515 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=405] ["take time"=4.093883ms] [job="ID:218, Type:add column, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:50.454 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:50.517 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:218, Type:add column, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:50.454 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:50.524 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=218] [conn=3] [job="ID:218, Type:add column, State:synced, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:50.454 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:50.527 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:218, Type:add column, State:synced, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:50.454 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:50.527 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=218] [2024/05/06 09:31:50.527 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:31:50.528 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=405] [cur_db=test] [sql="alter table t add index idx_c3(c3)"] [user=] [2024/05/06 09:31:50.530 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:219, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:50.529 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 09:31:50.530 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:219, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:50.529 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add index idx_c3(c3)"] [2024/05/06 09:31:50.538 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:219, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:50.529 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:50.538 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=219] [conn=3] [category=ddl] [job="ID:219, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:50.529 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:50.539 +00:00] [INFO] [index.go:654] ["run add index job"] [category=ddl] [job="ID:219, Type:add index, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:50.529 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [indexInfo="{\"id\":28,\"idx_name\":{\"O\":\"idx_c3\",\"L\":\"idx_c3\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"c3\",\"L\":\"c3\"},\"offset\":4,\"length\":-1}],\"state\":0,\"backfill_state\":0,\"comment\":\"\",\"index_type\":1,\"is_unique\":false,\"is_primary\":false,\"is_invisible\":false,\"is_global\":false,\"mv_index\":false}"] [2024/05/06 09:31:50.539 +00:00] [INFO] [index.go:817] ["fallback to txn-merge backfill process"] [category=ddl] ["lightning env initialized"=false] [2024/05/06 09:31:50.539 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:219, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:50.529 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:50.542 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=405] [neededSchemaVersion=406] ["start time"=460.845µs] [gotSchemaVersion=406] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 09:31:50.543 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=219] [version=406] [2024/05/06 09:31:50.543 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=406] ["take time"=2.016333ms] [job="ID:219, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:50.529 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:50.544 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:219, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:50.529 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:50.550 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:219, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:50.529 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:50.550 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=219] [conn=3] [category=ddl] [job="ID:219, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:50.529 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:50.552 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:219, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:50.529 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:50.555 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=406] [neededSchemaVersion=407] ["start time"=463.075µs] [gotSchemaVersion=407] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 09:31:50.556 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=219] [version=407] [2024/05/06 09:31:50.562 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=407] ["take time"=7.825497ms] [job="ID:219, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:50.529 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:50.563 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:219, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:50.529 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:50.575 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:219, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:50.529 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:50.575 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=219] [conn=3] [category=ddl] [job="ID:219, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:50.529 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:50.576 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:219, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:50.529 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:50.578 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=407] [neededSchemaVersion=408] ["start time"=491.341µs] [gotSchemaVersion=408] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 09:31:50.580 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=219] [version=408] [2024/05/06 09:31:50.590 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=408] ["take time"=12.427401ms] [job="ID:219, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:50.529 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:50.591 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:219, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:50.529 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:50.598 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:219, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:50.529 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:50.598 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=219] [conn=3] [category=ddl] [job="ID:219, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:50.529 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:50.598 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=219] [table=t] ["ingest mode"=false] [index=idx_c3] [2024/05/06 09:31:50.599 +00:00] [INFO] [reorg.go:718] ["job get table range"] [category=ddl] [jobID=219] [physicalTableID=111] [startKey=74800000000000006f5f728000000000000001] [endKey=74800000000000006f5f72800000000000080100] [2024/05/06 09:31:50.601 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:219, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:50.529 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790836064256, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:50.602 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=219] [2024/05/06 09:31:50.603 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:219, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:50.529 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790836064256, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:50.610 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:219, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:50.529 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790836064256, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:50.610 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=219] [conn=3] [category=ddl] [job="ID:219, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:50.529 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790836064256, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:50.610 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=219] [table=t] ["ingest mode"=false] [index=idx_c3] [2024/05/06 09:31:50.612 +00:00] [INFO] [index.go:1931] ["start to add table index"] [category=ddl] [job="ID:219, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:50.529 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790836064256, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:28,StartKey:74800000000000006f5f728000000000000001,EndKey:74800000000000006f5f72800000000000080100,First:false,PhysicalTableID:111,Ingest mode:false"] [2024/05/06 09:31:50.613 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=111] ["start key"=74800000000000006f5f728000000000000001] ["end key"=74800000000000006f5f72800000000000080100] [2024/05/06 09:31:50.613 +00:00] [INFO] [backfilling.go:692] ["start backfill workers to reorg record"] [category=ddl] [type="add index"] [workerCnt=1] [regionCnt=1] [startKey=74800000000000006f5f728000000000000001] [endKey=74800000000000006f5f72800000000000080100] [2024/05/06 09:31:50.613 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=111] ["end key"=74800000000000006f5f72800000000000080100] ["current end key"=74800000000000006f5f72800000000000080100] [2024/05/06 09:31:50.630 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 09:31:50.630 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:219, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:50.529 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790836064256, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:50.631 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=219] [2024/05/06 09:31:50.632 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:219, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:50.529 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790836064256, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:50.638 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:219, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:50.529 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790836064256, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:50.638 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=219] [conn=3] [category=ddl] [job="ID:219, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:50.529 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790836064256, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:50.639 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=219] [table=t] ["ingest mode"=false] [index=idx_c3] [2024/05/06 09:31:50.651 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 09:31:50.651 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:219, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:50.529 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790836064256, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:50.652 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=219] [2024/05/06 09:31:50.653 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:219, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:50.529 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790836064256, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:50.660 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:219, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:50.529 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790836064256, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:50.660 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=219] [conn=3] [category=ddl] [job="ID:219, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:50.529 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790836064256, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:50.661 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=219] [table=t] ["ingest mode"=false] [index=idx_c3] [2024/05/06 09:31:50.679 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 09:31:50.679 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:219, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:50.529 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790836064256, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:50.680 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=219] [2024/05/06 09:31:50.681 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:219, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:50.529 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790836064256, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:50.704 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:219, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:50.529 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790836064256, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:50.705 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=219] [conn=3] [category=ddl] [job="ID:219, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:50.529 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790836064256, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:50.705 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=219] [table=t] ["ingest mode"=false] [index=idx_c3] [2024/05/06 09:31:50.759 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=64] [2024/05/06 09:31:50.759 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:219, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:64, ArgLen:6, start time: 2024-05-06 09:31:50.529 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790836064256, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:50.761 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=219] [2024/05/06 09:31:50.761 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:219, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:64, ArgLen:6, start time: 2024-05-06 09:31:50.529 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790836064256, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:50.769 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:219, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:64, ArgLen:0, start time: 2024-05-06 09:31:50.529 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790836064256, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:50.769 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=219] [conn=3] [category=ddl] [job="ID:219, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:64, ArgLen:0, start time: 2024-05-06 09:31:50.529 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790836064256, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:50.769 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=219] [table=t] ["ingest mode"=false] [index=idx_c3] [2024/05/06 09:31:50.780 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp add index"] [task="taskID: 1, physicalTableID: 111, range: [74800000000000006f5f728000000000000001, 74800000000000006f5f72800000000000080100), jobID: 219"] ["added count"=2049] ["scan count"=2049] ["next key"=74800000000000006f5f72800000000000080100] ["take time"=65.624688ms] [2024/05/06 09:31:50.780 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp add index"] [jobID=219] [2024/05/06 09:31:50.780 +00:00] [INFO] [backfilling.go:632] ["backfill workers successfully processed"] [category=ddl] [element=ID:28,TypeKey:_idx_] ["total added count"=2049] ["start key"=74800000000000006f5f728000000000000001] [2024/05/06 09:31:50.780 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=2049] [2024/05/06 09:31:50.810 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:219, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:50.529 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790836064256, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:50.812 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=408] [neededSchemaVersion=409] ["start time"=308.545µs] [gotSchemaVersion=409] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 09:31:50.814 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=219] [version=409] [2024/05/06 09:31:50.815 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=409] ["take time"=2.880496ms] [job="ID:219, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:50.529 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790836064256, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:50.816 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:219, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:50.529 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790836064256, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:50.825 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:219, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:50.529 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790836064256, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:50.825 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=219] [conn=3] [category=ddl] [job="ID:219, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:50.529 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790836064256, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:50.825 +00:00] [INFO] [index.go:880] ["index backfill state ready to merge"] [category=ddl] ["job ID"=219] [table=t] [index=idx_c3] [2024/05/06 09:31:50.827 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:219, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:50.529 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:50.829 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=409] [neededSchemaVersion=410] ["start time"=504.4µs] [gotSchemaVersion=410] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 09:31:50.831 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=219] [version=410] [2024/05/06 09:31:50.833 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=410] ["take time"=4.392093ms] [job="ID:219, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:50.529 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:50.834 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:219, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:50.529 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:50.864 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:219, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:50.529 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:50.865 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=219] [conn=3] [category=ddl] [job="ID:219, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:50.529 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:50.865 +00:00] [INFO] [reorg.go:718] ["job get table range"] [category=ddl] [jobID=219] [physicalTableID=111] [startKey=74800000000000006f5f69ffff00000000001c] [endKey=74800000000000006f5f69ffff00000000001cff] [2024/05/06 09:31:50.869 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:219, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:50.529 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790905794560, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:50.871 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=219] [2024/05/06 09:31:50.872 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:219, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:50.529 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790905794560, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:50.877 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:219, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:50.529 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790905794560, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:50.878 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=219] [conn=3] [category=ddl] [job="ID:219, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:50.529 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790905794560, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:50.880 +00:00] [INFO] [index.go:1928] ["start to merge temp index"] [category=ddl] [job="ID:219, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:50.529 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790905794560, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:28,StartKey:74800000000000006f5f69ffff00000000001c,EndKey:74800000000000006f5f69ffff00000000001cff,First:false,PhysicalTableID:111,Ingest mode:false"] [2024/05/06 09:31:50.881 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=111] ["start key"=74800000000000006f5f69ffff00000000001c] ["end key"=74800000000000006f5f69ffff00000000001cff] [2024/05/06 09:31:50.881 +00:00] [INFO] [backfilling.go:692] ["start backfill workers to reorg record"] [category=ddl] [type="merge temporary index"] [workerCnt=1] [regionCnt=1] [startKey=74800000000000006f5f69ffff00000000001c] [endKey=74800000000000006f5f69ffff00000000001cff] [2024/05/06 09:31:50.881 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=111] ["end key"=74800000000000006f5f69ffff00000000001cff] ["current end key"=74800000000000006f5f69ffff00000000001c00] [2024/05/06 09:31:50.928 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=2049] [2024/05/06 09:31:50.928 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:219, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:50.529 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790905794560, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:50.928 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=219] [2024/05/06 09:31:50.929 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:219, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:50.529 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790905794560, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:50.934 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:219, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:50.529 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790905794560, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:50.935 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=219] [conn=3] [category=ddl] [job="ID:219, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:50.529 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790905794560, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:50.983 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [task="taskID: 1, physicalTableID: 111, range: [74800000000000006f5f69ffff00000000001c, 74800000000000006f5f69ffff00000000001c00), jobID: 219"] ["added count"=0] ["scan count"=0] ["next key"=74800000000000006f5f69ffff00000000001c0000] ["take time"=180.31µs] [2024/05/06 09:31:50.983 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [jobID=219] [2024/05/06 09:31:50.983 +00:00] [INFO] [backfilling.go:632] ["backfill workers successfully processed"] [category=ddl] [element=ID:28,TypeKey:_idx_] ["total added count"=2049] ["start key"=74800000000000006f5f69ffff00000000001c] [2024/05/06 09:31:50.984 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=2049] [2024/05/06 09:31:50.984 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:219, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:50.529 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790905794560, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:50.984 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=219] [2024/05/06 09:31:50.985 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:219, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:50.529 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790905794560, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:50.991 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:219, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:50.529 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790905794560, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:50.991 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=219] [conn=3] [category=ddl] [job="ID:219, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:50.529 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790905794560, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:50.993 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=2049] [2024/05/06 09:31:51.029 +00:00] [INFO] [index.go:781] ["run add index job done"] [category=ddl] [charset=utf8mb4] [collation=utf8mb4_bin] [2024/05/06 09:31:51.029 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:219, Type:add index, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 09:31:50.529 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790905794560, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:51.032 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=410] [neededSchemaVersion=411] ["start time"=454.648µs] [gotSchemaVersion=411] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 09:31:51.033 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=219] [version=411] [2024/05/06 09:31:51.035 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=411] ["take time"=4.373686ms] [job="ID:219, Type:add index, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 09:31:50.529 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790905794560, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:51.036 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:219, Type:add index, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 09:31:50.529 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790905794560, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:51.042 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=219] [tableID=111] [indexIDs="[9223090561878065180]"] [comment="add index: physical table ID(s)"] [2024/05/06 09:31:51.043 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=219] [jobType="add index"] [2024/05/06 09:31:51.044 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=219] [conn=3] [job="ID:219, Type:add index, State:synced, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 09:31:50.529 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790905794560, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:51.046 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=219] [elementID=1] [startKey=74800000000000006f5f69ffff00000000001c] [endKey=74800000000000006f5f69ffff00000000001d] [2024/05/06 09:31:51.047 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:219, Type:add index, State:synced, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 09:31:50.529 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790905794560, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:51.049 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=219] [2024/05/06 09:31:51.049 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:31:51.050 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=411] [cur_db=test] [sql="alter table t drop column c3"] [user=] [2024/05/06 09:31:51.053 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:220, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:51.051 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:31:51.053 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:220, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:51.051 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t drop column c3"] [2024/05/06 09:31:51.060 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:220, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:51.051 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:51.060 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=220] [conn=3] [category=ddl] [job="ID:220, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:51.051 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:51.061 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:220, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:51.051 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:51.064 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=411] [neededSchemaVersion=412] ["start time"=502.932µs] [gotSchemaVersion=412] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 09:31:51.066 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=220] [version=412] [2024/05/06 09:31:51.067 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=412] ["take time"=4.055731ms] [job="ID:220, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:51.051 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:51.068 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:220, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:51.051 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:51.074 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:220, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:51.051 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:51.075 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=220] [conn=3] [category=ddl] [job="ID:220, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:51.051 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:51.075 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:220, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:51.051 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:51.077 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=412] [neededSchemaVersion=413] ["start time"=472.539µs] [gotSchemaVersion=413] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 09:31:51.079 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=220] [version=413] [2024/05/06 09:31:51.079 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=413] ["take time"=2.323132ms] [job="ID:220, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:51.051 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:51.080 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:220, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:51.051 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:51.084 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:220, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:51.051 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:51.084 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=220] [conn=3] [category=ddl] [job="ID:220, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:51.051 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:51.085 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:220, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:51.051 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:51.087 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=413] [neededSchemaVersion=414] ["start time"=447.837µs] [gotSchemaVersion=414] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 09:31:51.088 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=220] [version=414] [2024/05/06 09:31:51.089 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=414] ["take time"=2.92874ms] [job="ID:220, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:51.051 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:51.090 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:220, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:51.051 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:51.093 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:220, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:51.051 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:51.095 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=220] [conn=3] [category=ddl] [job="ID:220, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:51.051 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:51.095 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:220, Type:drop column, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:51.051 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:51.097 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=414] [neededSchemaVersion=415] ["start time"=308.456µs] [gotSchemaVersion=415] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 09:31:51.098 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=220] [version=415] [2024/05/06 09:31:51.100 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=415] ["take time"=2.919449ms] [job="ID:220, Type:drop column, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:51.051 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:51.100 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:220, Type:drop column, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:51.051 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:51.104 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=220] [tableID=111] [indexIDs="[28]"] [comment="drop column: table ID"] [2024/05/06 09:31:51.104 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=220] [jobType="drop column"] [2024/05/06 09:31:51.105 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=220] [conn=3] [job="ID:220, Type:drop column, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:51.051 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:51.108 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:220, Type:drop column, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:51.051 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:51.110 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=220] [2024/05/06 09:31:51.110 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:31:51.111 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=415] [cur_db=test] [sql="alter table t add column c3 bigint"] [user=] [2024/05/06 09:31:51.114 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:221, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:51.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:31:51.114 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:221, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:51.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t add column c3 bigint"] [2024/05/06 09:31:51.118 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=220] [elementID=1] [startKey=74800000000000006f5f69800000000000001c] [endKey=74800000000000006f5f69800000000000001d] [2024/05/06 09:31:51.125 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:221, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:51.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:51.125 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=221] [conn=3] [category=ddl] [job="ID:221, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:51.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:51.126 +00:00] [INFO] [column.go:135] ["run add column job"] [category=ddl] [job="ID:221, Type:add column, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:51.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [columnInfo="{\"id\":23,\"name\":{\"O\":\"c3\",\"L\":\"c3\"},\"offset\":4,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{},\"state\":0,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2}"] [2024/05/06 09:31:51.126 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:221, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:51.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:51.128 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=415] [neededSchemaVersion=416] ["start time"=442.39µs] [gotSchemaVersion=416] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:51.130 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=221] [version=416] [2024/05/06 09:31:51.130 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=416] ["take time"=2.102355ms] [job="ID:221, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:51.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:51.131 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:221, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:51.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:51.135 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:221, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:51.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:51.135 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=221] [conn=3] [category=ddl] [job="ID:221, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:51.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:51.136 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:221, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:51.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:51.137 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=416] [neededSchemaVersion=417] ["start time"=313.353µs] [gotSchemaVersion=417] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:51.138 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=221] [version=417] [2024/05/06 09:31:51.139 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=417] ["take time"=2.458786ms] [job="ID:221, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:51.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:51.140 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:221, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:51.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:51.143 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:221, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:51.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:51.143 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=221] [conn=3] [category=ddl] [job="ID:221, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:51.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:51.143 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:221, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:51.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:51.145 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=417] [neededSchemaVersion=418] ["start time"=380.803µs] [gotSchemaVersion=418] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:51.146 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=221] [version=418] [2024/05/06 09:31:51.147 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=418] ["take time"=2.119956ms] [job="ID:221, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:51.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:51.148 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:221, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:51.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:51.151 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:221, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:51.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:51.151 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=221] [conn=3] [category=ddl] [job="ID:221, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:51.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:51.152 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:221, Type:add column, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:51.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:51.154 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=418] [neededSchemaVersion=419] ["start time"=421.846µs] [gotSchemaVersion=419] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:51.155 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=221] [version=419] [2024/05/06 09:31:51.156 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=419] ["take time"=2.47787ms] [job="ID:221, Type:add column, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:51.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:51.157 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:221, Type:add column, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:51.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:51.161 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=221] [conn=3] [job="ID:221, Type:add column, State:synced, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:51.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:51.164 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=221] [2024/05/06 09:31:51.164 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:31:51.164 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:221, Type:add column, State:synced, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:51.112 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:51.165 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=419] [cur_db=test] [sql="alter table t add index idx_c3(c3)"] [user=] [2024/05/06 09:31:51.167 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:222, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:51.166 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 09:31:51.167 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:222, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:51.166 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add index idx_c3(c3)"] [2024/05/06 09:31:51.174 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:222, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:51.166 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:51.174 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=222] [conn=3] [category=ddl] [job="ID:222, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:51.166 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:51.174 +00:00] [INFO] [index.go:654] ["run add index job"] [category=ddl] [job="ID:222, Type:add index, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:51.166 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [indexInfo="{\"id\":29,\"idx_name\":{\"O\":\"idx_c3\",\"L\":\"idx_c3\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"c3\",\"L\":\"c3\"},\"offset\":4,\"length\":-1}],\"state\":0,\"backfill_state\":0,\"comment\":\"\",\"index_type\":1,\"is_unique\":false,\"is_primary\":false,\"is_invisible\":false,\"is_global\":false,\"mv_index\":false}"] [2024/05/06 09:31:51.174 +00:00] [INFO] [index.go:817] ["fallback to txn-merge backfill process"] [category=ddl] ["lightning env initialized"=false] [2024/05/06 09:31:51.175 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:222, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:51.166 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:51.177 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=419] [neededSchemaVersion=420] ["start time"=435.75µs] [gotSchemaVersion=420] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 09:31:51.178 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=222] [version=420] [2024/05/06 09:31:51.179 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=420] ["take time"=2.064072ms] [job="ID:222, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:51.166 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:51.179 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:222, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:51.166 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:51.186 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:222, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:51.166 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:51.186 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=222] [conn=3] [category=ddl] [job="ID:222, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:51.166 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:51.187 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:222, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:51.166 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:51.189 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=420] [neededSchemaVersion=421] ["start time"=497.485µs] [gotSchemaVersion=421] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 09:31:51.190 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=222] [version=421] [2024/05/06 09:31:51.193 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=421] ["take time"=4.361102ms] [job="ID:222, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:51.166 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:51.194 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:222, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:51.166 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:51.200 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:222, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:51.166 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:51.200 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=222] [conn=3] [category=ddl] [job="ID:222, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:51.166 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:51.201 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:222, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:51.166 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:51.203 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=421] [neededSchemaVersion=422] ["start time"=495.083µs] [gotSchemaVersion=422] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 09:31:51.204 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=222] [version=422] [2024/05/06 09:31:51.206 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=422] ["take time"=4.405245ms] [job="ID:222, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:51.166 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:51.207 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:222, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:51.166 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:51.216 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:222, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:51.166 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:51.216 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=222] [conn=3] [category=ddl] [job="ID:222, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:51.166 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:51.217 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=222] [table=t] ["ingest mode"=false] [index=idx_c3] [2024/05/06 09:31:51.218 +00:00] [INFO] [reorg.go:718] ["job get table range"] [category=ddl] [jobID=222] [physicalTableID=111] [startKey=74800000000000006f5f728000000000000001] [endKey=74800000000000006f5f72800000000000080100] [2024/05/06 09:31:51.220 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:222, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:51.166 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790998069248, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:51.221 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=222] [2024/05/06 09:31:51.222 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:222, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:51.166 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790998069248, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:51.229 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:222, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:51.166 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790998069248, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:51.229 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=222] [conn=3] [category=ddl] [job="ID:222, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:51.166 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790998069248, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:51.230 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=222] [table=t] ["ingest mode"=false] [index=idx_c3] [2024/05/06 09:31:51.232 +00:00] [INFO] [index.go:1931] ["start to add table index"] [category=ddl] [job="ID:222, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:51.166 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790998069248, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:29,StartKey:74800000000000006f5f728000000000000001,EndKey:74800000000000006f5f72800000000000080100,First:false,PhysicalTableID:111,Ingest mode:false"] [2024/05/06 09:31:51.233 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=111] ["start key"=74800000000000006f5f728000000000000001] ["end key"=74800000000000006f5f72800000000000080100] [2024/05/06 09:31:51.233 +00:00] [INFO] [backfilling.go:692] ["start backfill workers to reorg record"] [category=ddl] [type="add index"] [workerCnt=1] [regionCnt=1] [startKey=74800000000000006f5f728000000000000001] [endKey=74800000000000006f5f72800000000000080100] [2024/05/06 09:31:51.233 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=111] ["end key"=74800000000000006f5f72800000000000080100] ["current end key"=74800000000000006f5f72800000000000080100] [2024/05/06 09:31:51.242 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 09:31:51.242 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:222, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:51.166 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790998069248, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:51.243 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=222] [2024/05/06 09:31:51.243 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:222, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:51.166 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790998069248, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:51.250 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:222, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:51.166 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790998069248, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:51.250 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=222] [conn=3] [category=ddl] [job="ID:222, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:51.166 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790998069248, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:51.250 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=222] [table=t] ["ingest mode"=false] [index=idx_c3] [2024/05/06 09:31:51.266 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 09:31:51.266 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:222, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:51.166 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790998069248, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:51.267 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=222] [2024/05/06 09:31:51.267 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:222, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:51.166 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790998069248, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:51.276 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:222, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:51.166 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790998069248, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:51.276 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=222] [conn=3] [category=ddl] [job="ID:222, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:51.166 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790998069248, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:51.276 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=222] [table=t] ["ingest mode"=false] [index=idx_c3] [2024/05/06 09:31:51.291 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 09:31:51.291 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:222, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:51.166 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790998069248, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:51.292 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=222] [2024/05/06 09:31:51.292 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:222, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:51.166 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790998069248, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:51.298 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:222, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:51.166 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790998069248, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:51.298 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=222] [conn=3] [category=ddl] [job="ID:222, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:51.166 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790998069248, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:51.298 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=222] [table=t] ["ingest mode"=false] [index=idx_c3] [2024/05/06 09:31:51.315 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 09:31:51.315 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:222, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:51.166 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790998069248, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:51.316 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=222] [2024/05/06 09:31:51.316 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:222, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:51.166 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790998069248, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:51.321 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:222, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:51.166 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790998069248, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:51.321 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=222] [conn=3] [category=ddl] [job="ID:222, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:51.166 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790998069248, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:51.322 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=222] [table=t] ["ingest mode"=false] [index=idx_c3] [2024/05/06 09:31:51.334 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 09:31:51.335 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:222, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:51.166 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790998069248, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:51.335 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=222] [2024/05/06 09:31:51.336 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:222, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:51.166 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790998069248, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:51.342 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:222, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:51.166 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790998069248, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:51.342 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=222] [conn=3] [category=ddl] [job="ID:222, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:51.166 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790998069248, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:51.343 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=222] [table=t] ["ingest mode"=false] [index=idx_c3] [2024/05/06 09:31:51.389 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=448] [2024/05/06 09:31:51.389 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:222, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:448, ArgLen:6, start time: 2024-05-06 09:31:51.166 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790998069248, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:51.390 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=222] [2024/05/06 09:31:51.390 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:222, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:448, ArgLen:6, start time: 2024-05-06 09:31:51.166 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790998069248, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:51.397 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:222, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:448, ArgLen:0, start time: 2024-05-06 09:31:51.166 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790998069248, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:51.397 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=222] [conn=3] [category=ddl] [job="ID:222, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:448, ArgLen:0, start time: 2024-05-06 09:31:51.166 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790998069248, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:51.398 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=222] [table=t] ["ingest mode"=false] [index=idx_c3] [2024/05/06 09:31:51.406 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp add index"] [task="taskID: 1, physicalTableID: 111, range: [74800000000000006f5f728000000000000001, 74800000000000006f5f72800000000000080100), jobID: 222"] ["added count"=2049] ["scan count"=2049] ["next key"=74800000000000006f5f72800000000000080100] ["take time"=72.567572ms] [2024/05/06 09:31:51.406 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp add index"] [jobID=222] [2024/05/06 09:31:51.406 +00:00] [INFO] [backfilling.go:632] ["backfill workers successfully processed"] [category=ddl] [element=ID:29,TypeKey:_idx_] ["total added count"=2049] ["start key"=74800000000000006f5f728000000000000001] [2024/05/06 09:31:51.406 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=2049] [2024/05/06 09:31:51.443 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:222, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:51.166 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790998069248, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:51.445 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=422] [neededSchemaVersion=423] ["start time"=359.307µs] [gotSchemaVersion=423] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 09:31:51.447 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=222] [version=423] [2024/05/06 09:31:51.447 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=423] ["take time"=2.035105ms] [job="ID:222, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:51.166 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790998069248, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:51.448 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:222, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:51.166 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790998069248, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:51.454 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:222, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:51.166 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790998069248, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:51.454 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=222] [conn=3] [category=ddl] [job="ID:222, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:51.166 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573790998069248, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:51.454 +00:00] [INFO] [index.go:880] ["index backfill state ready to merge"] [category=ddl] ["job ID"=222] [table=t] [index=idx_c3] [2024/05/06 09:31:51.455 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:222, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:51.166 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:51.457 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=423] [neededSchemaVersion=424] ["start time"=471.415µs] [gotSchemaVersion=424] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 09:31:51.458 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=222] [version=424] [2024/05/06 09:31:51.458 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=424] ["take time"=2.033983ms] [job="ID:222, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:51.166 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:51.459 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:222, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:51.166 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:51.466 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:222, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:51.166 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:51.466 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=222] [conn=3] [category=ddl] [job="ID:222, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:51.166 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:51.466 +00:00] [INFO] [reorg.go:718] ["job get table range"] [category=ddl] [jobID=222] [physicalTableID=111] [startKey=74800000000000006f5f69ffff00000000001d] [endKey=74800000000000006f5f69ffff00000000001dff] [2024/05/06 09:31:51.469 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:222, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:51.166 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573791063343105, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:51.469 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=222] [2024/05/06 09:31:51.470 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:222, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:51.166 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573791063343105, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:51.477 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:222, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:51.166 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573791063343105, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:51.477 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=222] [conn=3] [category=ddl] [job="ID:222, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:51.166 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573791063343105, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:51.479 +00:00] [INFO] [index.go:1928] ["start to merge temp index"] [category=ddl] [job="ID:222, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:51.166 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573791063343105, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:29,StartKey:74800000000000006f5f69ffff00000000001d,EndKey:74800000000000006f5f69ffff00000000001dff,First:false,PhysicalTableID:111,Ingest mode:false"] [2024/05/06 09:31:51.480 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=111] ["start key"=74800000000000006f5f69ffff00000000001d] ["end key"=74800000000000006f5f69ffff00000000001dff] [2024/05/06 09:31:51.480 +00:00] [INFO] [backfilling.go:692] ["start backfill workers to reorg record"] [category=ddl] [type="merge temporary index"] [workerCnt=1] [regionCnt=1] [startKey=74800000000000006f5f69ffff00000000001d] [endKey=74800000000000006f5f69ffff00000000001dff] [2024/05/06 09:31:51.481 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=111] ["end key"=74800000000000006f5f69ffff00000000001dff] ["current end key"=74800000000000006f5f69ffff00000000001d00] [2024/05/06 09:31:51.527 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=2049] [2024/05/06 09:31:51.527 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:222, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:51.166 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573791063343105, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:51.528 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=222] [2024/05/06 09:31:51.528 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:222, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:51.166 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573791063343105, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:51.534 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:222, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:51.166 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573791063343105, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:51.534 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=222] [conn=3] [category=ddl] [job="ID:222, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:51.166 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573791063343105, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:51.581 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [task="taskID: 1, physicalTableID: 111, range: [74800000000000006f5f69ffff00000000001d, 74800000000000006f5f69ffff00000000001d00), jobID: 222"] ["added count"=0] ["scan count"=0] ["next key"=74800000000000006f5f69ffff00000000001d0000] ["take time"=306.216µs] [2024/05/06 09:31:51.581 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [jobID=222] [2024/05/06 09:31:51.581 +00:00] [INFO] [backfilling.go:632] ["backfill workers successfully processed"] [category=ddl] [element=ID:29,TypeKey:_idx_] ["total added count"=2049] ["start key"=74800000000000006f5f69ffff00000000001d] [2024/05/06 09:31:51.587 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=2049] [2024/05/06 09:31:51.588 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:222, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:51.166 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573791063343105, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:51.588 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=222] [2024/05/06 09:31:51.589 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:222, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:51.166 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573791063343105, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:51.595 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:222, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:51.166 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573791063343105, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:51.595 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=222] [conn=3] [category=ddl] [job="ID:222, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:51.166 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573791063343105, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:51.597 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=2049] [2024/05/06 09:31:51.638 +00:00] [INFO] [index.go:781] ["run add index job done"] [category=ddl] [charset=utf8mb4] [collation=utf8mb4_bin] [2024/05/06 09:31:51.638 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:222, Type:add index, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 09:31:51.166 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573791063343105, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:51.641 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=424] [neededSchemaVersion=425] ["start time"=851.329µs] [gotSchemaVersion=425] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 09:31:51.643 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=222] [version=425] [2024/05/06 09:31:51.645 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=425] ["take time"=4.95568ms] [job="ID:222, Type:add index, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 09:31:51.166 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573791063343105, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:51.646 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:222, Type:add index, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 09:31:51.166 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573791063343105, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:51.654 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=222] [tableID=111] [indexIDs="[9223090561878065181]"] [comment="add index: physical table ID(s)"] [2024/05/06 09:31:51.656 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=222] [jobType="add index"] [2024/05/06 09:31:51.656 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=222] [conn=3] [job="ID:222, Type:add index, State:synced, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 09:31:51.166 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573791063343105, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:51.659 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=222] [elementID=1] [startKey=74800000000000006f5f69ffff00000000001d] [endKey=74800000000000006f5f69ffff00000000001e] [2024/05/06 09:31:51.660 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:222, Type:add index, State:synced, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 09:31:51.166 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573791063343105, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:51.662 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=222] [2024/05/06 09:31:51.663 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:31:51.663 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=425] [cur_db=test] [sql="alter table t drop column c3"] [user=] [2024/05/06 09:31:51.665 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:223, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:51.664 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:31:51.666 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:223, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:51.664 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t drop column c3"] [2024/05/06 09:31:51.676 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:223, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:51.664 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:51.676 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=223] [conn=3] [category=ddl] [job="ID:223, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:51.664 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:51.677 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:223, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:51.664 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:51.679 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=425] [neededSchemaVersion=426] ["start time"=468.678µs] [gotSchemaVersion=426] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 09:31:51.681 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=223] [version=426] [2024/05/06 09:31:51.681 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=426] ["take time"=2.087287ms] [job="ID:223, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:51.664 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:51.682 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:223, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:51.664 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:51.685 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:223, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:51.664 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:51.685 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=223] [conn=3] [category=ddl] [job="ID:223, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:51.664 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:51.686 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:223, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:51.664 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:51.688 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=426] [neededSchemaVersion=427] ["start time"=366.381µs] [gotSchemaVersion=427] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 09:31:51.689 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=223] [version=427] [2024/05/06 09:31:51.690 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=427] ["take time"=2.814172ms] [job="ID:223, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:51.664 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:51.691 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:223, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:51.664 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:51.695 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:223, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:51.664 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:51.696 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=223] [conn=3] [category=ddl] [job="ID:223, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:51.664 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:51.709 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:223, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:51.664 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:51.711 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=427] [neededSchemaVersion=428] ["start time"=667.449µs] [gotSchemaVersion=428] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 09:31:51.713 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=223] [version=428] [2024/05/06 09:31:51.714 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=428] ["take time"=4.037622ms] [job="ID:223, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:51.664 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:51.716 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:223, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:51.664 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:51.725 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:223, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:51.664 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:51.725 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=223] [conn=3] [category=ddl] [job="ID:223, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:51.664 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:51.726 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:223, Type:drop column, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:51.664 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:51.730 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=428] [neededSchemaVersion=429] ["start time"=415.308µs] [gotSchemaVersion=429] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 09:31:51.731 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=223] [version=429] [2024/05/06 09:31:51.733 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=429] ["take time"=4.038128ms] [job="ID:223, Type:drop column, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:51.664 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:51.734 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:223, Type:drop column, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:51.664 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:51.739 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=223] [tableID=111] [indexIDs="[29]"] [comment="drop column: table ID"] [2024/05/06 09:31:51.740 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=223] [jobType="drop column"] [2024/05/06 09:31:51.740 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=223] [conn=3] [job="ID:223, Type:drop column, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:51.664 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:51.743 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:223, Type:drop column, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:51.664 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:51.746 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=223] [2024/05/06 09:31:51.746 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:31:51.747 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=429] [cur_db=test] [sql="alter table t add column c3 bigint"] [user=] [2024/05/06 09:31:51.750 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:224, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:51.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:31:51.750 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:224, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:51.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t add column c3 bigint"] [2024/05/06 09:31:51.761 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=223] [elementID=1] [startKey=74800000000000006f5f69800000000000001d] [endKey=74800000000000006f5f69800000000000001e] [2024/05/06 09:31:51.762 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:224, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:51.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:51.762 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=224] [conn=3] [category=ddl] [job="ID:224, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:51.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:51.762 +00:00] [INFO] [column.go:135] ["run add column job"] [category=ddl] [job="ID:224, Type:add column, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:51.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [columnInfo="{\"id\":24,\"name\":{\"O\":\"c3\",\"L\":\"c3\"},\"offset\":4,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{},\"state\":0,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2}"] [2024/05/06 09:31:51.763 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:224, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:51.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:51.765 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=429] [neededSchemaVersion=430] ["start time"=389.527µs] [gotSchemaVersion=430] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:51.766 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=224] [version=430] [2024/05/06 09:31:51.767 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=430] ["take time"=2.011574ms] [job="ID:224, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:51.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:51.767 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:224, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:51.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:51.770 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:224, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:51.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:51.770 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=224] [conn=3] [category=ddl] [job="ID:224, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:51.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:51.771 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:224, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:51.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:51.773 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=430] [neededSchemaVersion=431] ["start time"=473.995µs] [gotSchemaVersion=431] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:51.774 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=224] [version=431] [2024/05/06 09:31:51.780 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=431] ["take time"=7.589466ms] [job="ID:224, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:51.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:51.781 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:224, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:51.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:51.785 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:224, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:51.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:51.785 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=224] [conn=3] [category=ddl] [job="ID:224, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:51.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:51.786 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:224, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:51.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:51.790 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=431] [neededSchemaVersion=432] ["start time"=416.693µs] [gotSchemaVersion=432] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:51.791 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=224] [version=432] [2024/05/06 09:31:51.794 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=432] ["take time"=4.824187ms] [job="ID:224, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:51.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:51.795 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:224, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:51.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:51.802 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:224, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:51.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:51.802 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=224] [conn=3] [category=ddl] [job="ID:224, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:51.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:51.803 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:224, Type:add column, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:51.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:51.805 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=432] [neededSchemaVersion=433] ["start time"=411.919µs] [gotSchemaVersion=433] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:51.808 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=224] [version=433] [2024/05/06 09:31:51.825 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=433] ["take time"=20.351749ms] [job="ID:224, Type:add column, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:51.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:51.826 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:224, Type:add column, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:51.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:51.831 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=224] [conn=3] [job="ID:224, Type:add column, State:synced, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:51.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:51.833 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:224, Type:add column, State:synced, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:51.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:51.834 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=224] [2024/05/06 09:31:51.834 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:31:51.834 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=433] [cur_db=test] [sql="alter table t add index idx_c3(c3)"] [user=] [2024/05/06 09:31:51.837 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:225, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:51.836 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 09:31:51.837 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:225, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:51.836 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add index idx_c3(c3)"] [2024/05/06 09:31:51.842 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:225, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:51.836 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:51.842 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=225] [conn=3] [category=ddl] [job="ID:225, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:51.836 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:51.843 +00:00] [INFO] [index.go:654] ["run add index job"] [category=ddl] [job="ID:225, Type:add index, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:51.836 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [indexInfo="{\"id\":30,\"idx_name\":{\"O\":\"idx_c3\",\"L\":\"idx_c3\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"c3\",\"L\":\"c3\"},\"offset\":4,\"length\":-1}],\"state\":0,\"backfill_state\":0,\"comment\":\"\",\"index_type\":1,\"is_unique\":false,\"is_primary\":false,\"is_invisible\":false,\"is_global\":false,\"mv_index\":false}"] [2024/05/06 09:31:51.843 +00:00] [INFO] [index.go:817] ["fallback to txn-merge backfill process"] [category=ddl] ["lightning env initialized"=false] [2024/05/06 09:31:51.843 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:225, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:51.836 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:51.847 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=433] [neededSchemaVersion=434] ["start time"=339.45µs] [gotSchemaVersion=434] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 09:31:51.848 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=225] [version=434] [2024/05/06 09:31:51.850 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=434] ["take time"=3.650674ms] [job="ID:225, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:51.836 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:51.851 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:225, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:51.836 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:51.857 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:225, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:51.836 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:51.857 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=225] [conn=3] [category=ddl] [job="ID:225, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:51.836 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:51.858 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:225, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:51.836 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:51.859 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=434] [neededSchemaVersion=435] ["start time"=326.631µs] [gotSchemaVersion=435] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 09:31:51.861 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=225] [version=435] [2024/05/06 09:31:51.862 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=435] ["take time"=2.777619ms] [job="ID:225, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:51.836 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:51.862 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:225, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:51.836 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:51.867 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:225, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:51.836 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:51.867 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=225] [conn=3] [category=ddl] [job="ID:225, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:51.836 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:51.870 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:225, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:51.836 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:51.872 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=435] [neededSchemaVersion=436] ["start time"=465.612µs] [gotSchemaVersion=436] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 09:31:51.874 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=225] [version=436] [2024/05/06 09:31:51.876 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=436] ["take time"=4.34771ms] [job="ID:225, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:51.836 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:51.877 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:225, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:51.836 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:51.883 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:225, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:51.836 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:51.883 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=225] [conn=3] [category=ddl] [job="ID:225, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:51.836 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:51.884 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=225] [table=t] ["ingest mode"=false] [index=idx_c3] [2024/05/06 09:31:51.884 +00:00] [INFO] [reorg.go:718] ["job get table range"] [category=ddl] [jobID=225] [physicalTableID=111] [startKey=74800000000000006f5f728000000000000001] [endKey=74800000000000006f5f72800000000000080100] [2024/05/06 09:31:51.886 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:225, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:51.836 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573791172919296, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:51.887 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=225] [2024/05/06 09:31:51.887 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:225, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:51.836 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573791172919296, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:51.893 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:225, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:51.836 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573791172919296, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:51.893 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=225] [conn=3] [category=ddl] [job="ID:225, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:51.836 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573791172919296, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:51.893 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=225] [table=t] ["ingest mode"=false] [index=idx_c3] [2024/05/06 09:31:51.895 +00:00] [INFO] [index.go:1931] ["start to add table index"] [category=ddl] [job="ID:225, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:51.836 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573791172919296, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:30,StartKey:74800000000000006f5f728000000000000001,EndKey:74800000000000006f5f72800000000000080100,First:false,PhysicalTableID:111,Ingest mode:false"] [2024/05/06 09:31:51.896 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=111] ["start key"=74800000000000006f5f728000000000000001] ["end key"=74800000000000006f5f72800000000000080100] [2024/05/06 09:31:51.896 +00:00] [INFO] [backfilling.go:692] ["start backfill workers to reorg record"] [category=ddl] [type="add index"] [workerCnt=1] [regionCnt=1] [startKey=74800000000000006f5f728000000000000001] [endKey=74800000000000006f5f72800000000000080100] [2024/05/06 09:31:51.897 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=111] ["end key"=74800000000000006f5f72800000000000080100] ["current end key"=74800000000000006f5f72800000000000080100] [2024/05/06 09:31:51.906 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 09:31:51.906 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:225, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:51.836 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573791172919296, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:51.907 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=225] [2024/05/06 09:31:51.908 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:225, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:51.836 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573791172919296, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:51.920 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:225, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:51.836 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573791172919296, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:51.921 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=225] [conn=3] [category=ddl] [job="ID:225, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:51.836 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573791172919296, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:51.921 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=225] [table=t] ["ingest mode"=false] [index=idx_c3] [2024/05/06 09:31:51.941 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 09:31:51.941 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:225, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:51.836 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573791172919296, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:51.942 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=225] [2024/05/06 09:31:51.942 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:225, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:51.836 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573791172919296, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:51.950 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:225, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:51.836 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573791172919296, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:51.950 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=225] [conn=3] [category=ddl] [job="ID:225, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:51.836 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573791172919296, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:51.951 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=225] [table=t] ["ingest mode"=false] [index=idx_c3] [2024/05/06 09:31:51.966 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 09:31:51.966 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:225, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:51.836 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573791172919296, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:51.967 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=225] [2024/05/06 09:31:51.967 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:225, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:51.836 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573791172919296, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:51.976 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:225, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:51.836 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573791172919296, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:51.976 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=225] [conn=3] [category=ddl] [job="ID:225, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:51.836 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573791172919296, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:51.976 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=225] [table=t] ["ingest mode"=false] [index=idx_c3] [2024/05/06 09:31:51.989 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 09:31:51.989 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:225, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:51.836 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573791172919296, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:51.990 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=225] [2024/05/06 09:31:51.991 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:225, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:51.836 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573791172919296, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:51.997 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:225, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:51.836 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573791172919296, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:51.997 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=225] [conn=3] [category=ddl] [job="ID:225, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:51.836 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573791172919296, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:51.997 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=225] [table=t] ["ingest mode"=false] [index=idx_c3] [2024/05/06 09:31:52.045 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=352] [2024/05/06 09:31:52.045 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:225, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:352, ArgLen:6, start time: 2024-05-06 09:31:51.836 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573791172919296, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:52.046 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=225] [2024/05/06 09:31:52.047 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:225, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:352, ArgLen:6, start time: 2024-05-06 09:31:51.836 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573791172919296, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:52.054 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:225, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:352, ArgLen:0, start time: 2024-05-06 09:31:51.836 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573791172919296, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:52.054 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=225] [conn=3] [category=ddl] [job="ID:225, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:352, ArgLen:0, start time: 2024-05-06 09:31:51.836 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573791172919296, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:52.054 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=225] [table=t] ["ingest mode"=false] [index=idx_c3] [2024/05/06 09:31:52.059 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp add index"] [task="taskID: 1, physicalTableID: 111, range: [74800000000000006f5f728000000000000001, 74800000000000006f5f72800000000000080100), jobID: 225"] ["added count"=2049] ["scan count"=2049] ["next key"=74800000000000006f5f72800000000000080100] ["take time"=61.863789ms] [2024/05/06 09:31:52.059 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp add index"] [jobID=225] [2024/05/06 09:31:52.059 +00:00] [INFO] [backfilling.go:632] ["backfill workers successfully processed"] [category=ddl] [element=ID:30,TypeKey:_idx_] ["total added count"=2049] ["start key"=74800000000000006f5f728000000000000001] [2024/05/06 09:31:52.059 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=2049] [2024/05/06 09:31:52.096 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:225, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:51.836 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573791172919296, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:52.098 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=436] [neededSchemaVersion=437] ["start time"=499.436µs] [gotSchemaVersion=437] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 09:31:52.100 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=225] [version=437] [2024/05/06 09:31:52.102 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=437] ["take time"=4.462796ms] [job="ID:225, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:51.836 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573791172919296, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:52.103 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:225, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:51.836 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573791172919296, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:52.109 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:225, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:51.836 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573791172919296, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:52.109 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=225] [conn=3] [category=ddl] [job="ID:225, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:51.836 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573791172919296, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:52.110 +00:00] [INFO] [index.go:880] ["index backfill state ready to merge"] [category=ddl] ["job ID"=225] [table=t] [index=idx_c3] [2024/05/06 09:31:52.110 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:225, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:51.836 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:52.112 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=437] [neededSchemaVersion=438] ["start time"=303.602µs] [gotSchemaVersion=438] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 09:31:52.114 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=225] [version=438] [2024/05/06 09:31:52.115 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=438] ["take time"=4.008892ms] [job="ID:225, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:51.836 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:52.116 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:225, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:51.836 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:52.121 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:225, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:51.836 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:52.121 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=225] [conn=3] [category=ddl] [job="ID:225, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:51.836 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:52.122 +00:00] [INFO] [reorg.go:718] ["job get table range"] [category=ddl] [jobID=225] [physicalTableID=111] [startKey=74800000000000006f5f69ffff00000000001e] [endKey=74800000000000006f5f69ffff00000000001eff] [2024/05/06 09:31:52.124 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:225, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:51.836 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573791235309568, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:52.125 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=225] [2024/05/06 09:31:52.125 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:225, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:51.836 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573791235309568, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:52.130 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:225, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:51.836 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573791235309568, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:52.130 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=225] [conn=3] [category=ddl] [job="ID:225, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:51.836 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573791235309568, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:52.132 +00:00] [INFO] [index.go:1928] ["start to merge temp index"] [category=ddl] [job="ID:225, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:51.836 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573791235309568, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:30,StartKey:74800000000000006f5f69ffff00000000001e,EndKey:74800000000000006f5f69ffff00000000001eff,First:false,PhysicalTableID:111,Ingest mode:false"] [2024/05/06 09:31:52.133 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=111] ["start key"=74800000000000006f5f69ffff00000000001e] ["end key"=74800000000000006f5f69ffff00000000001eff] [2024/05/06 09:31:52.133 +00:00] [INFO] [backfilling.go:692] ["start backfill workers to reorg record"] [category=ddl] [type="merge temporary index"] [workerCnt=1] [regionCnt=1] [startKey=74800000000000006f5f69ffff00000000001e] [endKey=74800000000000006f5f69ffff00000000001eff] [2024/05/06 09:31:52.133 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=111] ["end key"=74800000000000006f5f69ffff00000000001eff] ["current end key"=74800000000000006f5f69ffff00000000001e00] [2024/05/06 09:31:52.179 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=2049] [2024/05/06 09:31:52.179 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:225, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:51.836 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573791235309568, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:52.180 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=225] [2024/05/06 09:31:52.180 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:225, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:51.836 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573791235309568, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:52.186 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:225, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:51.836 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573791235309568, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:52.186 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=225] [conn=3] [category=ddl] [job="ID:225, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:51.836 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573791235309568, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:52.233 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [task="taskID: 1, physicalTableID: 111, range: [74800000000000006f5f69ffff00000000001e, 74800000000000006f5f69ffff00000000001e00), jobID: 225"] ["added count"=0] ["scan count"=0] ["next key"=74800000000000006f5f69ffff00000000001e0000] ["take time"=270.802µs] [2024/05/06 09:31:52.233 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [jobID=225] [2024/05/06 09:31:52.234 +00:00] [INFO] [backfilling.go:632] ["backfill workers successfully processed"] [category=ddl] [element=ID:30,TypeKey:_idx_] ["total added count"=2049] ["start key"=74800000000000006f5f69ffff00000000001e] [2024/05/06 09:31:52.234 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=2049] [2024/05/06 09:31:52.234 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:225, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:51.836 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573791235309568, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:52.235 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=225] [2024/05/06 09:31:52.235 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:225, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:51.836 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573791235309568, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:52.242 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:225, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:51.836 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573791235309568, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:52.242 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=225] [conn=3] [category=ddl] [job="ID:225, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:51.836 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573791235309568, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:52.244 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=2049] [2024/05/06 09:31:52.288 +00:00] [INFO] [index.go:781] ["run add index job done"] [category=ddl] [charset=utf8mb4] [collation=utf8mb4_bin] [2024/05/06 09:31:52.288 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:225, Type:add index, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 09:31:51.836 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573791235309568, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:52.291 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=438] [neededSchemaVersion=439] ["start time"=580.091µs] [gotSchemaVersion=439] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 09:31:52.293 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=225] [version=439] [2024/05/06 09:31:52.300 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=439] ["take time"=9.001949ms] [job="ID:225, Type:add index, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 09:31:51.836 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573791235309568, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:52.302 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:225, Type:add index, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 09:31:51.836 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573791235309568, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:52.310 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=225] [tableID=111] [indexIDs="[9223090561878065182]"] [comment="add index: physical table ID(s)"] [2024/05/06 09:31:52.311 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=225] [jobType="add index"] [2024/05/06 09:31:52.311 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=225] [conn=3] [job="ID:225, Type:add index, State:synced, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 09:31:51.836 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573791235309568, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:52.315 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:225, Type:add index, State:synced, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 09:31:51.836 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573791235309568, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:52.316 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=225] [elementID=1] [startKey=74800000000000006f5f69ffff00000000001e] [endKey=74800000000000006f5f69ffff00000000001f] [2024/05/06 09:31:52.318 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=225] [2024/05/06 09:31:52.318 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:31:52.319 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=439] [cur_db=test] [sql="alter table t drop column c3"] [user=] [2024/05/06 09:31:52.321 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:226, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:52.32 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:31:52.321 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:226, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:52.32 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t drop column c3"] [2024/05/06 09:31:52.330 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:226, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:52.32 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:52.330 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=226] [conn=3] [category=ddl] [job="ID:226, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:52.32 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:52.330 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:226, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:52.32 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:52.332 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=439] [neededSchemaVersion=440] ["start time"=477.414µs] [gotSchemaVersion=440] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 09:31:52.334 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=226] [version=440] [2024/05/06 09:31:52.334 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=440] ["take time"=2.016086ms] [job="ID:226, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:52.32 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:52.335 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:226, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:52.32 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:52.339 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:226, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:52.32 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:52.339 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=226] [conn=3] [category=ddl] [job="ID:226, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:52.32 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:52.340 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:226, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:52.32 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:52.342 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=440] [neededSchemaVersion=441] ["start time"=465.924µs] [gotSchemaVersion=441] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 09:31:52.343 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=226] [version=441] [2024/05/06 09:31:52.346 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=441] ["take time"=4.801066ms] [job="ID:226, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:52.32 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:52.347 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:226, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:52.32 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:52.352 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:226, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:52.32 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:52.352 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=226] [conn=3] [category=ddl] [job="ID:226, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:52.32 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:52.353 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:226, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:52.32 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:52.357 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=441] [neededSchemaVersion=442] ["start time"=469.518µs] [gotSchemaVersion=442] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 09:31:52.359 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=226] [version=442] [2024/05/06 09:31:52.361 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=442] ["take time"=4.408959ms] [job="ID:226, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:52.32 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:52.362 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:226, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:52.32 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:52.372 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:226, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:52.32 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:52.372 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=226] [conn=3] [category=ddl] [job="ID:226, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:52.32 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:52.373 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:226, Type:drop column, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:52.32 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:52.376 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=442] [neededSchemaVersion=443] ["start time"=403.811µs] [gotSchemaVersion=443] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 09:31:52.377 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=226] [version=443] [2024/05/06 09:31:52.380 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=443] ["take time"=4.524062ms] [job="ID:226, Type:drop column, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:52.32 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:52.381 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:226, Type:drop column, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:52.32 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:52.386 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=226] [tableID=111] [indexIDs="[30]"] [comment="drop column: table ID"] [2024/05/06 09:31:52.388 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=226] [jobType="drop column"] [2024/05/06 09:31:52.388 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=226] [conn=3] [job="ID:226, Type:drop column, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:52.32 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:52.391 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:226, Type:drop column, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:52.32 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:52.393 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=226] [2024/05/06 09:31:52.394 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:31:52.394 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=443] [cur_db=test] [sql="create table t_rebase (c1 bigint auto_increment primary key, c2 bigint);"] [user=] [2024/05/06 09:31:52.398 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:228, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:227, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:52.395 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:31:52.398 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:228, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:227, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:52.395 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table t_rebase (c1 bigint auto_increment primary key, c2 bigint);"] [2024/05/06 09:31:52.402 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=226] [elementID=1] [startKey=74800000000000006f5f69800000000000001e] [endKey=74800000000000006f5f69800000000000001f] [2024/05/06 09:31:52.405 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:228, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:227, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:52.395 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:52.405 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=228] [conn=3] [category=ddl] [job="ID:228, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:227, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:52.395 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:52.406 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:228, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:227, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:52.395 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:52.408 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=443] [neededSchemaVersion=444] ["start time"=221.782µs] [gotSchemaVersion=444] [phyTblIDs="[227]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:31:52.410 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=228] [version=444] [2024/05/06 09:31:52.411 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=444] ["take time"=2.731835ms] [job="ID:228, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:227, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:52.395 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:52.412 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:228, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:227, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:52.395 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:52.415 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=228] [conn=3] [job="ID:228, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:227, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:52.395 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:52.418 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:228, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:227, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:52.395 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:52.419 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=228] [2024/05/06 09:31:52.419 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:31:52.419 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=444] [cur_db=test] [sql="alter table t_rebase auto_increment = 6000"] [user=] [2024/05/06 09:31:52.421 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:229, Type:rebase auto_increment ID, State:queueing, SchemaState:none, SchemaID:2, TableID:227, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:52.42 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:31:52.421 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:229, Type:rebase auto_increment ID, State:queueing, SchemaState:none, SchemaID:2, TableID:227, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:52.42 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t_rebase auto_increment = 6000"] [2024/05/06 09:31:52.428 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:229, Type:rebase auto_increment ID, State:queueing, SchemaState:none, SchemaID:2, TableID:227, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:52.42 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:52.430 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=229] [conn=3] [category=ddl] [job="ID:229, Type:rebase auto_increment ID, State:queueing, SchemaState:none, SchemaID:2, TableID:227, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:52.42 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:52.431 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:229, Type:rebase auto_increment ID, State:done, SchemaState:public, SchemaID:2, TableID:227, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:52.42 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:52.432 +00:00] [WARN] [session.go:813] ["can not retry txn"] [label=internal] [error="[kv:9007]Write conflict, txnStartTS=449573791315525633, conflictStartTS=449573791315525634, conflictCommitTS=449573791316049920, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=229}, originalKey=748000fffffffffffe5f7280000000000000e5, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [IsBatchInsert=false] [IsPessimistic=false] [InRestrictedSQL=true] [tidb_retry_limit=10] [tidb_disable_txn_auto_retry=true] [2024/05/06 09:31:52.432 +00:00] [WARN] [session.go:829] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[kv:9007]Write conflict, txnStartTS=449573791315525633, conflictStartTS=449573791315525634, conflictCommitTS=449573791316049920, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=229}, originalKey=748000fffffffffffe5f7280000000000000e5, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [2024/05/06 09:31:52.433 +00:00] [INFO] [job_table.go:465] ["handle ddl job failed"] [worker="worker 6, tp general"] [category=ddl] [error="[kv:9007]Write conflict, txnStartTS=449573791315525633, conflictStartTS=449573791315525634, conflictCommitTS=449573791316049920, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=229}, originalKey=748000fffffffffffe5f7280000000000000e5, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [job="ID:229, Type:rebase auto_increment ID, State:done, SchemaState:public, SchemaID:2, TableID:227, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:52.42 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:52.437 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:229, Type:rebase auto_increment ID, State:cancelling, SchemaState:none, SchemaID:2, TableID:227, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:52.42 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:52.437 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=229] [conn=3] [category=ddl] [job="ID:229, Type:rebase auto_increment ID, State:cancelling, SchemaState:none, SchemaID:2, TableID:227, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:52.42 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:52.437 +00:00] [INFO] [rollingback.go:559] ["the DDL job is cancelled normally"] [worker="worker 6, tp general"] [category=ddl] [jobID=229] [conn=3] [job="ID:229, Type:rebase auto_increment ID, State:cancelled, SchemaState:none, SchemaID:2, TableID:227, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:52.42 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [error="[ddl:8214]Cancelled DDL job"] [2024/05/06 09:31:52.437 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:229, Type:rebase auto_increment ID, State:cancelled, SchemaState:none, SchemaID:2, TableID:227, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:52.42 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:52.437 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=229] [conn=3] [job="ID:229, Type:rebase auto_increment ID, State:cancelled, SchemaState:none, SchemaID:2, TableID:227, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:52.42 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:52.440 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:229, Type:rebase auto_increment ID, State:cancelled, SchemaState:none, SchemaID:2, TableID:227, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:52.42 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:52.440 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=229] [2024/05/06 09:31:52.440 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 09:31:52.440 +00:00] [WARN] [session.go:2153] ["run statement failed"] [schemaVersion=444] [error="[ddl:8214]Cancelled DDL job"] [errorVerbose="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).DoDDLJob\n\tpkg/ddl/ddl.go:1293\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).RebaseAutoID\n\tpkg/ddl/ddl_api.go:4155\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AlterTable\n\tpkg/ddl/ddl_api.go:3984\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeAlterTable\n\tpkg/executor/ddl.go:388\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:152\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1211\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:960\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:794\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:559\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2280\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:469\ngithub.com/pingcap/tidb/pkg/ddl_test.TestCancel\n\tpkg/ddl/cancel_test.go:289\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 3,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 09:31:52.440 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=444] [cur_db=test] [sql="alter table t_rebase auto_increment = 9000"] [user=] [2024/05/06 09:31:52.443 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:230, Type:rebase auto_increment ID, State:queueing, SchemaState:none, SchemaID:2, TableID:227, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:52.442 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:31:52.443 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:230, Type:rebase auto_increment ID, State:queueing, SchemaState:none, SchemaID:2, TableID:227, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:52.442 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t_rebase auto_increment = 9000"] [2024/05/06 09:31:52.449 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:230, Type:rebase auto_increment ID, State:queueing, SchemaState:none, SchemaID:2, TableID:227, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:52.442 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:52.449 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=230] [conn=3] [category=ddl] [job="ID:230, Type:rebase auto_increment ID, State:queueing, SchemaState:none, SchemaID:2, TableID:227, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:52.442 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:52.450 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:230, Type:rebase auto_increment ID, State:done, SchemaState:public, SchemaID:2, TableID:227, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:52.442 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:52.452 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=444] [neededSchemaVersion=446] ["start time"=200.782µs] [gotSchemaVersion=446] [phyTblIDs="[227]"] [actionTypes="[13]"] [diffTypes="[\"rebase auto_increment ID\"]"] [2024/05/06 09:31:52.453 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=230] [version=446] [2024/05/06 09:31:52.454 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=446] ["take time"=2.456225ms] [job="ID:230, Type:rebase auto_increment ID, State:done, SchemaState:public, SchemaID:2, TableID:227, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:52.442 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:52.455 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:230, Type:rebase auto_increment ID, State:done, SchemaState:public, SchemaID:2, TableID:227, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:52.442 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:52.460 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=230] [conn=3] [job="ID:230, Type:rebase auto_increment ID, State:synced, SchemaState:public, SchemaID:2, TableID:227, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:52.442 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:52.462 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:230, Type:rebase auto_increment ID, State:synced, SchemaState:public, SchemaID:2, TableID:227, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:52.442 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:52.463 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=230] [2024/05/06 09:31:52.463 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:31:52.463 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=446] [cur_db=test] [sql="create table t_auto (c1 int not null auto_increment unique) shard_row_id_bits = 0"] [user=] [2024/05/06 09:31:52.466 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:232, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:231, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:52.465 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:31:52.466 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:232, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:231, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:52.465 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table t_auto (c1 int not null auto_increment unique) shard_row_id_bits = 0"] [2024/05/06 09:31:52.474 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:232, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:231, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:52.465 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:52.474 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=232] [conn=3] [category=ddl] [job="ID:232, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:231, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:52.465 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:52.475 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:232, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:231, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:52.465 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:52.477 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=446] [neededSchemaVersion=447] ["start time"=224.75µs] [gotSchemaVersion=447] [phyTblIDs="[231]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:31:52.478 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=232] [version=447] [2024/05/06 09:31:52.479 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=447] ["take time"=2.067481ms] [job="ID:232, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:231, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:52.465 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:52.479 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:232, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:231, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:52.465 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:52.484 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=232] [conn=3] [job="ID:232, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:231, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:52.465 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:52.486 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:232, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:231, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:52.465 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:52.487 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=232] [2024/05/06 09:31:52.487 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:31:52.487 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=447] [cur_db=test] [sql="alter table t_auto shard_row_id_bits = 5"] [user=] [2024/05/06 09:31:52.489 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:233, Type:shard row ID, State:queueing, SchemaState:none, SchemaID:2, TableID:231, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:52.488 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:31:52.489 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:233, Type:shard row ID, State:queueing, SchemaState:none, SchemaID:2, TableID:231, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:52.488 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t_auto shard_row_id_bits = 5"] [2024/05/06 09:31:52.498 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:233, Type:shard row ID, State:queueing, SchemaState:none, SchemaID:2, TableID:231, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:52.488 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:52.501 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=233] [conn=3] [category=ddl] [job="ID:233, Type:shard row ID, State:queueing, SchemaState:none, SchemaID:2, TableID:231, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:52.488 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:52.501 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:233, Type:shard row ID, State:done, SchemaState:public, SchemaID:2, TableID:231, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:52.488 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:52.503 +00:00] [WARN] [session.go:813] ["can not retry txn"] [label=internal] [error="[kv:9007]Write conflict, txnStartTS=449573791333875713, conflictStartTS=449573791334137856, conflictCommitTS=449573791334400000, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=233}, originalKey=748000fffffffffffe5f7280000000000000e9, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [IsBatchInsert=false] [IsPessimistic=false] [InRestrictedSQL=true] [tidb_retry_limit=10] [tidb_disable_txn_auto_retry=true] [2024/05/06 09:31:52.503 +00:00] [WARN] [session.go:829] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[kv:9007]Write conflict, txnStartTS=449573791333875713, conflictStartTS=449573791334137856, conflictCommitTS=449573791334400000, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=233}, originalKey=748000fffffffffffe5f7280000000000000e9, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [2024/05/06 09:31:52.503 +00:00] [INFO] [job_table.go:465] ["handle ddl job failed"] [worker="worker 6, tp general"] [category=ddl] [error="[kv:9007]Write conflict, txnStartTS=449573791333875713, conflictStartTS=449573791334137856, conflictCommitTS=449573791334400000, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=233}, originalKey=748000fffffffffffe5f7280000000000000e9, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [job="ID:233, Type:shard row ID, State:done, SchemaState:public, SchemaID:2, TableID:231, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:52.488 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:52.509 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:233, Type:shard row ID, State:cancelling, SchemaState:none, SchemaID:2, TableID:231, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:52.488 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:52.509 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=233] [conn=3] [category=ddl] [job="ID:233, Type:shard row ID, State:cancelling, SchemaState:none, SchemaID:2, TableID:231, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:52.488 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:52.509 +00:00] [INFO] [rollingback.go:559] ["the DDL job is cancelled normally"] [worker="worker 6, tp general"] [category=ddl] [jobID=233] [conn=3] [job="ID:233, Type:shard row ID, State:cancelled, SchemaState:none, SchemaID:2, TableID:231, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:52.488 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [error="[ddl:8214]Cancelled DDL job"] [2024/05/06 09:31:52.509 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:233, Type:shard row ID, State:cancelled, SchemaState:none, SchemaID:2, TableID:231, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:52.488 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:52.509 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=233] [conn=3] [job="ID:233, Type:shard row ID, State:cancelled, SchemaState:none, SchemaID:2, TableID:231, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:52.488 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:52.512 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:233, Type:shard row ID, State:cancelled, SchemaState:none, SchemaID:2, TableID:231, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:52.488 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:52.512 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=233] [2024/05/06 09:31:52.512 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 09:31:52.512 +00:00] [WARN] [session.go:2153] ["run statement failed"] [schemaVersion=447] [error="[ddl:8214]Cancelled DDL job"] [errorVerbose="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).DoDDLJob\n\tpkg/ddl/ddl.go:1293\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).ShardRowID\n\tpkg/ddl/ddl_api.go:4209\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AlterTable\n\tpkg/ddl/ddl_api.go:3982\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeAlterTable\n\tpkg/executor/ddl.go:388\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:152\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1211\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:960\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:794\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:559\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2280\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:469\ngithub.com/pingcap/tidb/pkg/ddl_test.TestCancel\n\tpkg/ddl/cancel_test.go:289\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 3,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 09:31:52.513 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=447] [cur_db=test] [sql="alter table t_auto shard_row_id_bits = 8"] [user=] [2024/05/06 09:31:52.518 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:234, Type:shard row ID, State:queueing, SchemaState:none, SchemaID:2, TableID:231, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:52.514 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:31:52.518 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:234, Type:shard row ID, State:queueing, SchemaState:none, SchemaID:2, TableID:231, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:52.514 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t_auto shard_row_id_bits = 8"] [2024/05/06 09:31:52.522 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:234, Type:shard row ID, State:queueing, SchemaState:none, SchemaID:2, TableID:231, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:52.514 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:52.522 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=234] [conn=3] [category=ddl] [job="ID:234, Type:shard row ID, State:queueing, SchemaState:none, SchemaID:2, TableID:231, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:52.514 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:52.522 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:234, Type:shard row ID, State:done, SchemaState:public, SchemaID:2, TableID:231, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:52.514 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:52.524 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=447] [neededSchemaVersion=449] ["start time"=285.205µs] [gotSchemaVersion=449] [phyTblIDs="[231]"] [actionTypes="[16]"] [diffTypes="[\"shard row ID\"]"] [2024/05/06 09:31:52.525 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=234] [version=449] [2024/05/06 09:31:52.526 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=449] ["take time"=2.178413ms] [job="ID:234, Type:shard row ID, State:done, SchemaState:public, SchemaID:2, TableID:231, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:52.514 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:52.527 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:234, Type:shard row ID, State:done, SchemaState:public, SchemaID:2, TableID:231, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:52.514 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:52.534 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=234] [conn=3] [job="ID:234, Type:shard row ID, State:synced, SchemaState:public, SchemaID:2, TableID:231, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:52.514 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:52.537 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:234, Type:shard row ID, State:synced, SchemaState:public, SchemaID:2, TableID:231, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:52.514 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:52.537 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=234] [2024/05/06 09:31:52.537 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:31:52.537 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=449] [cur_db=test] [sql="alter table t modify column c11 mediumint"] [user=] [2024/05/06 09:31:52.542 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:235, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:5, start time: 2024-05-06 09:31:52.538 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 09:31:52.542 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:235, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:5, start time: 2024-05-06 09:31:52.538 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t modify column c11 mediumint"] [2024/05/06 09:31:52.549 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:235, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:52.538 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:52.551 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=235] [conn=3] [category=ddl] [job="ID:235, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:52.538 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:52.560 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:235, Type:modify column, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:52.538 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:52.562 +00:00] [WARN] [session.go:813] ["can not retry txn"] [label=internal] [error="[kv:9007]Write conflict, txnStartTS=449573791347245057, conflictStartTS=449573791347245058, conflictCommitTS=449573791347769344, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=235}, originalKey=748000fffffffffffe5f7280000000000000eb, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [IsBatchInsert=false] [IsPessimistic=false] [InRestrictedSQL=true] [tidb_retry_limit=10] [tidb_disable_txn_auto_retry=true] [2024/05/06 09:31:52.562 +00:00] [WARN] [session.go:829] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[kv:9007]Write conflict, txnStartTS=449573791347245057, conflictStartTS=449573791347245058, conflictCommitTS=449573791347769344, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=235}, originalKey=748000fffffffffffe5f7280000000000000eb, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [2024/05/06 09:31:52.562 +00:00] [INFO] [job_table.go:465] ["handle ddl job failed"] [worker="worker 6, tp general"] [category=ddl] [error="[kv:9007]Write conflict, txnStartTS=449573791347245057, conflictStartTS=449573791347245058, conflictCommitTS=449573791347769344, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=235}, originalKey=748000fffffffffffe5f7280000000000000eb, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [job="ID:235, Type:modify column, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:52.538 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:52.566 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:235, Type:modify column, State:cancelling, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:52.538 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:52.566 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=235] [conn=3] [category=ddl] [job="ID:235, Type:modify column, State:cancelling, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:52.538 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:52.567 +00:00] [INFO] [rollingback.go:559] ["the DDL job is cancelled normally"] [worker="worker 6, tp general"] [category=ddl] [jobID=235] [conn=3] [job="ID:235, Type:modify column, State:cancelled, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:5, start time: 2024-05-06 09:31:52.538 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [error="[ddl:8214]Cancelled DDL job"] [2024/05/06 09:31:52.567 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:235, Type:modify column, State:cancelled, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:5, start time: 2024-05-06 09:31:52.538 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:52.567 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=235] [conn=3] [job="ID:235, Type:modify column, State:cancelled, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:5, start time: 2024-05-06 09:31:52.538 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:52.569 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:235, Type:modify column, State:cancelled, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:5, start time: 2024-05-06 09:31:52.538 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:52.570 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=235] [2024/05/06 09:31:52.570 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 09:31:52.570 +00:00] [WARN] [session.go:2153] ["run statement failed"] [schemaVersion=449] [error="[ddl:8214]Cancelled DDL job"] [errorVerbose="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).DoDDLJob\n\tpkg/ddl/ddl.go:1293\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).ModifyColumn\n\tpkg/ddl/ddl_api.go:6315\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AlterTable\n\tpkg/ddl/ddl_api.go:3961\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeAlterTable\n\tpkg/executor/ddl.go:388\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:152\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1211\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:960\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:794\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:559\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2280\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:469\ngithub.com/pingcap/tidb/pkg/ddl_test.TestCancel\n\tpkg/ddl/cancel_test.go:289\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 3,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 09:31:52.570 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=449] [cur_db=test] [sql="alter table t modify column c11 int"] [user=] [2024/05/06 09:31:52.573 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:236, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:5, start time: 2024-05-06 09:31:52.572 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 09:31:52.573 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:236, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:5, start time: 2024-05-06 09:31:52.572 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t modify column c11 int"] [2024/05/06 09:31:52.580 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:236, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:52.572 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:52.580 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=236] [conn=3] [category=ddl] [job="ID:236, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:52.572 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:52.583 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:236, Type:modify column, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:52.572 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:52.585 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=449] [neededSchemaVersion=451] ["start time"=448.657µs] [gotSchemaVersion=451] [phyTblIDs="[111]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/06 09:31:52.586 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=236] [version=451] [2024/05/06 09:31:52.586 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=451] ["take time"=2.035154ms] [job="ID:236, Type:modify column, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:52.572 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:52.587 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:236, Type:modify column, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:52.572 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:52.592 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=236] [jobType="modify column"] [2024/05/06 09:31:52.593 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=236] [conn=3] [job="ID:236, Type:modify column, State:synced, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:52.572 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:52.596 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:236, Type:modify column, State:synced, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:52.572 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:52.597 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=236] [2024/05/06 09:31:52.597 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:31:52.598 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=451] [cur_db=test] [sql="alter table t add column mayNullCol bigint default 1"] [user=] [2024/05/06 09:31:52.600 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:237, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:52.599 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:31:52.600 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:237, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:52.599 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t add column mayNullCol bigint default 1"] [2024/05/06 09:31:52.605 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:237, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:52.599 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:52.605 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=237] [conn=3] [category=ddl] [job="ID:237, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:52.599 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:52.605 +00:00] [INFO] [column.go:135] ["run add column job"] [category=ddl] [job="ID:237, Type:add column, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:52.599 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [columnInfo="{\"id\":25,\"name\":{\"O\":\"mayNullCol\",\"L\":\"maynullcol\"},\"offset\":4,\"origin_default\":\"1\",\"origin_default_bit\":null,\"default\":\"1\",\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{},\"state\":0,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2}"] [2024/05/06 09:31:52.606 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:237, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:52.599 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:52.607 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=451] [neededSchemaVersion=452] ["start time"=342.304µs] [gotSchemaVersion=452] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:52.609 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=237] [version=452] [2024/05/06 09:31:52.610 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=452] ["take time"=3.089199ms] [job="ID:237, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:52.599 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:52.611 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:237, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:52.599 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:52.615 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:237, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:52.599 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:52.615 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=237] [conn=3] [category=ddl] [job="ID:237, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:52.599 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:52.615 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:237, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:52.599 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:52.617 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=452] [neededSchemaVersion=453] ["start time"=390.365µs] [gotSchemaVersion=453] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:52.618 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=237] [version=453] [2024/05/06 09:31:52.619 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=453] ["take time"=2.391631ms] [job="ID:237, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:52.599 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:52.620 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:237, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:52.599 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:52.623 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:237, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:52.599 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:52.623 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=237] [conn=3] [category=ddl] [job="ID:237, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:52.599 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:52.623 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:237, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:52.599 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:52.625 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=453] [neededSchemaVersion=454] ["start time"=472.505µs] [gotSchemaVersion=454] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:52.627 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=237] [version=454] [2024/05/06 09:31:52.629 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=454] ["take time"=4.68843ms] [job="ID:237, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:52.599 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:52.630 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:237, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:52.599 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:52.637 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:237, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:52.599 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:52.637 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=237] [conn=3] [category=ddl] [job="ID:237, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:52.599 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:52.637 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:237, Type:add column, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:52.599 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:52.640 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=454] [neededSchemaVersion=455] ["start time"=467.611µs] [gotSchemaVersion=455] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:52.641 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=237] [version=455] [2024/05/06 09:31:52.649 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=455] ["take time"=10.086399ms] [job="ID:237, Type:add column, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:52.599 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:52.650 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:237, Type:add column, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:52.599 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:52.654 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=237] [conn=3] [job="ID:237, Type:add column, State:synced, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:52.599 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:52.656 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:237, Type:add column, State:synced, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:52.599 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:52.656 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=237] [2024/05/06 09:31:52.656 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:31:52.657 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=455] [cur_db=test] [sql="alter table t modify column mayNullCol bigint default 1 not null"] [user=] [2024/05/06 09:31:52.664 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:238, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:5, start time: 2024-05-06 09:31:52.663 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 09:31:52.664 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:238, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:5, start time: 2024-05-06 09:31:52.663 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t modify column mayNullCol bigint default 1 not null"] [2024/05/06 09:31:52.670 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:238, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:52.663 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:52.672 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=238] [conn=3] [category=ddl] [job="ID:238, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:52.663 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:52.677 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:238, Type:modify column, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:5, start time: 2024-05-06 09:31:52.663 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:52.679 +00:00] [WARN] [session.go:813] ["can not retry txn"] [label=internal] [error="[kv:9007]Write conflict, txnStartTS=449573791378964480, conflictStartTS=449573791378964481, conflictCommitTS=449573791379226624, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=238}, originalKey=748000fffffffffffe5f7280000000000000ee, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [IsBatchInsert=false] [IsPessimistic=false] [InRestrictedSQL=true] [tidb_retry_limit=10] [tidb_disable_txn_auto_retry=true] [2024/05/06 09:31:52.679 +00:00] [WARN] [session.go:829] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[kv:9007]Write conflict, txnStartTS=449573791378964480, conflictStartTS=449573791378964481, conflictCommitTS=449573791379226624, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=238}, originalKey=748000fffffffffffe5f7280000000000000ee, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [2024/05/06 09:31:52.679 +00:00] [INFO] [job_table.go:465] ["handle ddl job failed"] [worker="worker 6, tp general"] [category=ddl] [error="[kv:9007]Write conflict, txnStartTS=449573791378964480, conflictStartTS=449573791378964481, conflictCommitTS=449573791379226624, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=238}, originalKey=748000fffffffffffe5f7280000000000000ee, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [job="ID:238, Type:modify column, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:5, start time: 2024-05-06 09:31:52.663 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:52.682 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:238, Type:modify column, State:cancelling, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:52.663 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:52.682 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=238] [conn=3] [category=ddl] [job="ID:238, Type:modify column, State:cancelling, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:52.663 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:52.682 +00:00] [INFO] [rollingback.go:559] ["the DDL job is cancelled normally"] [worker="worker 6, tp general"] [category=ddl] [jobID=238] [conn=3] [job="ID:238, Type:modify column, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:5, start time: 2024-05-06 09:31:52.663 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [error="[ddl:8214]Cancelled DDL job"] [2024/05/06 09:31:52.682 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:238, Type:modify column, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:5, start time: 2024-05-06 09:31:52.663 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:52.683 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=238] [2024/05/06 09:31:52.684 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:238, Type:modify column, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:5, start time: 2024-05-06 09:31:52.663 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:52.687 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:238, Type:modify column, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:52.663 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:52.687 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=238] [conn=3] [category=ddl] [job="ID:238, Type:modify column, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:52.663 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:52.688 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:238, Type:modify column, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:52.663 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:52.690 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=455] [neededSchemaVersion=457] ["start time"=325.241µs] [gotSchemaVersion=457] [phyTblIDs="[111]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/06 09:31:52.691 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=238] [version=457] [2024/05/06 09:31:52.692 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=457] ["take time"=2.287796ms] [job="ID:238, Type:modify column, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:52.663 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:52.693 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:238, Type:modify column, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:52.663 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:52.696 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=238] [jobType="modify column"] [2024/05/06 09:31:52.696 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=238] [conn=3] [job="ID:238, Type:modify column, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:52.663 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:52.699 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=238] [2024/05/06 09:31:52.699 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:238, Type:modify column, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:52.663 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:52.701 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=238] [2024/05/06 09:31:52.702 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 09:31:52.702 +00:00] [WARN] [session.go:2153] ["run statement failed"] [schemaVersion=455] [error="[ddl:8214]Cancelled DDL job"] [errorVerbose="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).DoDDLJob\n\tpkg/ddl/ddl.go:1293\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).ModifyColumn\n\tpkg/ddl/ddl_api.go:6315\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AlterTable\n\tpkg/ddl/ddl_api.go:3961\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeAlterTable\n\tpkg/executor/ddl.go:388\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:152\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1211\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:960\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:794\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:559\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2280\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:469\ngithub.com/pingcap/tidb/pkg/ddl_test.TestCancel\n\tpkg/ddl/cancel_test.go:289\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 3,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 09:31:52.702 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=457] [cur_db=test] [sql="alter table t modify column mayNullCol bigint default 1 not null"] [user=] [2024/05/06 09:31:52.710 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:239, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:5, start time: 2024-05-06 09:31:52.709 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 09:31:52.710 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:239, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:5, start time: 2024-05-06 09:31:52.709 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t modify column mayNullCol bigint default 1 not null"] [2024/05/06 09:31:52.716 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:239, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:52.709 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:52.716 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=239] [conn=3] [category=ddl] [job="ID:239, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:52.709 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:52.722 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:239, Type:modify column, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:5, start time: 2024-05-06 09:31:52.709 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:52.724 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=457] [neededSchemaVersion=458] ["start time"=447.589µs] [gotSchemaVersion=458] [phyTblIDs="[111]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/06 09:31:52.725 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=239] [version=458] [2024/05/06 09:31:52.728 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=458] ["take time"=4.638559ms] [job="ID:239, Type:modify column, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:5, start time: 2024-05-06 09:31:52.709 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:52.729 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:239, Type:modify column, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:5, start time: 2024-05-06 09:31:52.709 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:52.735 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:239, Type:modify column, State:cancelling, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:52.709 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:52.735 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=239] [conn=3] [category=ddl] [job="ID:239, Type:modify column, State:cancelling, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:52.709 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:52.736 +00:00] [INFO] [rollingback.go:559] ["the DDL job is cancelled normally"] [worker="worker 6, tp general"] [category=ddl] [jobID=239] [conn=3] [job="ID:239, Type:modify column, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:5, start time: 2024-05-06 09:31:52.709 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [error="[ddl:8214]Cancelled DDL job"] [2024/05/06 09:31:52.736 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:239, Type:modify column, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:5, start time: 2024-05-06 09:31:52.709 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:52.737 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=239] [2024/05/06 09:31:52.737 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:239, Type:modify column, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:5, start time: 2024-05-06 09:31:52.709 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:52.741 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:239, Type:modify column, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:52.709 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:52.741 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=239] [conn=3] [category=ddl] [job="ID:239, Type:modify column, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:52.709 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:52.743 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:239, Type:modify column, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:52.709 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:52.745 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=458] [neededSchemaVersion=459] ["start time"=447.305µs] [gotSchemaVersion=459] [phyTblIDs="[111]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/06 09:31:52.746 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=239] [version=459] [2024/05/06 09:31:52.747 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=459] ["take time"=2.074816ms] [job="ID:239, Type:modify column, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:52.709 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:52.747 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:239, Type:modify column, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:52.709 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:52.751 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=239] [jobType="modify column"] [2024/05/06 09:31:52.752 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=239] [conn=3] [job="ID:239, Type:modify column, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:52.709 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:52.755 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=239] [2024/05/06 09:31:52.755 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:239, Type:modify column, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:52.709 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:52.758 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=239] [2024/05/06 09:31:52.758 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 09:31:52.759 +00:00] [WARN] [session.go:2153] ["run statement failed"] [schemaVersion=457] [error="[ddl:8214]Cancelled DDL job"] [errorVerbose="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).DoDDLJob\n\tpkg/ddl/ddl.go:1293\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).ModifyColumn\n\tpkg/ddl/ddl_api.go:6315\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AlterTable\n\tpkg/ddl/ddl_api.go:3961\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeAlterTable\n\tpkg/executor/ddl.go:388\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:152\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1211\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:960\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:794\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:559\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2280\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:469\ngithub.com/pingcap/tidb/pkg/ddl_test.TestCancel\n\tpkg/ddl/cancel_test.go:306\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 3,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 09:31:52.759 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=459] [cur_db=test] [sql="alter table t modify column mayNullCol bigint default 1 not null"] [user=] [2024/05/06 09:31:52.767 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:240, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:5, start time: 2024-05-06 09:31:52.766 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 09:31:52.767 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:240, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:5, start time: 2024-05-06 09:31:52.766 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t modify column mayNullCol bigint default 1 not null"] [2024/05/06 09:31:52.773 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:240, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:52.766 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:52.773 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=240] [conn=3] [category=ddl] [job="ID:240, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:52.766 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:52.780 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:240, Type:modify column, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:5, start time: 2024-05-06 09:31:52.766 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:52.782 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=459] [neededSchemaVersion=460] ["start time"=474.123µs] [gotSchemaVersion=460] [phyTblIDs="[111]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/06 09:31:52.783 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=240] [version=460] [2024/05/06 09:31:52.786 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=460] ["take time"=5.200036ms] [job="ID:240, Type:modify column, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:5, start time: 2024-05-06 09:31:52.766 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:52.788 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:240, Type:modify column, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:5, start time: 2024-05-06 09:31:52.766 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:52.795 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:240, Type:modify column, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:52.766 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:52.796 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=240] [conn=3] [category=ddl] [job="ID:240, Type:modify column, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:52.766 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:52.802 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:240, Type:modify column, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:52.766 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:52.804 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=460] [neededSchemaVersion=461] ["start time"=379.336µs] [gotSchemaVersion=461] [phyTblIDs="[111]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/06 09:31:52.806 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=240] [version=461] [2024/05/06 09:31:52.806 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=461] ["take time"=2.313704ms] [job="ID:240, Type:modify column, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:52.766 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:52.807 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:240, Type:modify column, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:52.766 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:52.812 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=240] [jobType="modify column"] [2024/05/06 09:31:52.813 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=240] [conn=3] [job="ID:240, Type:modify column, State:synced, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:52.766 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:52.816 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:240, Type:modify column, State:synced, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:52.766 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:52.819 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=240] [2024/05/06 09:31:52.819 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:31:52.819 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=461] [cur_db=test] [sql="alter table t modify column c11 char(10)"] [user=] [2024/05/06 09:31:52.822 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:241, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:5, start time: 2024-05-06 09:31:52.821 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 09:31:52.822 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:241, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:5, start time: 2024-05-06 09:31:52.821 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t modify column c11 char(10)"] [2024/05/06 09:31:52.831 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:241, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:52.821 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:52.833 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=241] [conn=3] [category=ddl] [job="ID:241, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:52.821 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:52.834 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:241, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 09:31:52.821 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:52.835 +00:00] [WARN] [session.go:813] ["can not retry txn"] [label=internal] [error="[kv:9007]Write conflict, txnStartTS=449573791421169665, conflictStartTS=449573791421169666, conflictCommitTS=449573791421431808, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=241}, originalKey=748000fffffffffffe5f7280000000000000f1, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [IsBatchInsert=false] [IsPessimistic=false] [InRestrictedSQL=true] [tidb_retry_limit=10] [tidb_disable_txn_auto_retry=true] [2024/05/06 09:31:52.835 +00:00] [WARN] [session.go:829] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[kv:9007]Write conflict, txnStartTS=449573791421169665, conflictStartTS=449573791421169666, conflictCommitTS=449573791421431808, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=241}, originalKey=748000fffffffffffe5f7280000000000000f1, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [2024/05/06 09:31:52.835 +00:00] [INFO] [job_table.go:465] ["handle ddl job failed"] [worker="worker 7, tp add index"] [category=ddl] [error="[kv:9007]Write conflict, txnStartTS=449573791421169665, conflictStartTS=449573791421169666, conflictCommitTS=449573791421431808, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=241}, originalKey=748000fffffffffffe5f7280000000000000f1, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [job="ID:241, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 09:31:52.821 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:52.841 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:241, Type:modify column, State:cancelling, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:52.821 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:52.841 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=241] [conn=3] [category=ddl] [job="ID:241, Type:modify column, State:cancelling, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:52.821 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:52.841 +00:00] [INFO] [rollingback.go:559] ["the DDL job is cancelled normally"] [worker="worker 10, tp add index"] [category=ddl] [jobID=241] [conn=3] [job="ID:241, Type:modify column, State:cancelled, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:5, start time: 2024-05-06 09:31:52.821 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [error="[ddl:8214]Cancelled DDL job"] [2024/05/06 09:31:52.841 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:241, Type:modify column, State:cancelled, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:5, start time: 2024-05-06 09:31:52.821 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:52.842 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=241] [conn=3] [job="ID:241, Type:modify column, State:cancelled, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:5, start time: 2024-05-06 09:31:52.821 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:52.844 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:241, Type:modify column, State:cancelled, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:5, start time: 2024-05-06 09:31:52.821 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:52.844 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=241] [2024/05/06 09:31:52.844 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 09:31:52.844 +00:00] [WARN] [session.go:2153] ["run statement failed"] [schemaVersion=461] [error="[ddl:8214]Cancelled DDL job"] [errorVerbose="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).DoDDLJob\n\tpkg/ddl/ddl.go:1293\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).ModifyColumn\n\tpkg/ddl/ddl_api.go:6315\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AlterTable\n\tpkg/ddl/ddl_api.go:3961\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeAlterTable\n\tpkg/executor/ddl.go:388\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:152\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1211\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:960\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:794\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:559\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2280\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:469\ngithub.com/pingcap/tidb/pkg/ddl_test.TestCancel\n\tpkg/ddl/cancel_test.go:289\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 3,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 09:31:52.845 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=461] [cur_db=test] [sql="alter table t modify column c11 char(10)"] [user=] [2024/05/06 09:31:52.847 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:242, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:5, start time: 2024-05-06 09:31:52.846 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 09:31:52.847 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:242, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:5, start time: 2024-05-06 09:31:52.846 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t modify column c11 char(10)"] [2024/05/06 09:31:52.855 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:242, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:52.846 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:52.855 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=242] [conn=3] [category=ddl] [job="ID:242, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:52.846 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:52.856 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:242, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 09:31:52.846 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:52.858 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=461] [neededSchemaVersion=463] ["start time"=504.322µs] [gotSchemaVersion=463] [phyTblIDs="[111]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/06 09:31:52.860 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=242] [version=463] [2024/05/06 09:31:52.862 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=463] ["take time"=4.124182ms] [job="ID:242, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 09:31:52.846 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:52.862 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:242, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 09:31:52.846 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:52.868 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:242, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:52.846 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:52.870 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=242] [conn=3] [category=ddl] [job="ID:242, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:52.846 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:52.871 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:242, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 09:31:52.846 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:52.872 +00:00] [WARN] [session.go:813] ["can not retry txn"] [label=internal] [error="[kv:9007]Write conflict, txnStartTS=449573791430868992, conflictStartTS=449573791430868993, conflictCommitTS=449573791431393280, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=242}, originalKey=748000fffffffffffe5f7280000000000000f2, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [IsBatchInsert=false] [IsPessimistic=false] [InRestrictedSQL=true] [tidb_retry_limit=10] [tidb_disable_txn_auto_retry=true] [2024/05/06 09:31:52.872 +00:00] [WARN] [session.go:829] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[kv:9007]Write conflict, txnStartTS=449573791430868992, conflictStartTS=449573791430868993, conflictCommitTS=449573791431393280, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=242}, originalKey=748000fffffffffffe5f7280000000000000f2, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [2024/05/06 09:31:52.872 +00:00] [INFO] [job_table.go:465] ["handle ddl job failed"] [worker="worker 7, tp add index"] [category=ddl] [error="[kv:9007]Write conflict, txnStartTS=449573791430868992, conflictStartTS=449573791430868993, conflictCommitTS=449573791431393280, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=242}, originalKey=748000fffffffffffe5f7280000000000000f2, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [job="ID:242, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 09:31:52.846 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:52.880 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:242, Type:modify column, State:cancelling, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:52.846 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:52.880 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=242] [conn=3] [category=ddl] [job="ID:242, Type:modify column, State:cancelling, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:52.846 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:52.881 +00:00] [INFO] [rollingback.go:559] ["the DDL job is cancelled normally"] [worker="worker 8, tp add index"] [category=ddl] [jobID=242] [conn=3] [job="ID:242, Type:modify column, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 09:31:52.846 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [error="[ddl:8214]Cancelled DDL job"] [2024/05/06 09:31:52.881 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:242, Type:modify column, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 09:31:52.846 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:52.882 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=242] [2024/05/06 09:31:52.882 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:242, Type:modify column, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 09:31:52.846 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:52.887 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:242, Type:modify column, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:52.846 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:52.887 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=242] [conn=3] [category=ddl] [job="ID:242, Type:modify column, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:52.846 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:52.888 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:242, Type:modify column, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:52.846 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:52.891 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=463] [neededSchemaVersion=465] ["start time"=513.254µs] [gotSchemaVersion=465] [phyTblIDs="[111]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/06 09:31:52.892 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=242] [version=465] [2024/05/06 09:31:52.892 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=465] ["take time"=2.364269ms] [job="ID:242, Type:modify column, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:52.846 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:52.893 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:242, Type:modify column, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:52.846 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:52.899 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=242] [jobType="modify column"] [2024/05/06 09:31:52.899 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=242] [conn=3] [job="ID:242, Type:modify column, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:52.846 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:52.901 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=242] [2024/05/06 09:31:52.902 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:242, Type:modify column, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:52.846 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:52.904 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=242] [2024/05/06 09:31:52.904 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 09:31:52.904 +00:00] [WARN] [session.go:2153] ["run statement failed"] [schemaVersion=461] [error="[ddl:8214]Cancelled DDL job"] [errorVerbose="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).DoDDLJob\n\tpkg/ddl/ddl.go:1293\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).ModifyColumn\n\tpkg/ddl/ddl_api.go:6315\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AlterTable\n\tpkg/ddl/ddl_api.go:3961\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeAlterTable\n\tpkg/executor/ddl.go:388\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:152\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1211\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:960\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:794\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:559\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2280\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:469\ngithub.com/pingcap/tidb/pkg/ddl_test.TestCancel\n\tpkg/ddl/cancel_test.go:289\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 3,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 09:31:52.904 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=465] [cur_db=test] [sql="alter table t modify column c11 char(10)"] [user=] [2024/05/06 09:31:52.907 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:243, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:5, start time: 2024-05-06 09:31:52.906 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 09:31:52.907 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:243, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:5, start time: 2024-05-06 09:31:52.906 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t modify column c11 char(10)"] [2024/05/06 09:31:52.914 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:243, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:52.906 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:52.914 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=243] [conn=3] [category=ddl] [job="ID:243, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:52.906 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:52.915 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:243, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 09:31:52.906 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:52.917 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=465] [neededSchemaVersion=466] ["start time"=305.41µs] [gotSchemaVersion=466] [phyTblIDs="[111]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/06 09:31:52.918 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=243] [version=466] [2024/05/06 09:31:52.918 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=466] ["take time"=2.085963ms] [job="ID:243, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 09:31:52.906 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:52.919 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:243, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 09:31:52.906 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:52.926 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:243, Type:modify column, State:cancelling, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:52.906 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:52.926 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=243] [conn=3] [category=ddl] [job="ID:243, Type:modify column, State:cancelling, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:52.906 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:52.926 +00:00] [INFO] [rollingback.go:559] ["the DDL job is cancelled normally"] [worker="worker 7, tp add index"] [category=ddl] [jobID=243] [conn=3] [job="ID:243, Type:modify column, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 09:31:52.906 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [error="[ddl:8214]Cancelled DDL job"] [2024/05/06 09:31:52.926 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:243, Type:modify column, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 09:31:52.906 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:52.927 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=243] [2024/05/06 09:31:52.928 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:243, Type:modify column, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 09:31:52.906 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:52.933 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:243, Type:modify column, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:52.906 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:52.933 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=243] [conn=3] [category=ddl] [job="ID:243, Type:modify column, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:52.906 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:52.934 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:243, Type:modify column, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:52.906 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:52.936 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=466] [neededSchemaVersion=467] ["start time"=331.858µs] [gotSchemaVersion=467] [phyTblIDs="[111]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/06 09:31:52.937 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=243] [version=467] [2024/05/06 09:31:52.937 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=467] ["take time"=2.018223ms] [job="ID:243, Type:modify column, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:52.906 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:52.938 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:243, Type:modify column, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:52.906 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:52.944 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=243] [jobType="modify column"] [2024/05/06 09:31:52.944 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=243] [conn=3] [job="ID:243, Type:modify column, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:52.906 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:52.947 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=243] [2024/05/06 09:31:52.947 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:243, Type:modify column, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:52.906 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:52.949 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=243] [2024/05/06 09:31:52.949 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 09:31:52.949 +00:00] [WARN] [session.go:2153] ["run statement failed"] [schemaVersion=465] [error="[ddl:8214]Cancelled DDL job"] [errorVerbose="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).DoDDLJob\n\tpkg/ddl/ddl.go:1293\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).ModifyColumn\n\tpkg/ddl/ddl_api.go:6315\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AlterTable\n\tpkg/ddl/ddl_api.go:3961\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeAlterTable\n\tpkg/executor/ddl.go:388\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:152\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1211\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:960\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:794\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:559\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2280\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:469\ngithub.com/pingcap/tidb/pkg/ddl_test.TestCancel\n\tpkg/ddl/cancel_test.go:306\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 3,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 09:31:52.950 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=467] [cur_db=test] [sql="alter table t modify column c11 char(10)"] [user=] [2024/05/06 09:31:52.952 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:244, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:5, start time: 2024-05-06 09:31:52.951 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 09:31:52.952 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:244, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:5, start time: 2024-05-06 09:31:52.951 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t modify column c11 char(10)"] [2024/05/06 09:31:52.960 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:244, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:52.951 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:52.960 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=244] [conn=3] [category=ddl] [job="ID:244, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:52.951 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:52.961 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:244, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 09:31:52.951 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:52.964 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=467] [neededSchemaVersion=468] ["start time"=513.854µs] [gotSchemaVersion=468] [phyTblIDs="[111]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/06 09:31:52.966 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=244] [version=468] [2024/05/06 09:31:52.967 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=468] ["take time"=4.044928ms] [job="ID:244, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 09:31:52.951 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:52.968 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:244, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 09:31:52.951 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:52.974 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:244, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:52.951 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:52.974 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=244] [conn=3] [category=ddl] [job="ID:244, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:52.951 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:52.975 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:244, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 09:31:52.951 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:52.977 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=468] [neededSchemaVersion=469] ["start time"=498.371µs] [gotSchemaVersion=469] [phyTblIDs="[111]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/06 09:31:52.978 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=244] [version=469] [2024/05/06 09:31:52.982 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=469] ["take time"=6.123691ms] [job="ID:244, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 09:31:52.951 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:52.983 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:244, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 09:31:52.951 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:52.989 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:244, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:52.951 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:52.991 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=244] [conn=3] [category=ddl] [job="ID:244, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:52.951 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:52.992 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:244, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 09:31:52.951 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:52.993 +00:00] [WARN] [session.go:813] ["can not retry txn"] [label=internal] [error="[kv:9007]Write conflict, txnStartTS=449573791462588416, conflictStartTS=449573791462850560, conflictCommitTS=449573791463112704, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=244}, originalKey=748000fffffffffffe5f7280000000000000f4, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [IsBatchInsert=false] [IsPessimistic=false] [InRestrictedSQL=true] [tidb_retry_limit=10] [tidb_disable_txn_auto_retry=true] [2024/05/06 09:31:52.993 +00:00] [WARN] [session.go:829] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[kv:9007]Write conflict, txnStartTS=449573791462588416, conflictStartTS=449573791462850560, conflictCommitTS=449573791463112704, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=244}, originalKey=748000fffffffffffe5f7280000000000000f4, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [2024/05/06 09:31:52.993 +00:00] [INFO] [job_table.go:465] ["handle ddl job failed"] [worker="worker 9, tp add index"] [category=ddl] [error="[kv:9007]Write conflict, txnStartTS=449573791462588416, conflictStartTS=449573791462850560, conflictCommitTS=449573791463112704, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=244}, originalKey=748000fffffffffffe5f7280000000000000f4, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [job="ID:244, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 09:31:52.951 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:52.999 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:244, Type:modify column, State:cancelling, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:52.951 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:52.999 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=244] [conn=3] [category=ddl] [job="ID:244, Type:modify column, State:cancelling, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:52.951 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:52.999 +00:00] [INFO] [rollingback.go:559] ["the DDL job is cancelled normally"] [worker="worker 7, tp add index"] [category=ddl] [jobID=244] [conn=3] [job="ID:244, Type:modify column, State:rollingback, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 09:31:52.951 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [error="[ddl:8214]Cancelled DDL job"] [2024/05/06 09:31:52.999 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:244, Type:modify column, State:rollingback, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 09:31:52.951 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:53.000 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=244] [2024/05/06 09:31:53.000 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:244, Type:modify column, State:rollingback, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 09:31:52.951 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:53.006 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:244, Type:modify column, State:rollingback, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:52.951 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:53.006 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=244] [conn=3] [category=ddl] [job="ID:244, Type:modify column, State:rollingback, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:52.951 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:53.007 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:244, Type:modify column, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:52.951 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:53.009 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=469] [neededSchemaVersion=471] ["start time"=485.409µs] [gotSchemaVersion=471] [phyTblIDs="[111]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/06 09:31:53.010 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=244] [version=471] [2024/05/06 09:31:53.010 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=471] ["take time"=2.045222ms] [job="ID:244, Type:modify column, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:52.951 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:53.011 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:244, Type:modify column, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:52.951 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:53.017 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=244] [jobType="modify column"] [2024/05/06 09:31:53.017 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=244] [conn=3] [job="ID:244, Type:modify column, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:52.951 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:53.019 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=244] [2024/05/06 09:31:53.020 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:244, Type:modify column, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:52.951 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:53.021 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=244] [2024/05/06 09:31:53.022 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 09:31:53.022 +00:00] [WARN] [session.go:2153] ["run statement failed"] [schemaVersion=467] [error="[ddl:8214]Cancelled DDL job"] [errorVerbose="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).DoDDLJob\n\tpkg/ddl/ddl.go:1293\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).ModifyColumn\n\tpkg/ddl/ddl_api.go:6315\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AlterTable\n\tpkg/ddl/ddl_api.go:3961\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeAlterTable\n\tpkg/executor/ddl.go:388\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:152\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1211\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:960\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:794\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:559\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2280\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:469\ngithub.com/pingcap/tidb/pkg/ddl_test.TestCancel\n\tpkg/ddl/cancel_test.go:289\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 3,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 09:31:53.022 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=471] [cur_db=test] [sql="alter table t modify column c11 char(10)"] [user=] [2024/05/06 09:31:53.025 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:245, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:5, start time: 2024-05-06 09:31:53.023 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 09:31:53.025 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:245, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:5, start time: 2024-05-06 09:31:53.023 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t modify column c11 char(10)"] [2024/05/06 09:31:53.031 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:245, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:53.023 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:53.031 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=245] [conn=3] [category=ddl] [job="ID:245, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:53.023 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:53.031 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:245, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 09:31:53.023 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:53.033 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=471] [neededSchemaVersion=472] ["start time"=366.985µs] [gotSchemaVersion=472] [phyTblIDs="[111]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/06 09:31:53.034 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=245] [version=472] [2024/05/06 09:31:53.035 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=472] ["take time"=2.091379ms] [job="ID:245, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 09:31:53.023 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:53.035 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:245, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 09:31:53.023 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:53.041 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:245, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:53.023 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:53.041 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=245] [conn=3] [category=ddl] [job="ID:245, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:53.023 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:53.042 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:245, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 09:31:53.023 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:53.044 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=472] [neededSchemaVersion=473] ["start time"=370.385µs] [gotSchemaVersion=473] [phyTblIDs="[111]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/06 09:31:53.045 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=245] [version=473] [2024/05/06 09:31:53.046 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=473] ["take time"=2.310191ms] [job="ID:245, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 09:31:53.023 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:53.047 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:245, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 09:31:53.023 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:53.054 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:245, Type:modify column, State:cancelling, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:53.023 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:53.054 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=245] [conn=3] [category=ddl] [job="ID:245, Type:modify column, State:cancelling, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:53.023 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:53.054 +00:00] [INFO] [rollingback.go:559] ["the DDL job is cancelled normally"] [worker="worker 9, tp add index"] [category=ddl] [jobID=245] [conn=3] [job="ID:245, Type:modify column, State:rollingback, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 09:31:53.023 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [error="[ddl:8214]Cancelled DDL job"] [2024/05/06 09:31:53.054 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:245, Type:modify column, State:rollingback, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 09:31:53.023 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:53.055 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=245] [2024/05/06 09:31:53.056 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:245, Type:modify column, State:rollingback, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 09:31:53.023 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:53.060 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:245, Type:modify column, State:rollingback, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:53.023 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:53.060 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=245] [conn=3] [category=ddl] [job="ID:245, Type:modify column, State:rollingback, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:53.023 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:53.061 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:245, Type:modify column, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:53.023 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:53.064 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=473] [neededSchemaVersion=474] ["start time"=502.3µs] [gotSchemaVersion=474] [phyTblIDs="[111]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/06 09:31:53.065 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=245] [version=474] [2024/05/06 09:31:53.067 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=474] ["take time"=4.619883ms] [job="ID:245, Type:modify column, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:53.023 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:53.068 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:245, Type:modify column, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:53.023 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:53.075 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=245] [jobType="modify column"] [2024/05/06 09:31:53.076 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=245] [conn=3] [job="ID:245, Type:modify column, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:53.023 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:53.079 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=245] [2024/05/06 09:31:53.080 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:245, Type:modify column, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:53.023 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:53.083 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=245] [2024/05/06 09:31:53.083 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 09:31:53.083 +00:00] [WARN] [session.go:2153] ["run statement failed"] [schemaVersion=471] [error="[ddl:8214]Cancelled DDL job"] [errorVerbose="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).DoDDLJob\n\tpkg/ddl/ddl.go:1293\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).ModifyColumn\n\tpkg/ddl/ddl_api.go:6315\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AlterTable\n\tpkg/ddl/ddl_api.go:3961\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeAlterTable\n\tpkg/executor/ddl.go:388\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:152\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1211\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:960\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:794\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:559\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2280\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:469\ngithub.com/pingcap/tidb/pkg/ddl_test.TestCancel\n\tpkg/ddl/cancel_test.go:306\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 3,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 09:31:53.083 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=474] [cur_db=test] [sql="alter table t modify column c11 char(10)"] [user=] [2024/05/06 09:31:53.086 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:246, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:5, start time: 2024-05-06 09:31:53.085 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 09:31:53.086 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:246, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:5, start time: 2024-05-06 09:31:53.085 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t modify column c11 char(10)"] [2024/05/06 09:31:53.099 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:246, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:53.085 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:53.099 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=246] [conn=3] [category=ddl] [job="ID:246, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:53.085 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:53.100 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:246, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 09:31:53.085 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:53.103 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=474] [neededSchemaVersion=475] ["start time"=467.657µs] [gotSchemaVersion=475] [phyTblIDs="[111]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/06 09:31:53.104 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=246] [version=475] [2024/05/06 09:31:53.104 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=475] ["take time"=2.042951ms] [job="ID:246, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 09:31:53.085 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:53.105 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:246, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 09:31:53.085 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:53.112 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:246, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:53.085 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:53.112 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=246] [conn=3] [category=ddl] [job="ID:246, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:53.085 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:53.113 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:246, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 09:31:53.085 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:53.115 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=475] [neededSchemaVersion=476] ["start time"=508.695µs] [gotSchemaVersion=476] [phyTblIDs="[111]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/06 09:31:53.118 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=246] [version=476] [2024/05/06 09:31:53.118 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=476] ["take time"=3.25412ms] [job="ID:246, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 09:31:53.085 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:53.120 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:246, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 09:31:53.085 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:53.126 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:246, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:53.085 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:53.126 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=246] [conn=3] [category=ddl] [job="ID:246, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:53.085 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:53.127 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:246, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 09:31:53.085 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:53.129 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=476] [neededSchemaVersion=477] ["start time"=365.645µs] [gotSchemaVersion=477] [phyTblIDs="[111]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/06 09:31:53.130 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=246] [version=477] [2024/05/06 09:31:53.131 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=477] ["take time"=2.232407ms] [job="ID:246, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 09:31:53.085 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:53.132 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:246, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 09:31:53.085 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:53.138 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:246, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:53.085 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:53.140 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=246] [conn=3] [category=ddl] [job="ID:246, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:53.085 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:53.141 +00:00] [INFO] [reorg.go:718] ["job get table range"] [category=ddl] [jobID=246] [physicalTableID=111] [startKey=74800000000000006f5f728000000000000001] [endKey=74800000000000006f5f72800000000000080100] [2024/05/06 09:31:53.143 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:246, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 09:31:53.085 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573791502172160, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:53.144 +00:00] [WARN] [session.go:813] ["can not retry txn"] [label=internal] [error="[kv:9007]Write conflict, txnStartTS=449573791501647872, conflictStartTS=449573791501647873, conflictCommitTS=449573791501910016, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=246}, originalKey=748000fffffffffffe5f7280000000000000f6, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [IsBatchInsert=false] [IsPessimistic=false] [InRestrictedSQL=true] [tidb_retry_limit=10] [tidb_disable_txn_auto_retry=true] [2024/05/06 09:31:53.144 +00:00] [WARN] [session.go:829] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[kv:9007]Write conflict, txnStartTS=449573791501647872, conflictStartTS=449573791501647873, conflictCommitTS=449573791501910016, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=246}, originalKey=748000fffffffffffe5f7280000000000000f6, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [2024/05/06 09:31:53.144 +00:00] [INFO] [job_table.go:465] ["handle ddl job failed"] [worker="worker 7, tp add index"] [category=ddl] [error="[kv:9007]Write conflict, txnStartTS=449573791501647872, conflictStartTS=449573791501647873, conflictCommitTS=449573791501910016, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=246}, originalKey=748000fffffffffffe5f7280000000000000f6, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [job="ID:246, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 09:31:53.085 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573791502172160, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:53.149 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:246, Type:modify column, State:cancelling, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:53.085 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:53.149 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=246] [conn=3] [category=ddl] [job="ID:246, Type:modify column, State:cancelling, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:53.085 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:53.150 +00:00] [INFO] [rollingback.go:559] ["the DDL job is cancelled normally"] [worker="worker 10, tp add index"] [category=ddl] [jobID=246] [conn=3] [job="ID:246, Type:modify column, State:rollingback, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 09:31:53.085 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [error="[ddl:8214]Cancelled DDL job"] [2024/05/06 09:31:53.150 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:246, Type:modify column, State:rollingback, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 09:31:53.085 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:53.151 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=246] [2024/05/06 09:31:53.151 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:246, Type:modify column, State:rollingback, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 09:31:53.085 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:53.156 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:246, Type:modify column, State:rollingback, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:53.085 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:53.156 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=246] [conn=3] [category=ddl] [job="ID:246, Type:modify column, State:rollingback, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:53.085 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:53.157 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:246, Type:modify column, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:53.085 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:53.159 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=477] [neededSchemaVersion=478] ["start time"=391.71µs] [gotSchemaVersion=478] [phyTblIDs="[111]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/06 09:31:53.160 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=246] [version=478] [2024/05/06 09:31:53.161 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=478] ["take time"=2.399648ms] [job="ID:246, Type:modify column, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:53.085 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:53.162 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:246, Type:modify column, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:53.085 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:53.166 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=246] [jobType="modify column"] [2024/05/06 09:31:53.167 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=246] [conn=3] [job="ID:246, Type:modify column, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:53.085 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:53.172 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=246] [2024/05/06 09:31:53.173 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:246, Type:modify column, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:53.085 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:53.176 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=246] [2024/05/06 09:31:53.176 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 09:31:53.176 +00:00] [WARN] [session.go:2153] ["run statement failed"] [schemaVersion=474] [error="[ddl:8214]Cancelled DDL job"] [errorVerbose="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).DoDDLJob\n\tpkg/ddl/ddl.go:1293\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).ModifyColumn\n\tpkg/ddl/ddl_api.go:6315\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AlterTable\n\tpkg/ddl/ddl_api.go:3961\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeAlterTable\n\tpkg/executor/ddl.go:388\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:152\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1211\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:960\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:794\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:559\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2280\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:469\ngithub.com/pingcap/tidb/pkg/ddl_test.TestCancel\n\tpkg/ddl/cancel_test.go:289\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 3,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 09:31:53.176 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=478] [cur_db=test] [sql="alter table t modify column c11 char(10)"] [user=] [2024/05/06 09:31:53.179 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:247, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:5, start time: 2024-05-06 09:31:53.178 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 09:31:53.179 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:247, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:5, start time: 2024-05-06 09:31:53.178 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t modify column c11 char(10)"] [2024/05/06 09:31:53.188 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:247, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:53.178 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:53.188 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=247] [conn=3] [category=ddl] [job="ID:247, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:53.178 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:53.188 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:247, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 09:31:53.178 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:53.190 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=478] [neededSchemaVersion=479] ["start time"=476.72µs] [gotSchemaVersion=479] [phyTblIDs="[111]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/06 09:31:53.192 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=247] [version=479] [2024/05/06 09:31:53.193 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=479] ["take time"=2.791655ms] [job="ID:247, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 09:31:53.178 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:53.193 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:247, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 09:31:53.178 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:53.199 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:247, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:53.178 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:53.199 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=247] [conn=3] [category=ddl] [job="ID:247, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:53.178 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:53.199 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:247, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 09:31:53.178 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:53.201 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=479] [neededSchemaVersion=480] ["start time"=374.675µs] [gotSchemaVersion=480] [phyTblIDs="[111]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/06 09:31:53.202 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=247] [version=480] [2024/05/06 09:31:53.203 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=480] ["take time"=2.401323ms] [job="ID:247, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 09:31:53.178 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:53.204 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:247, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 09:31:53.178 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:53.208 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:247, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:53.178 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:53.208 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=247] [conn=3] [category=ddl] [job="ID:247, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:53.178 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:53.209 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:247, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 09:31:53.178 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:53.211 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=480] [neededSchemaVersion=481] ["start time"=453.326µs] [gotSchemaVersion=481] [phyTblIDs="[111]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/06 09:31:53.214 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=247] [version=481] [2024/05/06 09:31:53.218 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=481] ["take time"=7.510856ms] [job="ID:247, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 09:31:53.178 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:53.221 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:247, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 09:31:53.178 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:53.241 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:247, Type:modify column, State:cancelling, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:53.178 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:53.241 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=247] [conn=3] [category=ddl] [job="ID:247, Type:modify column, State:cancelling, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:53.178 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:53.242 +00:00] [INFO] [rollingback.go:559] ["the DDL job is cancelled normally"] [worker="worker 8, tp add index"] [category=ddl] [jobID=247] [conn=3] [job="ID:247, Type:modify column, State:rollingback, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 09:31:53.178 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [error="[ddl:8214]Cancelled DDL job"] [2024/05/06 09:31:53.242 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:247, Type:modify column, State:rollingback, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 09:31:53.178 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:53.244 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=247] [2024/05/06 09:31:53.245 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:247, Type:modify column, State:rollingback, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 09:31:53.178 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:53.253 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:247, Type:modify column, State:rollingback, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:53.178 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:53.253 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=247] [conn=3] [category=ddl] [job="ID:247, Type:modify column, State:rollingback, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:53.178 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:53.256 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:247, Type:modify column, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:53.178 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:53.259 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=481] [neededSchemaVersion=482] ["start time"=536.468µs] [gotSchemaVersion=482] [phyTblIDs="[111]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/06 09:31:53.261 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=247] [version=482] [2024/05/06 09:31:53.262 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=482] ["take time"=4.12931ms] [job="ID:247, Type:modify column, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:53.178 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:53.264 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:247, Type:modify column, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:53.178 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:53.269 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=247] [jobType="modify column"] [2024/05/06 09:31:53.270 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=247] [conn=3] [job="ID:247, Type:modify column, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:53.178 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:53.274 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=247] [2024/05/06 09:31:53.274 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:247, Type:modify column, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:53.178 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:53.277 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=247] [2024/05/06 09:31:53.277 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 09:31:53.277 +00:00] [WARN] [session.go:2153] ["run statement failed"] [schemaVersion=478] [error="[ddl:8214]Cancelled DDL job"] [errorVerbose="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).DoDDLJob\n\tpkg/ddl/ddl.go:1293\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).ModifyColumn\n\tpkg/ddl/ddl_api.go:6315\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AlterTable\n\tpkg/ddl/ddl_api.go:3961\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeAlterTable\n\tpkg/executor/ddl.go:388\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:152\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1211\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:960\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:794\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:559\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2280\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:469\ngithub.com/pingcap/tidb/pkg/ddl_test.TestCancel\n\tpkg/ddl/cancel_test.go:306\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 3,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 09:31:53.277 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=482] [cur_db=test] [sql="alter table t modify column c11 char(10)"] [user=] [2024/05/06 09:31:53.280 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:248, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:5, start time: 2024-05-06 09:31:53.279 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 09:31:53.280 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:248, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:5, start time: 2024-05-06 09:31:53.279 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t modify column c11 char(10)"] [2024/05/06 09:31:53.288 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:248, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:53.279 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:53.288 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=248] [conn=3] [category=ddl] [job="ID:248, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:53.279 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:53.289 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:248, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 09:31:53.279 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:53.291 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=482] [neededSchemaVersion=483] ["start time"=484.903µs] [gotSchemaVersion=483] [phyTblIDs="[111]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/06 09:31:53.293 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=248] [version=483] [2024/05/06 09:31:53.293 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=483] ["take time"=2.011613ms] [job="ID:248, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 09:31:53.279 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:53.294 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:248, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 09:31:53.279 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:53.300 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:248, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:53.279 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:53.300 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=248] [conn=3] [category=ddl] [job="ID:248, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:53.279 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:53.301 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:248, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 09:31:53.279 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:53.303 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=483] [neededSchemaVersion=484] ["start time"=486.44µs] [gotSchemaVersion=484] [phyTblIDs="[111]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/06 09:31:53.305 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=248] [version=484] [2024/05/06 09:31:53.305 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=484] ["take time"=2.058319ms] [job="ID:248, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 09:31:53.279 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:53.305 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:248, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 09:31:53.279 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:53.311 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:248, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:53.279 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:53.311 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=248] [conn=3] [category=ddl] [job="ID:248, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:53.279 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:53.312 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:248, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 09:31:53.279 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:53.314 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=484] [neededSchemaVersion=485] ["start time"=512.556µs] [gotSchemaVersion=485] [phyTblIDs="[111]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/06 09:31:53.316 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=248] [version=485] [2024/05/06 09:31:53.318 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=485] ["take time"=4.059509ms] [job="ID:248, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 09:31:53.279 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:53.319 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:248, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 09:31:53.279 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:53.324 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:248, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:53.279 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:53.324 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=248] [conn=3] [category=ddl] [job="ID:248, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:53.279 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:53.325 +00:00] [INFO] [reorg.go:718] ["job get table range"] [category=ddl] [jobID=248] [physicalTableID=111] [startKey=74800000000000006f5f728000000000000001] [endKey=74800000000000006f5f72800000000000080100] [2024/05/06 09:31:53.327 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:248, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 09:31:53.279 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573791550668800, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:53.328 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=248] [2024/05/06 09:31:53.329 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:248, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 09:31:53.279 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573791550668800, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:53.335 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:248, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:53.279 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573791550668800, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:53.335 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=248] [conn=3] [category=ddl] [job="ID:248, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:53.279 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573791550668800, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:53.337 +00:00] [INFO] [column.go:1076] ["start to update table row"] [category=ddl] [job="ID:248, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 09:31:53.279 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573791550668800, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_col_,CurrElementID:32,StartKey:74800000000000006f5f728000000000000001,EndKey:74800000000000006f5f72800000000000080100,First:false,PhysicalTableID:111,Ingest mode:false"] [2024/05/06 09:31:53.338 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=111] ["start key"=74800000000000006f5f728000000000000001] ["end key"=74800000000000006f5f72800000000000080100] [2024/05/06 09:31:53.338 +00:00] [INFO] [backfilling.go:692] ["start backfill workers to reorg record"] [category=ddl] [type="update column"] [workerCnt=1] [regionCnt=1] [startKey=74800000000000006f5f728000000000000001] [endKey=74800000000000006f5f72800000000000080100] [2024/05/06 09:31:53.338 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=111] ["end key"=74800000000000006f5f72800000000000080100] ["current end key"=74800000000000006f5f72800000000000080100] [2024/05/06 09:31:53.348 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 09:31:53.348 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:248, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 09:31:53.279 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573791550668800, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:53.349 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=248] [2024/05/06 09:31:53.350 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:248, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 09:31:53.279 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573791550668800, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:53.358 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:248, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:53.279 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573791550668800, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:53.358 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=248] [conn=3] [category=ddl] [job="ID:248, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:53.279 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573791550668800, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:53.373 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 09:31:53.373 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:248, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 09:31:53.279 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573791550668800, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:53.374 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=248] [2024/05/06 09:31:53.375 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:248, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 09:31:53.279 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573791550668800, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:53.381 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:248, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:53.279 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573791550668800, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:53.381 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=248] [conn=3] [category=ddl] [job="ID:248, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:53.279 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573791550668800, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:53.394 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 09:31:53.394 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:248, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 09:31:53.279 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573791550668800, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:53.395 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=248] [2024/05/06 09:31:53.396 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:248, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 09:31:53.279 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573791550668800, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:53.402 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:248, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:53.279 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573791550668800, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:53.402 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=248] [conn=3] [category=ddl] [job="ID:248, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:53.279 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573791550668800, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:53.415 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 09:31:53.415 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:248, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 09:31:53.279 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573791550668800, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:53.416 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=248] [2024/05/06 09:31:53.416 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:248, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 09:31:53.279 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573791550668800, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:53.422 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:248, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:53.279 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573791550668800, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:53.422 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=248] [conn=3] [category=ddl] [job="ID:248, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:53.279 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573791550668800, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:53.435 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 09:31:53.435 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:248, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 09:31:53.279 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573791550668800, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:53.436 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=248] [2024/05/06 09:31:53.436 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:248, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 09:31:53.279 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573791550668800, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:53.441 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:248, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:53.279 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573791550668800, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:53.442 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=248] [conn=3] [category=ddl] [job="ID:248, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:53.279 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573791550668800, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:53.485 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp update column"] [task="taskID: 1, physicalTableID: 111, range: [74800000000000006f5f728000000000000001, 74800000000000006f5f72800000000000080100), jobID: 248"] ["added count"=2049] ["scan count"=2049] ["next key"=74800000000000006f5f7280000000000008010000] ["take time"=46.367888ms] [2024/05/06 09:31:53.485 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp update column"] [jobID=248] [2024/05/06 09:31:53.485 +00:00] [INFO] [backfilling.go:632] ["backfill workers successfully processed"] [category=ddl] [element=ID:32,TypeKey:_col_] ["total added count"=2049] ["start key"=74800000000000006f5f728000000000000001] [2024/05/06 09:31:53.490 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=672] [2024/05/06 09:31:53.490 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:248, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:672, ArgLen:8, start time: 2024-05-06 09:31:53.279 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573791550668800, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:53.491 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=248] [2024/05/06 09:31:53.491 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:248, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:672, ArgLen:8, start time: 2024-05-06 09:31:53.279 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573791550668800, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:53.496 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:248, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:672, ArgLen:0, start time: 2024-05-06 09:31:53.279 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573791550668800, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:53.496 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=248] [conn=3] [category=ddl] [job="ID:248, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:672, ArgLen:0, start time: 2024-05-06 09:31:53.279 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573791550668800, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:53.498 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=2049] [2024/05/06 09:31:53.537 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:248, Type:modify column, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:2, start time: 2024-05-06 09:31:53.279 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573791550668800, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:53.539 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=485] [neededSchemaVersion=486] ["start time"=470.642µs] [gotSchemaVersion=486] [phyTblIDs="[111]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/06 09:31:53.541 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=248] [version=486] [2024/05/06 09:31:53.545 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=486] ["take time"=6.036313ms] [job="ID:248, Type:modify column, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:2, start time: 2024-05-06 09:31:53.279 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573791550668800, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:53.547 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:248, Type:modify column, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:2, start time: 2024-05-06 09:31:53.279 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573791550668800, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:53.556 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=248] [jobType="modify column"] [2024/05/06 09:31:53.557 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=248] [conn=3] [job="ID:248, Type:modify column, State:synced, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:2, start time: 2024-05-06 09:31:53.279 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573791550668800, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:53.560 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:248, Type:modify column, State:synced, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:2, start time: 2024-05-06 09:31:53.279 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573791550668800, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:53.563 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=248] [2024/05/06 09:31:53.563 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:31:53.563 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=486] [cur_db=test] [sql="create table t_ref (c1 int key, c2 int, c3 int, c11 tinyint);"] [user=] [2024/05/06 09:31:53.566 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:250, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:249, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:53.564 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:31:53.566 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:250, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:249, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:53.564 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table t_ref (c1 int key, c2 int, c3 int, c11 tinyint);"] [2024/05/06 09:31:53.571 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:250, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:249, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:53.564 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:53.571 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=250] [conn=3] [category=ddl] [job="ID:250, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:249, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:53.564 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:53.572 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:250, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:249, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:53.564 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:53.574 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=486] [neededSchemaVersion=487] ["start time"=172.305µs] [gotSchemaVersion=487] [phyTblIDs="[249]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:31:53.575 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=250] [version=487] [2024/05/06 09:31:53.576 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=487] ["take time"=2.683054ms] [job="ID:250, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:249, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:53.564 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:53.577 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:250, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:249, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:53.564 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:53.581 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=250] [conn=3] [job="ID:250, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:249, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:53.564 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:53.584 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:250, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:249, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:53.564 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:53.584 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=250] [2024/05/06 09:31:53.584 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:31:53.585 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=487] [cur_db=test] [sql="alter table t add constraint fk foreign key a(c1) references t_ref(c1)"] [user=] [2024/05/06 09:31:53.587 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:251, Type:add foreign key, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:53.586 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:31:53.587 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:251, Type:add foreign key, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:53.586 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t add constraint fk foreign key a(c1) references t_ref(c1)"] [2024/05/06 09:31:53.594 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:251, Type:add foreign key, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:53.586 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:53.596 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=251] [conn=3] [category=ddl] [job="ID:251, Type:add foreign key, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:53.586 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:53.597 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:251, Type:add foreign key, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:53.586 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:53.598 +00:00] [WARN] [session.go:813] ["can not retry txn"] [label=internal] [error="[kv:9007]Write conflict, txnStartTS=449573791621185537, conflictStartTS=449573791621185538, conflictCommitTS=449573791621709824, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=251}, originalKey=748000fffffffffffe5f7280000000000000fb, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [IsBatchInsert=false] [IsPessimistic=false] [InRestrictedSQL=true] [tidb_retry_limit=10] [tidb_disable_txn_auto_retry=true] [2024/05/06 09:31:53.598 +00:00] [WARN] [session.go:829] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[kv:9007]Write conflict, txnStartTS=449573791621185537, conflictStartTS=449573791621185538, conflictCommitTS=449573791621709824, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=251}, originalKey=748000fffffffffffe5f7280000000000000fb, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [2024/05/06 09:31:53.598 +00:00] [INFO] [job_table.go:465] ["handle ddl job failed"] [worker="worker 6, tp general"] [category=ddl] [error="[kv:9007]Write conflict, txnStartTS=449573791621185537, conflictStartTS=449573791621185538, conflictCommitTS=449573791621709824, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=251}, originalKey=748000fffffffffffe5f7280000000000000fb, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [job="ID:251, Type:add foreign key, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:53.586 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:53.601 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:251, Type:add foreign key, State:cancelling, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:53.586 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:53.601 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=251] [conn=3] [category=ddl] [job="ID:251, Type:add foreign key, State:cancelling, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:53.586 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:53.601 +00:00] [INFO] [rollingback.go:559] ["the DDL job is cancelled normally"] [worker="worker 6, tp general"] [category=ddl] [jobID=251] [conn=3] [job="ID:251, Type:add foreign key, State:cancelled, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:53.586 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [error="[ddl:8214]Cancelled DDL job"] [2024/05/06 09:31:53.601 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:251, Type:add foreign key, State:cancelled, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:53.586 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:53.602 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=251] [conn=3] [job="ID:251, Type:add foreign key, State:cancelled, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:53.586 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:53.604 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=251] [2024/05/06 09:31:53.604 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:251, Type:add foreign key, State:cancelled, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:53.586 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:53.604 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 09:31:53.604 +00:00] [WARN] [session.go:2153] ["run statement failed"] [schemaVersion=487] [error="[ddl:8214]Cancelled DDL job"] [errorVerbose="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).DoDDLJob\n\tpkg/ddl/ddl.go:1293\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateForeignKey\n\tpkg/ddl/ddl_api.go:7926\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AlterTable\n\tpkg/ddl/ddl_api.go:3943\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeAlterTable\n\tpkg/executor/ddl.go:388\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:152\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1211\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:960\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:794\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:559\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2280\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:469\ngithub.com/pingcap/tidb/pkg/ddl_test.TestCancel\n\tpkg/ddl/cancel_test.go:289\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 3,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 09:31:53.648 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=487] [cur_db=test] [sql="alter table t add constraint fk foreign key a(c1) references t_ref(c1)"] [user=] [2024/05/06 09:31:53.652 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:252, Type:add foreign key, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:53.651 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:31:53.652 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:252, Type:add foreign key, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:53.651 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t add constraint fk foreign key a(c1) references t_ref(c1)"] [2024/05/06 09:31:53.660 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:252, Type:add foreign key, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:53.651 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:53.660 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=252] [conn=3] [category=ddl] [job="ID:252, Type:add foreign key, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:53.651 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:53.661 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:252, Type:add foreign key, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:53.651 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:53.662 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=487] [neededSchemaVersion=488] ["start time"=42.889µs] [gotSchemaVersion=487] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[]"] [2024/05/06 09:31:53.664 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=487] [neededSchemaVersion=489] ["start time"=511.16µs] [gotSchemaVersion=489] [phyTblIDs="[111]"] [actionTypes="[9]"] [diffTypes="[\"add foreign key\"]"] [2024/05/06 09:31:53.665 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=252] [version=489] [2024/05/06 09:31:53.674 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=489] ["take time"=11.462401ms] [job="ID:252, Type:add foreign key, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:53.651 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:53.675 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:252, Type:add foreign key, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:53.651 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:53.680 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:252, Type:add foreign key, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:53.651 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:53.680 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=252] [conn=3] [category=ddl] [job="ID:252, Type:add foreign key, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:53.651 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:53.701 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:252, Type:add foreign key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:53.651 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:53.703 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=489] [neededSchemaVersion=490] ["start time"=560.565µs] [gotSchemaVersion=490] [phyTblIDs="[111]"] [actionTypes="[9]"] [diffTypes="[\"add foreign key\"]"] [2024/05/06 09:31:53.705 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=252] [version=490] [2024/05/06 09:31:53.707 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=490] ["take time"=4.623036ms] [job="ID:252, Type:add foreign key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:53.651 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:53.708 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:252, Type:add foreign key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:53.651 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:53.712 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:252, Type:add foreign key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:53.651 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:53.712 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=252] [conn=3] [category=ddl] [job="ID:252, Type:add foreign key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:53.651 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:53.713 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:252, Type:add foreign key, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:53.651 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:53.716 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=490] [neededSchemaVersion=491] ["start time"=480.231µs] [gotSchemaVersion=491] [phyTblIDs="[111]"] [actionTypes="[9]"] [diffTypes="[\"add foreign key\"]"] [2024/05/06 09:31:53.717 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=252] [version=491] [2024/05/06 09:31:53.720 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=491] ["take time"=4.659408ms] [job="ID:252, Type:add foreign key, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:53.651 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:53.721 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:252, Type:add foreign key, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:53.651 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:53.725 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=252] [conn=3] [job="ID:252, Type:add foreign key, State:synced, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:53.651 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:53.729 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:252, Type:add foreign key, State:synced, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:53.651 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:53.729 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=252] [2024/05/06 09:31:53.729 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:31:53.729 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=491] [cur_db=test] [sql="alter table t drop foreign key fk"] [user=] [2024/05/06 09:31:53.732 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:253, Type:drop foreign key, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:53.731 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:31:53.732 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:253, Type:drop foreign key, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:53.731 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t drop foreign key fk"] [2024/05/06 09:31:53.742 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:253, Type:drop foreign key, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:53.731 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:53.744 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=253] [conn=3] [category=ddl] [job="ID:253, Type:drop foreign key, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:53.731 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:53.744 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:253, Type:drop foreign key, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:53.731 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:53.746 +00:00] [WARN] [session.go:813] ["can not retry txn"] [label=internal] [error="[kv:9007]Write conflict, txnStartTS=449573791659720706, conflictStartTS=449573791659982848, conflictCommitTS=449573791660244993, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=253}, originalKey=748000fffffffffffe5f7280000000000000fd, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [IsBatchInsert=false] [IsPessimistic=false] [InRestrictedSQL=true] [tidb_retry_limit=10] [tidb_disable_txn_auto_retry=true] [2024/05/06 09:31:53.746 +00:00] [WARN] [session.go:829] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[kv:9007]Write conflict, txnStartTS=449573791659720706, conflictStartTS=449573791659982848, conflictCommitTS=449573791660244993, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=253}, originalKey=748000fffffffffffe5f7280000000000000fd, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [2024/05/06 09:31:53.746 +00:00] [INFO] [job_table.go:465] ["handle ddl job failed"] [worker="worker 6, tp general"] [category=ddl] [error="[kv:9007]Write conflict, txnStartTS=449573791659720706, conflictStartTS=449573791659982848, conflictCommitTS=449573791660244993, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=253}, originalKey=748000fffffffffffe5f7280000000000000fd, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [job="ID:253, Type:drop foreign key, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:53.731 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:53.749 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:253, Type:drop foreign key, State:cancelling, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:53.731 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:53.749 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=253] [conn=3] [category=ddl] [job="ID:253, Type:drop foreign key, State:cancelling, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:53.731 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:53.749 +00:00] [INFO] [rollingback.go:559] ["the DDL job is cancelled normally"] [worker="worker 6, tp general"] [category=ddl] [jobID=253] [conn=3] [job="ID:253, Type:drop foreign key, State:cancelled, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:53.731 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [error="[ddl:8214]Cancelled DDL job"] [2024/05/06 09:31:53.749 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:253, Type:drop foreign key, State:cancelled, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:53.731 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:53.750 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=253] [conn=3] [job="ID:253, Type:drop foreign key, State:cancelled, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:53.731 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:53.752 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:253, Type:drop foreign key, State:cancelled, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:53.731 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:53.752 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=253] [2024/05/06 09:31:53.753 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 09:31:53.753 +00:00] [WARN] [session.go:2153] ["run statement failed"] [schemaVersion=491] [error="[ddl:8214]Cancelled DDL job"] [errorVerbose="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).DoDDLJob\n\tpkg/ddl/ddl.go:1293\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).DropForeignKey\n\tpkg/ddl/ddl_api.go:7956\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AlterTable\n\tpkg/ddl/ddl_api.go:3959\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeAlterTable\n\tpkg/executor/ddl.go:388\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:152\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1211\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:960\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:794\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:559\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2280\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:469\ngithub.com/pingcap/tidb/pkg/ddl_test.TestCancel\n\tpkg/ddl/cancel_test.go:289\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 3,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 09:31:53.753 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=491] [cur_db=test] [sql="alter table t drop foreign key fk"] [user=] [2024/05/06 09:31:53.755 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:254, Type:drop foreign key, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:53.754 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:31:53.755 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:254, Type:drop foreign key, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:53.754 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t drop foreign key fk"] [2024/05/06 09:31:53.765 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:254, Type:drop foreign key, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:53.754 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:53.765 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=254] [conn=3] [category=ddl] [job="ID:254, Type:drop foreign key, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:53.754 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:53.765 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:254, Type:drop foreign key, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:53.754 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:53.767 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=491] [neededSchemaVersion=493] ["start time"=455.539µs] [gotSchemaVersion=493] [phyTblIDs="[111]"] [actionTypes="[10]"] [diffTypes="[\"drop foreign key\"]"] [2024/05/06 09:31:53.769 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=254] [version=493] [2024/05/06 09:31:53.769 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=493] ["take time"=2.086789ms] [job="ID:254, Type:drop foreign key, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:53.754 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:53.769 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:254, Type:drop foreign key, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:53.754 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:53.773 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=254] [conn=3] [job="ID:254, Type:drop foreign key, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:53.754 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:53.776 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:254, Type:drop foreign key, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:53.754 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:53.776 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=254] [2024/05/06 09:31:53.776 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:31:53.777 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=493] [cur_db=test] [sql="create table t_rename1 (c1 bigint , c2 bigint);"] [user=] [2024/05/06 09:31:53.779 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:256, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:255, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:53.778 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:31:53.779 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:256, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:255, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:53.778 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table t_rename1 (c1 bigint , c2 bigint);"] [2024/05/06 09:31:53.786 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:256, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:255, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:53.778 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:53.786 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=256] [conn=3] [category=ddl] [job="ID:256, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:255, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:53.778 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:53.787 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:256, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:255, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:53.778 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:53.789 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=493] [neededSchemaVersion=494] ["start time"=198.325µs] [gotSchemaVersion=494] [phyTblIDs="[255]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:31:53.790 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=256] [version=494] [2024/05/06 09:31:53.798 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=494] ["take time"=9.326014ms] [job="ID:256, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:255, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:53.778 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:53.799 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:256, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:255, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:53.778 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:53.805 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=256] [conn=3] [job="ID:256, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:255, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:53.778 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:53.808 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:256, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:255, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:53.778 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:53.808 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=256] [2024/05/06 09:31:53.808 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:31:53.809 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=494] [cur_db=test] [sql="create table t_rename2 (c1 bigint , c2 bigint);"] [user=] [2024/05/06 09:31:53.811 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:258, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:257, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:53.81 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:31:53.811 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:258, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:257, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:53.81 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table t_rename2 (c1 bigint , c2 bigint);"] [2024/05/06 09:31:53.819 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:258, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:257, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:53.81 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:53.819 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=258] [conn=3] [category=ddl] [job="ID:258, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:257, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:53.81 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:53.819 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:258, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:257, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:53.81 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:53.821 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=494] [neededSchemaVersion=495] ["start time"=206.076µs] [gotSchemaVersion=495] [phyTblIDs="[257]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:31:53.823 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=258] [version=495] [2024/05/06 09:31:53.824 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=495] ["take time"=3.034816ms] [job="ID:258, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:257, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:53.81 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:53.825 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:258, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:257, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:53.81 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:53.831 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=258] [conn=3] [job="ID:258, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:257, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:53.81 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:53.834 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:258, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:257, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:53.81 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:53.834 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=258] [2024/05/06 09:31:53.834 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:31:53.834 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=495] [cur_db=test] [sql="rename table t_rename1 to t_rename11"] [user=] [2024/05/06 09:31:53.836 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:259, Type:rename table, State:queueing, SchemaState:none, SchemaID:2, TableID:255, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:53.835 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:31:53.836 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:259, Type:rename table, State:queueing, SchemaState:none, SchemaID:2, TableID:255, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:53.835 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="rename table t_rename1 to t_rename11"] [2024/05/06 09:31:53.845 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:259, Type:rename table, State:queueing, SchemaState:none, SchemaID:2, TableID:255, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:53.835 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:53.847 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=259] [conn=3] [category=ddl] [job="ID:259, Type:rename table, State:queueing, SchemaState:none, SchemaID:2, TableID:255, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:53.835 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:53.848 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:259, Type:rename table, State:running, SchemaState:public, SchemaID:2, TableID:255, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:53.835 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:53.849 +00:00] [WARN] [session.go:813] ["can not retry txn"] [label=internal] [error="[kv:9007]Write conflict, txnStartTS=449573791686983680, conflictStartTS=449573791686983681, conflictCommitTS=449573791687507968, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=259}, originalKey=748000fffffffffffe5f728000000000000103, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [IsBatchInsert=false] [IsPessimistic=false] [InRestrictedSQL=true] [tidb_retry_limit=10] [tidb_disable_txn_auto_retry=true] [2024/05/06 09:31:53.849 +00:00] [WARN] [session.go:829] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[kv:9007]Write conflict, txnStartTS=449573791686983680, conflictStartTS=449573791686983681, conflictCommitTS=449573791687507968, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=259}, originalKey=748000fffffffffffe5f728000000000000103, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [2024/05/06 09:31:53.849 +00:00] [INFO] [job_table.go:465] ["handle ddl job failed"] [worker="worker 6, tp general"] [category=ddl] [error="[kv:9007]Write conflict, txnStartTS=449573791686983680, conflictStartTS=449573791686983681, conflictCommitTS=449573791687507968, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=259}, originalKey=748000fffffffffffe5f728000000000000103, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [job="ID:259, Type:rename table, State:running, SchemaState:public, SchemaID:2, TableID:255, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:53.835 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:53.854 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:259, Type:rename table, State:cancelling, SchemaState:none, SchemaID:2, TableID:255, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:53.835 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:53.854 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=259] [conn=3] [category=ddl] [job="ID:259, Type:rename table, State:cancelling, SchemaState:none, SchemaID:2, TableID:255, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:53.835 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:53.854 +00:00] [INFO] [rollingback.go:559] ["the DDL job is cancelled normally"] [worker="worker 6, tp general"] [category=ddl] [jobID=259] [conn=3] [job="ID:259, Type:rename table, State:cancelled, SchemaState:none, SchemaID:2, TableID:255, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:53.835 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [error="[ddl:8214]Cancelled DDL job"] [2024/05/06 09:31:53.854 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:259, Type:rename table, State:cancelled, SchemaState:none, SchemaID:2, TableID:255, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:53.835 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:53.855 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=259] [conn=3] [job="ID:259, Type:rename table, State:cancelled, SchemaState:none, SchemaID:2, TableID:255, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:53.835 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:53.857 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=259] [2024/05/06 09:31:53.857 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 09:31:53.857 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:259, Type:rename table, State:cancelled, SchemaState:none, SchemaID:2, TableID:255, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:53.835 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:53.857 +00:00] [WARN] [session.go:2153] ["run statement failed"] [schemaVersion=495] [error="[ddl:8214]Cancelled DDL job"] [errorVerbose="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).DoDDLJob\n\tpkg/ddl/ddl.go:1293\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).renameTable\n\tpkg/ddl/ddl_api.go:7209\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).RenameTable\n\tpkg/ddl/ddl_api.go:7159\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeRenameTable\n\tpkg/executor/ddl.go:254\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:189\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1211\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:960\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:794\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:559\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2280\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:469\ngithub.com/pingcap/tidb/pkg/ddl_test.TestCancel\n\tpkg/ddl/cancel_test.go:289\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 3,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 09:31:53.857 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=495] [cur_db=test] [sql="rename table t_rename1 to t_rename11"] [user=] [2024/05/06 09:31:53.860 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:260, Type:rename table, State:queueing, SchemaState:none, SchemaID:2, TableID:255, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:53.859 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:31:53.860 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:260, Type:rename table, State:queueing, SchemaState:none, SchemaID:2, TableID:255, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:53.859 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="rename table t_rename1 to t_rename11"] [2024/05/06 09:31:53.867 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:260, Type:rename table, State:queueing, SchemaState:none, SchemaID:2, TableID:255, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:53.859 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:53.867 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=260] [conn=3] [category=ddl] [job="ID:260, Type:rename table, State:queueing, SchemaState:none, SchemaID:2, TableID:255, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:53.859 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:53.868 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:260, Type:rename table, State:running, SchemaState:public, SchemaID:2, TableID:255, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:53.859 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:53.870 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=495] [neededSchemaVersion=497] ["start time"=194.461µs] [gotSchemaVersion=497] [phyTblIDs="[255]"] [actionTypes="[14]"] [diffTypes="[\"rename table\"]"] [2024/05/06 09:31:53.871 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=260] [version=497] [2024/05/06 09:31:53.874 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=497] ["take time"=4.242954ms] [job="ID:260, Type:rename table, State:running, SchemaState:public, SchemaID:2, TableID:255, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:53.859 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:53.875 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:260, Type:rename table, State:running, SchemaState:public, SchemaID:2, TableID:255, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:53.859 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:53.878 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:260, Type:rename table, State:running, SchemaState:public, SchemaID:2, TableID:255, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:53.859 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:53.878 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=260] [conn=3] [category=ddl] [job="ID:260, Type:rename table, State:running, SchemaState:public, SchemaID:2, TableID:255, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:53.859 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:53.879 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:260, Type:rename table, State:done, SchemaState:public, SchemaID:2, TableID:255, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:53.859 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:53.881 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=497] [neededSchemaVersion=498] ["start time"=231.481µs] [gotSchemaVersion=498] [phyTblIDs="[255]"] [actionTypes="[14]"] [diffTypes="[\"rename table\"]"] [2024/05/06 09:31:53.882 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=260] [version=498] [2024/05/06 09:31:53.883 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=498] ["take time"=2.815558ms] [job="ID:260, Type:rename table, State:done, SchemaState:public, SchemaID:2, TableID:255, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:53.859 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:53.884 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:260, Type:rename table, State:done, SchemaState:public, SchemaID:2, TableID:255, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:53.859 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:53.888 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=260] [conn=3] [job="ID:260, Type:rename table, State:synced, SchemaState:public, SchemaID:2, TableID:255, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:53.859 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:53.892 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:260, Type:rename table, State:synced, SchemaState:public, SchemaID:2, TableID:255, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:53.859 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:53.892 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=260] [2024/05/06 09:31:53.892 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:31:53.892 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=498] [cur_db=test] [sql="rename table t_rename11 to t_rename111, t_rename2 to t_rename22"] [user=] [2024/05/06 09:31:53.894 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:261, Type:rename tables, State:queueing, SchemaState:none, SchemaID:2, TableID:255, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:53.893 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:31:53.894 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:261, Type:rename tables, State:queueing, SchemaState:none, SchemaID:2, TableID:255, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:53.893 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="rename table t_rename11 to t_rename111, t_rename2 to t_rename22"] [2024/05/06 09:31:53.903 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:261, Type:rename tables, State:queueing, SchemaState:none, SchemaID:2, TableID:255, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:53.893 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:53.904 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=261] [conn=3] [category=ddl] [job="ID:261, Type:rename tables, State:queueing, SchemaState:none, SchemaID:2, TableID:255, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:53.893 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:53.905 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:261, Type:rename tables, State:running, SchemaState:public, SchemaID:2, TableID:257, RowCount:0, ArgLen:5, start time: 2024-05-06 09:31:53.893 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:53.906 +00:00] [WARN] [session.go:813] ["can not retry txn"] [label=internal] [error="[kv:9007]Write conflict, txnStartTS=449573791702188032, conflictStartTS=449573791702188033, conflictCommitTS=449573791702450177, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=261}, originalKey=748000fffffffffffe5f728000000000000105, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [IsBatchInsert=false] [IsPessimistic=false] [InRestrictedSQL=true] [tidb_retry_limit=10] [tidb_disable_txn_auto_retry=true] [2024/05/06 09:31:53.906 +00:00] [WARN] [session.go:829] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[kv:9007]Write conflict, txnStartTS=449573791702188032, conflictStartTS=449573791702188033, conflictCommitTS=449573791702450177, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=261}, originalKey=748000fffffffffffe5f728000000000000105, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [2024/05/06 09:31:53.906 +00:00] [INFO] [job_table.go:465] ["handle ddl job failed"] [worker="worker 6, tp general"] [category=ddl] [error="[kv:9007]Write conflict, txnStartTS=449573791702188032, conflictStartTS=449573791702188033, conflictCommitTS=449573791702450177, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=261}, originalKey=748000fffffffffffe5f728000000000000105, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [job="ID:261, Type:rename tables, State:running, SchemaState:public, SchemaID:2, TableID:257, RowCount:0, ArgLen:5, start time: 2024-05-06 09:31:53.893 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:53.909 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:261, Type:rename tables, State:cancelling, SchemaState:none, SchemaID:2, TableID:255, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:53.893 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:53.909 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=261] [conn=3] [category=ddl] [job="ID:261, Type:rename tables, State:cancelling, SchemaState:none, SchemaID:2, TableID:255, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:53.893 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:53.909 +00:00] [INFO] [rollingback.go:559] ["the DDL job is cancelled normally"] [worker="worker 6, tp general"] [category=ddl] [jobID=261] [conn=3] [job="ID:261, Type:rename tables, State:cancelled, SchemaState:none, SchemaID:2, TableID:255, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:53.893 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [error="[ddl:8214]Cancelled DDL job"] [2024/05/06 09:31:53.909 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:261, Type:rename tables, State:cancelled, SchemaState:none, SchemaID:2, TableID:255, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:53.893 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:53.910 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=261] [conn=3] [job="ID:261, Type:rename tables, State:cancelled, SchemaState:none, SchemaID:2, TableID:255, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:53.893 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:53.912 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=261] [2024/05/06 09:31:53.912 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:261, Type:rename tables, State:cancelled, SchemaState:none, SchemaID:2, TableID:255, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:53.893 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:53.912 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 09:31:53.912 +00:00] [WARN] [session.go:2153] ["run statement failed"] [schemaVersion=498] [error="[ddl:8214]Cancelled DDL job"] [errorVerbose="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).DoDDLJob\n\tpkg/ddl/ddl.go:1293\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).renameTables\n\tpkg/ddl/ddl_api.go:7267\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).RenameTable\n\tpkg/ddl/ddl_api.go:7169\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeRenameTable\n\tpkg/executor/ddl.go:254\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:189\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1211\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:960\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:794\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:559\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2280\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:469\ngithub.com/pingcap/tidb/pkg/ddl_test.TestCancel\n\tpkg/ddl/cancel_test.go:289\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 3,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 09:31:53.912 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=498] [cur_db=test] [sql="rename table t_rename11 to t_rename111, t_rename2 to t_rename22"] [user=] [2024/05/06 09:31:53.915 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:262, Type:rename tables, State:queueing, SchemaState:none, SchemaID:2, TableID:255, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:53.914 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:31:53.915 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:262, Type:rename tables, State:queueing, SchemaState:none, SchemaID:2, TableID:255, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:53.914 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="rename table t_rename11 to t_rename111, t_rename2 to t_rename22"] [2024/05/06 09:31:53.922 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:262, Type:rename tables, State:queueing, SchemaState:none, SchemaID:2, TableID:255, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:53.914 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:53.922 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=262] [conn=3] [category=ddl] [job="ID:262, Type:rename tables, State:queueing, SchemaState:none, SchemaID:2, TableID:255, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:53.914 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:53.923 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:262, Type:rename tables, State:running, SchemaState:public, SchemaID:2, TableID:257, RowCount:0, ArgLen:5, start time: 2024-05-06 09:31:53.914 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:53.926 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=498] [neededSchemaVersion=500] ["start time"=328.457µs] [gotSchemaVersion=500] [phyTblIDs="[255,257]"] [actionTypes="[47,47]"] [diffTypes="[\"rename tables\"]"] [2024/05/06 09:31:53.927 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=262] [version=500] [2024/05/06 09:31:53.928 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=500] ["take time"=2.553754ms] [job="ID:262, Type:rename tables, State:running, SchemaState:public, SchemaID:2, TableID:257, RowCount:0, ArgLen:5, start time: 2024-05-06 09:31:53.914 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:53.928 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:262, Type:rename tables, State:running, SchemaState:public, SchemaID:2, TableID:257, RowCount:0, ArgLen:5, start time: 2024-05-06 09:31:53.914 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:53.933 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:262, Type:rename tables, State:running, SchemaState:public, SchemaID:2, TableID:257, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:53.914 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:53.933 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=262] [conn=3] [category=ddl] [job="ID:262, Type:rename tables, State:running, SchemaState:public, SchemaID:2, TableID:257, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:53.914 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:53.933 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:262, Type:rename tables, State:done, SchemaState:public, SchemaID:2, TableID:257, RowCount:0, ArgLen:5, start time: 2024-05-06 09:31:53.914 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:53.936 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=500] [neededSchemaVersion=501] ["start time"=390.768µs] [gotSchemaVersion=501] [phyTblIDs="[255,257]"] [actionTypes="[47,47]"] [diffTypes="[\"rename tables\"]"] [2024/05/06 09:31:53.937 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=262] [version=501] [2024/05/06 09:31:53.937 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=501] ["take time"=2.078742ms] [job="ID:262, Type:rename tables, State:done, SchemaState:public, SchemaID:2, TableID:257, RowCount:0, ArgLen:5, start time: 2024-05-06 09:31:53.914 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:53.938 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:262, Type:rename tables, State:done, SchemaState:public, SchemaID:2, TableID:257, RowCount:0, ArgLen:5, start time: 2024-05-06 09:31:53.914 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:53.942 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=262] [conn=3] [job="ID:262, Type:rename tables, State:synced, SchemaState:public, SchemaID:2, TableID:257, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:53.914 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:53.945 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=262] [2024/05/06 09:31:53.945 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:262, Type:rename tables, State:synced, SchemaState:public, SchemaID:2, TableID:257, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:53.914 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:53.945 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:31:53.946 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=501] [cur_db=test] [sql="create table t_cs(a varchar(10)) charset utf8"] [user=] [2024/05/06 09:31:53.948 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:264, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:263, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:53.947 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:31:53.948 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:264, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:263, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:53.947 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table t_cs(a varchar(10)) charset utf8"] [2024/05/06 09:31:53.955 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:264, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:263, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:53.947 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:53.955 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=264] [conn=3] [category=ddl] [job="ID:264, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:263, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:53.947 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:53.956 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:264, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:263, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:53.947 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:53.958 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=501] [neededSchemaVersion=502] ["start time"=188.948µs] [gotSchemaVersion=502] [phyTblIDs="[263]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:31:53.959 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=264] [version=502] [2024/05/06 09:31:53.959 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=502] ["take time"=2.266584ms] [job="ID:264, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:263, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:53.947 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:53.960 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:264, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:263, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:53.947 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:53.963 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=264] [conn=3] [job="ID:264, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:263, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:53.947 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:53.966 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:264, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:263, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:53.947 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:53.966 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=264] [2024/05/06 09:31:53.966 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:31:53.967 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=502] [cur_db=test] [sql="alter table t_cs convert to charset utf8mb4"] [user=] [2024/05/06 09:31:53.969 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:265, Type:modify table charset and collate, State:queueing, SchemaState:none, SchemaID:2, TableID:263, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:53.968 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:31:53.969 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:265, Type:modify table charset and collate, State:queueing, SchemaState:none, SchemaID:2, TableID:263, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:53.968 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t_cs convert to charset utf8mb4"] [2024/05/06 09:31:53.973 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:265, Type:modify table charset and collate, State:queueing, SchemaState:none, SchemaID:2, TableID:263, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:53.968 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:53.974 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=265] [conn=3] [category=ddl] [job="ID:265, Type:modify table charset and collate, State:queueing, SchemaState:none, SchemaID:2, TableID:263, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:53.968 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:53.975 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:265, Type:modify table charset and collate, State:done, SchemaState:public, SchemaID:2, TableID:263, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:53.968 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:53.976 +00:00] [WARN] [session.go:813] ["can not retry txn"] [label=internal] [error="[kv:9007]Write conflict, txnStartTS=449573791720538112, conflictStartTS=449573791720538113, conflictCommitTS=449573791720800256, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=265}, originalKey=748000fffffffffffe5f728000000000000109, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [IsBatchInsert=false] [IsPessimistic=false] [InRestrictedSQL=true] [tidb_retry_limit=10] [tidb_disable_txn_auto_retry=true] [2024/05/06 09:31:53.976 +00:00] [WARN] [session.go:829] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[kv:9007]Write conflict, txnStartTS=449573791720538112, conflictStartTS=449573791720538113, conflictCommitTS=449573791720800256, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=265}, originalKey=748000fffffffffffe5f728000000000000109, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [2024/05/06 09:31:53.976 +00:00] [INFO] [job_table.go:465] ["handle ddl job failed"] [worker="worker 6, tp general"] [category=ddl] [error="[kv:9007]Write conflict, txnStartTS=449573791720538112, conflictStartTS=449573791720538113, conflictCommitTS=449573791720800256, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=265}, originalKey=748000fffffffffffe5f728000000000000109, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [job="ID:265, Type:modify table charset and collate, State:done, SchemaState:public, SchemaID:2, TableID:263, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:53.968 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:53.979 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:265, Type:modify table charset and collate, State:cancelling, SchemaState:none, SchemaID:2, TableID:263, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:53.968 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:53.979 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=265] [conn=3] [category=ddl] [job="ID:265, Type:modify table charset and collate, State:cancelling, SchemaState:none, SchemaID:2, TableID:263, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:53.968 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:53.979 +00:00] [INFO] [rollingback.go:559] ["the DDL job is cancelled normally"] [worker="worker 6, tp general"] [category=ddl] [jobID=265] [conn=3] [job="ID:265, Type:modify table charset and collate, State:cancelled, SchemaState:none, SchemaID:2, TableID:263, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:53.968 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [error="[ddl:8214]Cancelled DDL job"] [2024/05/06 09:31:53.979 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:265, Type:modify table charset and collate, State:cancelled, SchemaState:none, SchemaID:2, TableID:263, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:53.968 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:53.980 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=265] [conn=3] [job="ID:265, Type:modify table charset and collate, State:cancelled, SchemaState:none, SchemaID:2, TableID:263, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:53.968 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:53.982 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:265, Type:modify table charset and collate, State:cancelled, SchemaState:none, SchemaID:2, TableID:263, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:53.968 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:53.982 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=265] [2024/05/06 09:31:53.982 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 09:31:53.982 +00:00] [WARN] [session.go:2153] ["run statement failed"] [schemaVersion=502] [error="[ddl:8214]Cancelled DDL job"] [errorVerbose="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).DoDDLJob\n\tpkg/ddl/ddl.go:1293\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AlterTableCharsetAndCollate\n\tpkg/ddl/ddl_api.go:6496\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AlterTable\n\tpkg/ddl/ddl_api.go:4008\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeAlterTable\n\tpkg/executor/ddl.go:388\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:152\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1211\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:960\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:794\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:559\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2280\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:469\ngithub.com/pingcap/tidb/pkg/ddl_test.TestCancel\n\tpkg/ddl/cancel_test.go:289\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 3,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 09:31:53.982 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=502] [cur_db=test] [sql="alter table t_cs convert to charset utf8mb4"] [user=] [2024/05/06 09:31:53.984 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:266, Type:modify table charset and collate, State:queueing, SchemaState:none, SchemaID:2, TableID:263, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:53.983 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:31:53.984 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:266, Type:modify table charset and collate, State:queueing, SchemaState:none, SchemaID:2, TableID:263, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:53.983 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t_cs convert to charset utf8mb4"] [2024/05/06 09:31:53.987 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:266, Type:modify table charset and collate, State:queueing, SchemaState:none, SchemaID:2, TableID:263, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:53.983 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:53.988 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=266] [conn=3] [category=ddl] [job="ID:266, Type:modify table charset and collate, State:queueing, SchemaState:none, SchemaID:2, TableID:263, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:53.983 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:53.988 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:266, Type:modify table charset and collate, State:done, SchemaState:public, SchemaID:2, TableID:263, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:53.983 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:53.990 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=502] [neededSchemaVersion=504] ["start time"=253.072µs] [gotSchemaVersion=504] [phyTblIDs="[263]"] [actionTypes="[22]"] [diffTypes="[\"modify table charset and collate\"]"] [2024/05/06 09:31:53.991 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=266] [version=504] [2024/05/06 09:31:53.992 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=504] ["take time"=2.16995ms] [job="ID:266, Type:modify table charset and collate, State:done, SchemaState:public, SchemaID:2, TableID:263, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:53.983 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:53.992 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:266, Type:modify table charset and collate, State:done, SchemaState:public, SchemaID:2, TableID:263, RowCount:0, ArgLen:3, start time: 2024-05-06 09:31:53.983 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:53.999 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=266] [conn=3] [job="ID:266, Type:modify table charset and collate, State:synced, SchemaState:public, SchemaID:2, TableID:263, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:53.983 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:54.001 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=266] [2024/05/06 09:31:54.001 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:31:54.001 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:266, Type:modify table charset and collate, State:synced, SchemaState:public, SchemaID:2, TableID:263, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:53.983 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:54.002 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=504] [cur_db=test] [sql="create database db_coll default charset utf8 collate utf8_bin"] [user=] [2024/05/06 09:31:54.004 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:268, Type:create schema, State:queueing, SchemaState:none, SchemaID:267, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:54.003 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:31:54.004 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:268, Type:create schema, State:queueing, SchemaState:none, SchemaID:267, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:54.003 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create database db_coll default charset utf8 collate utf8_bin"] [2024/05/06 09:31:54.010 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:268, Type:create schema, State:queueing, SchemaState:none, SchemaID:267, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.003 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:54.011 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=268] [conn=3] [category=ddl] [job="ID:268, Type:create schema, State:queueing, SchemaState:none, SchemaID:267, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.003 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:54.011 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:268, Type:create schema, State:done, SchemaState:public, SchemaID:267, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:54.003 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:54.013 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=504] [neededSchemaVersion=505] ["start time"=63.498µs] [gotSchemaVersion=505] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2024/05/06 09:31:54.015 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=268] [version=505] [2024/05/06 09:31:54.016 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=505] ["take time"=4.257681ms] [job="ID:268, Type:create schema, State:done, SchemaState:public, SchemaID:267, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:54.003 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:54.017 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:268, Type:create schema, State:done, SchemaState:public, SchemaID:267, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:54.003 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:54.021 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=268] [conn=3] [job="ID:268, Type:create schema, State:synced, SchemaState:public, SchemaID:267, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.003 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:54.027 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:268, Type:create schema, State:synced, SchemaState:public, SchemaID:267, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.003 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:54.027 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=268] [2024/05/06 09:31:54.027 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:31:54.029 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:269, Type:modify schema charset and collate, State:queueing, SchemaState:none, SchemaID:267, TableID:0, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:54.028 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:31:54.029 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:269, Type:modify schema charset and collate, State:queueing, SchemaState:none, SchemaID:267, TableID:0, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:54.028 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter database db_coll charset utf8mb4 collate utf8mb4_bin"] [2024/05/06 09:31:54.037 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:269, Type:modify schema charset and collate, State:queueing, SchemaState:none, SchemaID:267, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.028 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:54.039 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=269] [conn=3] [category=ddl] [job="ID:269, Type:modify schema charset and collate, State:queueing, SchemaState:none, SchemaID:267, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.028 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:54.039 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:269, Type:modify schema charset and collate, State:done, SchemaState:public, SchemaID:267, TableID:0, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:54.028 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:54.040 +00:00] [WARN] [session.go:813] ["can not retry txn"] [label=internal] [error="[kv:9007]Write conflict, txnStartTS=449573791737315328, conflictStartTS=449573791737315329, conflictCommitTS=449573791737577473, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=269}, originalKey=748000fffffffffffe5f72800000000000010d, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [IsBatchInsert=false] [IsPessimistic=false] [InRestrictedSQL=true] [tidb_retry_limit=10] [tidb_disable_txn_auto_retry=true] [2024/05/06 09:31:54.041 +00:00] [WARN] [session.go:829] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[kv:9007]Write conflict, txnStartTS=449573791737315328, conflictStartTS=449573791737315329, conflictCommitTS=449573791737577473, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=269}, originalKey=748000fffffffffffe5f72800000000000010d, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [2024/05/06 09:31:54.041 +00:00] [INFO] [job_table.go:465] ["handle ddl job failed"] [worker="worker 6, tp general"] [category=ddl] [error="[kv:9007]Write conflict, txnStartTS=449573791737315328, conflictStartTS=449573791737315329, conflictCommitTS=449573791737577473, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=269}, originalKey=748000fffffffffffe5f72800000000000010d, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [job="ID:269, Type:modify schema charset and collate, State:done, SchemaState:public, SchemaID:267, TableID:0, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:54.028 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:54.044 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:269, Type:modify schema charset and collate, State:cancelling, SchemaState:none, SchemaID:267, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.028 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:54.044 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=269] [conn=3] [category=ddl] [job="ID:269, Type:modify schema charset and collate, State:cancelling, SchemaState:none, SchemaID:267, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.028 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:54.044 +00:00] [INFO] [rollingback.go:559] ["the DDL job is cancelled normally"] [worker="worker 6, tp general"] [category=ddl] [jobID=269] [conn=3] [job="ID:269, Type:modify schema charset and collate, State:cancelled, SchemaState:none, SchemaID:267, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.028 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [error="[ddl:8214]Cancelled DDL job"] [2024/05/06 09:31:54.044 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:269, Type:modify schema charset and collate, State:cancelled, SchemaState:none, SchemaID:267, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.028 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:54.044 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=269] [conn=3] [job="ID:269, Type:modify schema charset and collate, State:cancelled, SchemaState:none, SchemaID:267, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.028 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:54.054 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:269, Type:modify schema charset and collate, State:cancelled, SchemaState:none, SchemaID:267, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.028 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:54.057 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=269] [2024/05/06 09:31:54.057 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 09:31:54.058 +00:00] [WARN] [session.go:2153] ["run statement failed"] [schemaVersion=505] [error="[ddl:8214]Cancelled DDL job"] [errorVerbose="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).DoDDLJob\n\tpkg/ddl/ddl.go:1293\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).ModifySchemaCharsetAndCollate\n\tpkg/ddl/ddl_api.go:264\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AlterSchema\n\tpkg/ddl/ddl_api.go:606\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeAlterDatabase\n\tpkg/executor/ddl.go:263\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:150\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1211\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:960\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:794\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:559\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2280\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:469\ngithub.com/pingcap/tidb/pkg/ddl_test.TestCancel\n\tpkg/ddl/cancel_test.go:289\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 3,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 09:31:54.061 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:270, Type:modify schema charset and collate, State:queueing, SchemaState:none, SchemaID:267, TableID:0, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:54.06 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:31:54.061 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:270, Type:modify schema charset and collate, State:queueing, SchemaState:none, SchemaID:267, TableID:0, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:54.06 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter database db_coll charset utf8mb4 collate utf8mb4_bin"] [2024/05/06 09:31:54.069 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:270, Type:modify schema charset and collate, State:queueing, SchemaState:none, SchemaID:267, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.06 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:54.069 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=270] [conn=3] [category=ddl] [job="ID:270, Type:modify schema charset and collate, State:queueing, SchemaState:none, SchemaID:267, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.06 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:54.073 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:270, Type:modify schema charset and collate, State:done, SchemaState:public, SchemaID:267, TableID:0, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:54.06 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:54.075 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=505] [neededSchemaVersion=507] ["start time"=89.817µs] [gotSchemaVersion=507] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"modify schema charset and collate\"]"] [2024/05/06 09:31:54.076 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=270] [version=507] [2024/05/06 09:31:54.078 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=507] ["take time"=2.77264ms] [job="ID:270, Type:modify schema charset and collate, State:done, SchemaState:public, SchemaID:267, TableID:0, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:54.06 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:54.078 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:270, Type:modify schema charset and collate, State:done, SchemaState:public, SchemaID:267, TableID:0, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:54.06 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:54.083 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=270] [conn=3] [job="ID:270, Type:modify schema charset and collate, State:synced, SchemaState:public, SchemaID:267, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.06 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:54.085 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=270] [2024/05/06 09:31:54.085 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:31:54.085 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:270, Type:modify schema charset and collate, State:synced, SchemaState:public, SchemaID:267, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.06 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:54.086 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=507] [cur_db=test] [sql="alter table t_partition truncate partition p3"] [user=] [2024/05/06 09:31:54.088 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:272, Type:truncate partition, State:queueing, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:54.087 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:31:54.088 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:272, Type:truncate partition, State:queueing, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:54.087 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t_partition truncate partition p3"] [2024/05/06 09:31:54.105 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:272, Type:truncate partition, State:queueing, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.087 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:54.107 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=272] [conn=3] [category=ddl] [job="ID:272, Type:truncate partition, State:queueing, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.087 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:54.107 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:272, Type:truncate partition, State:done, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:54.087 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:54.108 +00:00] [WARN] [session.go:813] ["can not retry txn"] [label=internal] [error="[kv:9007]Write conflict, txnStartTS=449573791755141122, conflictStartTS=449573791755403264, conflictCommitTS=449573791755665408, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=272}, originalKey=748000fffffffffffe5f728000000000000110, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [IsBatchInsert=false] [IsPessimistic=false] [InRestrictedSQL=true] [tidb_retry_limit=10] [tidb_disable_txn_auto_retry=true] [2024/05/06 09:31:54.109 +00:00] [WARN] [session.go:829] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[kv:9007]Write conflict, txnStartTS=449573791755141122, conflictStartTS=449573791755403264, conflictCommitTS=449573791755665408, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=272}, originalKey=748000fffffffffffe5f728000000000000110, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [2024/05/06 09:31:54.109 +00:00] [INFO] [job_table.go:465] ["handle ddl job failed"] [worker="worker 6, tp general"] [category=ddl] [error="[kv:9007]Write conflict, txnStartTS=449573791755141122, conflictStartTS=449573791755403264, conflictCommitTS=449573791755665408, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=272}, originalKey=748000fffffffffffe5f728000000000000110, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [job="ID:272, Type:truncate partition, State:done, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:54.087 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:54.112 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:272, Type:truncate partition, State:cancelling, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.087 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:54.112 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=272] [conn=3] [category=ddl] [job="ID:272, Type:truncate partition, State:cancelling, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.087 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:54.112 +00:00] [INFO] [rollingback.go:559] ["the DDL job is cancelled normally"] [worker="worker 6, tp general"] [category=ddl] [jobID=272] [conn=3] [job="ID:272, Type:truncate partition, State:cancelled, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.087 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [error="[ddl:8214]Cancelled DDL job"] [2024/05/06 09:31:54.112 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:272, Type:truncate partition, State:cancelled, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.087 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:54.113 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=272] [conn=3] [job="ID:272, Type:truncate partition, State:cancelled, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.087 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:54.115 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=272] [2024/05/06 09:31:54.115 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:272, Type:truncate partition, State:cancelled, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.087 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:54.115 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 09:31:54.115 +00:00] [WARN] [session.go:2153] ["run statement failed"] [schemaVersion=507] [error="[ddl:8214]Cancelled DDL job"] [errorVerbose="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).DoDDLJob\n\tpkg/ddl/ddl.go:1293\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).TruncateTablePartition\n\tpkg/ddl/ddl_api.go:5025\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AlterTable\n\tpkg/ddl/ddl_api.go:3910\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeAlterTable\n\tpkg/executor/ddl.go:388\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:152\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1211\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:960\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:794\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:559\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2280\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:469\ngithub.com/pingcap/tidb/pkg/ddl_test.TestCancel\n\tpkg/ddl/cancel_test.go:289\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 3,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 09:31:54.116 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=507] [cur_db=test] [sql="alter table t_partition truncate partition p3"] [user=] [2024/05/06 09:31:54.118 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:274, Type:truncate partition, State:queueing, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:54.117 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:31:54.118 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:274, Type:truncate partition, State:queueing, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:54.117 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t_partition truncate partition p3"] [2024/05/06 09:31:54.129 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:274, Type:truncate partition, State:queueing, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.117 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:54.129 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=274] [conn=3] [category=ddl] [job="ID:274, Type:truncate partition, State:queueing, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.117 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:54.130 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:274, Type:truncate partition, State:done, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:54.117 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:54.138 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=507] [neededSchemaVersion=509] ["start time"=6.084897ms] [gotSchemaVersion=509] [phyTblIDs="[108]"] [actionTypes="[23]"] [diffTypes="[\"truncate partition\"]"] [2024/05/06 09:31:54.139 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=274] [version=509] [2024/05/06 09:31:54.141 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=509] ["take time"=9.013638ms] [job="ID:274, Type:truncate partition, State:done, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:54.117 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:54.141 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:274, Type:truncate partition, State:done, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:54.117 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:54.146 +00:00] [INFO] [delete_range.go:447] ["insert into delete-range table"] [category=ddl] [jobID=274] [tableIDs="[108]"] [comment="drop partition: physical table ID(s)"] [2024/05/06 09:31:54.147 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=274] [jobType="truncate partition"] [2024/05/06 09:31:54.147 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=274] [conn=3] [job="ID:274, Type:truncate partition, State:synced, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:54.117 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:54.150 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:274, Type:truncate partition, State:synced, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:54.117 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:54.152 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=274] [2024/05/06 09:31:54.152 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:31:54.152 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=509] [cur_db=test] [sql="alter table t_partition truncate partition p3"] [user=] [2024/05/06 09:31:54.153 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=274] [elementID=1] [startKey=74800000000000006c] [endKey=74800000000000006d] [2024/05/06 09:31:54.155 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:276, Type:truncate partition, State:queueing, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:54.154 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:31:54.155 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:276, Type:truncate partition, State:queueing, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:54.154 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t_partition truncate partition p3"] [2024/05/06 09:31:54.161 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:276, Type:truncate partition, State:queueing, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.154 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:54.161 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=276] [conn=3] [category=ddl] [job="ID:276, Type:truncate partition, State:queueing, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.154 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:54.161 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:276, Type:truncate partition, State:done, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:54.154 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:54.172 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=509] [neededSchemaVersion=510] ["start time"=8.469844ms] [gotSchemaVersion=510] [phyTblIDs="[273]"] [actionTypes="[23]"] [diffTypes="[\"truncate partition\"]"] [2024/05/06 09:31:54.173 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=276] [version=510] [2024/05/06 09:31:54.177 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=510] ["take time"=13.709653ms] [job="ID:276, Type:truncate partition, State:done, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:54.154 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:54.179 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:276, Type:truncate partition, State:done, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:54.154 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:54.184 +00:00] [INFO] [delete_range.go:447] ["insert into delete-range table"] [category=ddl] [jobID=276] [tableIDs="[273]"] [comment="drop partition: physical table ID(s)"] [2024/05/06 09:31:54.185 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=276] [jobType="truncate partition"] [2024/05/06 09:31:54.185 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=276] [conn=3] [job="ID:276, Type:truncate partition, State:synced, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:54.154 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:54.188 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:276, Type:truncate partition, State:synced, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:54.154 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:54.189 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=276] [elementID=1] [startKey=748000000000000111] [endKey=748000000000000112] [2024/05/06 09:31:54.190 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=276] [2024/05/06 09:31:54.190 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:31:54.190 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=510] [cur_db=test] [sql="alter table t_partition truncate partition p3"] [user=] [2024/05/06 09:31:54.192 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:278, Type:truncate partition, State:queueing, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:54.191 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:31:54.192 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:278, Type:truncate partition, State:queueing, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:54.191 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t_partition truncate partition p3"] [2024/05/06 09:31:54.197 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:278, Type:truncate partition, State:queueing, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.191 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:54.197 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=278] [conn=3] [category=ddl] [job="ID:278, Type:truncate partition, State:queueing, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.191 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:54.198 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:278, Type:truncate partition, State:done, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:54.191 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:54.207 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=510] [neededSchemaVersion=511] ["start time"=7.312771ms] [gotSchemaVersion=511] [phyTblIDs="[275]"] [actionTypes="[23]"] [diffTypes="[\"truncate partition\"]"] [2024/05/06 09:31:54.208 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=278] [version=511] [2024/05/06 09:31:54.210 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=511] ["take time"=10.939459ms] [job="ID:278, Type:truncate partition, State:done, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:54.191 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:54.211 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:278, Type:truncate partition, State:done, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:54.191 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:54.214 +00:00] [INFO] [delete_range.go:447] ["insert into delete-range table"] [category=ddl] [jobID=278] [tableIDs="[275]"] [comment="drop partition: physical table ID(s)"] [2024/05/06 09:31:54.215 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=278] [jobType="truncate partition"] [2024/05/06 09:31:54.215 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=278] [conn=3] [job="ID:278, Type:truncate partition, State:synced, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:54.191 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:54.217 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=278] [elementID=1] [startKey=748000000000000113] [endKey=748000000000000114] [2024/05/06 09:31:54.218 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:278, Type:truncate partition, State:synced, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:54.191 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:54.219 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=278] [2024/05/06 09:31:54.219 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:31:54.220 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=511] [cur_db=test] [sql="alter table t_partition truncate partition p3"] [user=] [2024/05/06 09:31:54.222 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:280, Type:truncate partition, State:queueing, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:54.221 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:31:54.222 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:280, Type:truncate partition, State:queueing, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:54.221 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t_partition truncate partition p3"] [2024/05/06 09:31:54.226 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:280, Type:truncate partition, State:queueing, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.221 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:54.226 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=280] [conn=3] [category=ddl] [job="ID:280, Type:truncate partition, State:queueing, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.221 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:54.227 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:280, Type:truncate partition, State:done, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:54.221 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:54.235 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=511] [neededSchemaVersion=512] ["start time"=6.664603ms] [gotSchemaVersion=512] [phyTblIDs="[277]"] [actionTypes="[23]"] [diffTypes="[\"truncate partition\"]"] [2024/05/06 09:31:54.236 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=280] [version=512] [2024/05/06 09:31:54.239 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=512] ["take time"=10.595152ms] [job="ID:280, Type:truncate partition, State:done, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:54.221 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:54.240 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:280, Type:truncate partition, State:done, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:54.221 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:54.243 +00:00] [INFO] [delete_range.go:447] ["insert into delete-range table"] [category=ddl] [jobID=280] [tableIDs="[277]"] [comment="drop partition: physical table ID(s)"] [2024/05/06 09:31:54.244 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=280] [jobType="truncate partition"] [2024/05/06 09:31:54.244 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=280] [conn=3] [job="ID:280, Type:truncate partition, State:synced, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:54.221 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:54.246 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=280] [elementID=1] [startKey=748000000000000115] [endKey=748000000000000116] [2024/05/06 09:31:54.247 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:280, Type:truncate partition, State:synced, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:54.221 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:54.249 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=280] [2024/05/06 09:31:54.249 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:31:54.249 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=512] [cur_db=test] [sql="alter table t_partition truncate partition p3"] [user=] [2024/05/06 09:31:54.251 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:282, Type:truncate partition, State:queueing, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:54.25 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:31:54.251 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:282, Type:truncate partition, State:queueing, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:54.25 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t_partition truncate partition p3"] [2024/05/06 09:31:54.259 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:282, Type:truncate partition, State:queueing, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.25 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:54.259 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=282] [conn=3] [category=ddl] [job="ID:282, Type:truncate partition, State:queueing, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.25 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:54.260 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:282, Type:truncate partition, State:done, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:54.25 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:54.269 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=512] [neededSchemaVersion=513] ["start time"=7.887795ms] [gotSchemaVersion=513] [phyTblIDs="[279]"] [actionTypes="[23]"] [diffTypes="[\"truncate partition\"]"] [2024/05/06 09:31:54.271 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=282] [version=513] [2024/05/06 09:31:54.272 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=513] ["take time"=10.336293ms] [job="ID:282, Type:truncate partition, State:done, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:54.25 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:54.273 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:282, Type:truncate partition, State:done, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:54.25 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:54.276 +00:00] [INFO] [delete_range.go:447] ["insert into delete-range table"] [category=ddl] [jobID=282] [tableIDs="[279]"] [comment="drop partition: physical table ID(s)"] [2024/05/06 09:31:54.277 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=282] [jobType="truncate partition"] [2024/05/06 09:31:54.277 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=282] [conn=3] [job="ID:282, Type:truncate partition, State:synced, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:54.25 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:54.281 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:282, Type:truncate partition, State:synced, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:54.25 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:54.281 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=282] [elementID=1] [startKey=748000000000000117] [endKey=748000000000000118] [2024/05/06 09:31:54.283 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=282] [2024/05/06 09:31:54.284 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:31:54.284 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=513] [cur_db=test] [sql="alter table t_partition truncate partition p3"] [user=] [2024/05/06 09:31:54.286 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:284, Type:truncate partition, State:queueing, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:54.285 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:31:54.286 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:284, Type:truncate partition, State:queueing, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 09:31:54.285 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t_partition truncate partition p3"] [2024/05/06 09:31:54.290 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:284, Type:truncate partition, State:queueing, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.285 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:54.290 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=284] [conn=3] [category=ddl] [job="ID:284, Type:truncate partition, State:queueing, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.285 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:54.291 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:284, Type:truncate partition, State:done, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:54.285 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:54.306 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=513] [neededSchemaVersion=514] ["start time"=8.066581ms] [gotSchemaVersion=514] [phyTblIDs="[281]"] [actionTypes="[23]"] [diffTypes="[\"truncate partition\"]"] [2024/05/06 09:31:54.308 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=284] [version=514] [2024/05/06 09:31:54.309 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=514] ["take time"=11.022562ms] [job="ID:284, Type:truncate partition, State:done, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:54.285 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:54.310 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:284, Type:truncate partition, State:done, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:54.285 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:54.315 +00:00] [INFO] [delete_range.go:447] ["insert into delete-range table"] [category=ddl] [jobID=284] [tableIDs="[281]"] [comment="drop partition: physical table ID(s)"] [2024/05/06 09:31:54.316 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=284] [jobType="truncate partition"] [2024/05/06 09:31:54.316 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=284] [conn=3] [job="ID:284, Type:truncate partition, State:synced, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:54.285 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:54.318 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:284, Type:truncate partition, State:synced, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:54.285 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:31:54.319 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=284] [elementID=1] [startKey=748000000000000119] [endKey=74800000000000011a] [2024/05/06 09:31:54.321 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=284] [2024/05/06 09:31:54.321 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:31:54.321 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=514] [cur_db=test] [sql="alter table t add column c41 bigint, add column c42 bigint"] [user=] [2024/05/06 09:31:54.324 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:285, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.322 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 09:31:54.324 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:285, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.322 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add column c41 bigint, add column c42 bigint"] [2024/05/06 09:31:54.329 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:285, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.322 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.331 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=285] [conn=3] [category=ddl] [job="ID:285, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.322 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 09:31:54.331 +00:00] [INFO] [column.go:135] ["run add column job"] [category=ddl] [job="ID:285, Type:add column, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:54.322 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [columnInfo="{\"id\":33,\"name\":{\"O\":\"c41\",\"L\":\"c41\"},\"offset\":5,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{},\"state\":0,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2}"] [2024/05/06 09:31:54.332 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:285, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.322 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.333 +00:00] [WARN] [session.go:813] ["can not retry txn"] [label=internal] [error="[kv:9007]Write conflict, txnStartTS=449573791813861376, conflictStartTS=449573791813861377, conflictCommitTS=449573791814385664, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=285}, originalKey=748000fffffffffffe5f72800000000000011d, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [IsBatchInsert=false] [IsPessimistic=false] [InRestrictedSQL=true] [tidb_retry_limit=10] [tidb_disable_txn_auto_retry=true] [2024/05/06 09:31:54.333 +00:00] [WARN] [session.go:829] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[kv:9007]Write conflict, txnStartTS=449573791813861376, conflictStartTS=449573791813861377, conflictCommitTS=449573791814385664, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=285}, originalKey=748000fffffffffffe5f72800000000000011d, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [2024/05/06 09:31:54.333 +00:00] [INFO] [job_table.go:465] ["handle ddl job failed"] [worker="worker 6, tp general"] [category=ddl] [error="[kv:9007]Write conflict, txnStartTS=449573791813861376, conflictStartTS=449573791813861377, conflictCommitTS=449573791814385664, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=285}, originalKey=748000fffffffffffe5f72800000000000011d, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [job="ID:285, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.322 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.337 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:285, Type:alter table multi-schema change, State:cancelling, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.322 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.337 +00:00] [INFO] [rollingback.go:559] ["the DDL job is cancelled normally"] [worker="worker 6, tp general"] [category=ddl] [jobID=285] [conn=3] [job="ID:285, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.322 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [error="[ddl:8214]Cancelled DDL job"] [2024/05/06 09:31:54.337 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:285, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.322 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.338 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=285] [2024/05/06 09:31:54.339 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:285, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.322 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.342 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:285, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.322 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.342 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:285, Type:alter table multi-schema change, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.322 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.342 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=285] [2024/05/06 09:31:54.343 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:285, Type:alter table multi-schema change, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.322 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.346 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=285] [conn=3] [job="ID:285, Type:alter table multi-schema change, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.322 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.348 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=285] [2024/05/06 09:31:54.349 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=285] [2024/05/06 09:31:54.349 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:285, Type:alter table multi-schema change, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.322 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.349 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 09:31:54.349 +00:00] [WARN] [session.go:2153] ["run statement failed"] [schemaVersion=514] [error="[ddl:8214]Cancelled DDL job"] [errorVerbose="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).DoDDLJob\n\tpkg/ddl/ddl.go:1293\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).MultiSchemaChange\n\tpkg/ddl/multi_schema_change.go:66\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AlterTable\n\tpkg/ddl/ddl_api.go:4095\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeAlterTable\n\tpkg/executor/ddl.go:388\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:152\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1211\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:960\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:794\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:559\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2280\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:469\ngithub.com/pingcap/tidb/pkg/ddl_test.TestCancel\n\tpkg/ddl/cancel_test.go:289\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 3,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 09:31:54.349 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=514] [cur_db=test] [sql="alter table t add column c41 bigint, add column c42 bigint"] [user=] [2024/05/06 09:31:54.352 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:286, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.351 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 09:31:54.352 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:286, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.351 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add column c41 bigint, add column c42 bigint"] [2024/05/06 09:31:54.360 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:286, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.351 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.360 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=286] [conn=3] [category=ddl] [job="ID:286, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.351 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 09:31:54.360 +00:00] [INFO] [column.go:135] ["run add column job"] [category=ddl] [job="ID:286, Type:add column, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:54.351 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [columnInfo="{\"id\":33,\"name\":{\"O\":\"c41\",\"L\":\"c41\"},\"offset\":5,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{},\"state\":0,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2}"] [2024/05/06 09:31:54.360 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:286, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.351 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.362 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=514] [neededSchemaVersion=516] ["start time"=490.396µs] [gotSchemaVersion=516] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:54.363 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=286] [version=516] [2024/05/06 09:31:54.364 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=516] ["take time"=2.031097ms] [job="ID:286, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.351 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.364 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:286, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.351 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.368 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:286, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.351 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.370 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=286] [conn=3] [category=ddl] [job="ID:286, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.351 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 09:31:54.371 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:286, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.351 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.372 +00:00] [WARN] [session.go:813] ["can not retry txn"] [label=internal] [error="[kv:9007]Write conflict, txnStartTS=449573791824084993, conflictStartTS=449573791824084994, conflictCommitTS=449573791824347136, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=286}, originalKey=748000fffffffffffe5f72800000000000011e, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [IsBatchInsert=false] [IsPessimistic=false] [InRestrictedSQL=true] [tidb_retry_limit=10] [tidb_disable_txn_auto_retry=true] [2024/05/06 09:31:54.372 +00:00] [WARN] [session.go:829] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[kv:9007]Write conflict, txnStartTS=449573791824084993, conflictStartTS=449573791824084994, conflictCommitTS=449573791824347136, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=286}, originalKey=748000fffffffffffe5f72800000000000011e, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [2024/05/06 09:31:54.372 +00:00] [INFO] [job_table.go:465] ["handle ddl job failed"] [worker="worker 6, tp general"] [category=ddl] [error="[kv:9007]Write conflict, txnStartTS=449573791824084993, conflictStartTS=449573791824084994, conflictCommitTS=449573791824347136, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=286}, originalKey=748000fffffffffffe5f72800000000000011e, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [job="ID:286, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.351 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.375 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:286, Type:alter table multi-schema change, State:cancelling, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.351 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.375 +00:00] [INFO] [rollingback.go:559] ["the DDL job is cancelled normally"] [worker="worker 6, tp general"] [category=ddl] [jobID=286] [conn=3] [job="ID:286, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.351 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [error="[ddl:8214]Cancelled DDL job"] [2024/05/06 09:31:54.375 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:286, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.351 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.376 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=286] [2024/05/06 09:31:54.377 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:286, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.351 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.380 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:286, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.351 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.380 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=286] [conn=3] [category=ddl] [job="ID:286, Type:add column, State:cancelling, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.351 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 09:31:54.381 +00:00] [INFO] [rollingback.go:559] ["the DDL job is cancelled normally"] [worker="worker 6, tp general"] [category=ddl] [jobID=286] [conn=3] [job="ID:286, Type:add column, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:54.351 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [error="[ddl:8214]Cancelled DDL job"] [2024/05/06 09:31:54.381 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:286, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.351 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.382 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=286] [2024/05/06 09:31:54.382 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:286, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.351 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.385 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:286, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.351 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.385 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=286] [conn=3] [category=ddl] [job="ID:286, Type:add column, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.351 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 09:31:54.385 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:286, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.351 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.387 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=516] [neededSchemaVersion=518] ["start time"=460.047µs] [gotSchemaVersion=518] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:54.389 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=286] [version=518] [2024/05/06 09:31:54.390 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=518] ["take time"=2.779258ms] [job="ID:286, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.351 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.390 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:286, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.351 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.394 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:286, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.351 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.394 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=286] [conn=3] [category=ddl] [job="ID:286, Type:add column, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.351 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 09:31:54.395 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:286, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.351 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.397 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=518] [neededSchemaVersion=519] ["start time"=448.98µs] [gotSchemaVersion=519] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:54.398 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=286] [version=519] [2024/05/06 09:31:54.399 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=519] ["take time"=2.063348ms] [job="ID:286, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.351 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.399 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:286, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.351 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.403 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:286, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.351 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.403 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:286, Type:alter table multi-schema change, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.351 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.404 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=286] [2024/05/06 09:31:54.405 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:286, Type:alter table multi-schema change, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.351 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.409 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=286] [conn=3] [job="ID:286, Type:alter table multi-schema change, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.351 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.411 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=286] [2024/05/06 09:31:54.411 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:286, Type:alter table multi-schema change, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.351 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.411 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=286] [2024/05/06 09:31:54.411 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 09:31:54.411 +00:00] [WARN] [session.go:2153] ["run statement failed"] [schemaVersion=514] [error="[ddl:8214]Cancelled DDL job"] [errorVerbose="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).DoDDLJob\n\tpkg/ddl/ddl.go:1293\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).MultiSchemaChange\n\tpkg/ddl/multi_schema_change.go:66\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AlterTable\n\tpkg/ddl/ddl_api.go:4095\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeAlterTable\n\tpkg/executor/ddl.go:388\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:152\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1211\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:960\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:794\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:559\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2280\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:469\ngithub.com/pingcap/tidb/pkg/ddl_test.TestCancel\n\tpkg/ddl/cancel_test.go:289\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 3,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 09:31:54.412 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=519] [cur_db=test] [sql="alter table t add column c41 bigint, add column c42 bigint"] [user=] [2024/05/06 09:31:54.414 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:287, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.413 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 09:31:54.414 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:287, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.413 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add column c41 bigint, add column c42 bigint"] [2024/05/06 09:31:54.421 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:287, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.413 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.421 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=287] [conn=3] [category=ddl] [job="ID:287, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.413 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 09:31:54.421 +00:00] [INFO] [column.go:135] ["run add column job"] [category=ddl] [job="ID:287, Type:add column, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:54.413 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [columnInfo="{\"id\":34,\"name\":{\"O\":\"c41\",\"L\":\"c41\"},\"offset\":5,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{},\"state\":0,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2}"] [2024/05/06 09:31:54.422 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:287, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.413 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.424 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=519] [neededSchemaVersion=520] ["start time"=462.813µs] [gotSchemaVersion=520] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:54.425 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=287] [version=520] [2024/05/06 09:31:54.425 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=520] ["take time"=2.02975ms] [job="ID:287, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.413 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.426 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:287, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.413 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.430 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:287, Type:alter table multi-schema change, State:cancelling, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.413 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.430 +00:00] [INFO] [rollingback.go:559] ["the DDL job is cancelled normally"] [worker="worker 6, tp general"] [category=ddl] [jobID=287] [conn=3] [job="ID:287, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.413 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [error="[ddl:8214]Cancelled DDL job"] [2024/05/06 09:31:54.430 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:287, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.413 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.431 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=287] [2024/05/06 09:31:54.432 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:287, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.413 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.434 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:287, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.413 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.435 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=287] [conn=3] [category=ddl] [job="ID:287, Type:add column, State:cancelling, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.413 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 09:31:54.435 +00:00] [INFO] [rollingback.go:559] ["the DDL job is cancelled normally"] [worker="worker 6, tp general"] [category=ddl] [jobID=287] [conn=3] [job="ID:287, Type:add column, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:54.413 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [error="[ddl:8214]Cancelled DDL job"] [2024/05/06 09:31:54.435 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:287, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.413 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.436 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=287] [2024/05/06 09:31:54.436 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:287, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.413 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.439 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:287, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.413 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.439 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=287] [conn=3] [category=ddl] [job="ID:287, Type:add column, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.413 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 09:31:54.440 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:287, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.413 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.441 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=520] [neededSchemaVersion=521] ["start time"=444.077µs] [gotSchemaVersion=521] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:54.443 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=287] [version=521] [2024/05/06 09:31:54.443 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=521] ["take time"=2.055945ms] [job="ID:287, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.413 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.444 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:287, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.413 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.446 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:287, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.413 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.446 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=287] [conn=3] [category=ddl] [job="ID:287, Type:add column, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.413 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 09:31:54.447 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:287, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.413 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.450 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=521] [neededSchemaVersion=522] ["start time"=427.343µs] [gotSchemaVersion=522] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:54.451 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=287] [version=522] [2024/05/06 09:31:54.452 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=522] ["take time"=2.625207ms] [job="ID:287, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.413 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.453 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:287, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.413 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.457 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:287, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.413 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.457 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:287, Type:alter table multi-schema change, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.413 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.458 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=287] [2024/05/06 09:31:54.459 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:287, Type:alter table multi-schema change, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.413 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.462 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=287] [conn=3] [job="ID:287, Type:alter table multi-schema change, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.413 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.465 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=287] [2024/05/06 09:31:54.466 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:287, Type:alter table multi-schema change, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.413 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.466 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=287] [2024/05/06 09:31:54.466 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 09:31:54.466 +00:00] [WARN] [session.go:2153] ["run statement failed"] [schemaVersion=519] [error="[ddl:8214]Cancelled DDL job"] [errorVerbose="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).DoDDLJob\n\tpkg/ddl/ddl.go:1293\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).MultiSchemaChange\n\tpkg/ddl/multi_schema_change.go:66\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AlterTable\n\tpkg/ddl/ddl_api.go:4095\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeAlterTable\n\tpkg/executor/ddl.go:388\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:152\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1211\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:960\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:794\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:559\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2280\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:469\ngithub.com/pingcap/tidb/pkg/ddl_test.TestCancel\n\tpkg/ddl/cancel_test.go:306\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 3,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 09:31:54.466 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=522] [cur_db=test] [sql="alter table t add column c41 bigint, add column c42 bigint"] [user=] [2024/05/06 09:31:54.469 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:288, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.468 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 09:31:54.469 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:288, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.468 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add column c41 bigint, add column c42 bigint"] [2024/05/06 09:31:54.475 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:288, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.468 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.475 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=288] [conn=3] [category=ddl] [job="ID:288, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.468 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 09:31:54.475 +00:00] [INFO] [column.go:135] ["run add column job"] [category=ddl] [job="ID:288, Type:add column, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:54.468 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [columnInfo="{\"id\":35,\"name\":{\"O\":\"c41\",\"L\":\"c41\"},\"offset\":5,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{},\"state\":0,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2}"] [2024/05/06 09:31:54.476 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:288, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.468 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.478 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=522] [neededSchemaVersion=523] ["start time"=348.787µs] [gotSchemaVersion=523] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:54.479 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=288] [version=523] [2024/05/06 09:31:54.481 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=523] ["take time"=2.973079ms] [job="ID:288, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.468 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.481 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:288, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.468 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.485 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:288, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.468 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.485 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=288] [conn=3] [category=ddl] [job="ID:288, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.468 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 09:31:54.486 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:288, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.468 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.488 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=523] [neededSchemaVersion=524] ["start time"=324.17µs] [gotSchemaVersion=524] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:54.490 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=288] [version=524] [2024/05/06 09:31:54.492 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=524] ["take time"=4.823357ms] [job="ID:288, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.468 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.493 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:288, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.468 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.497 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:288, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.468 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.499 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=288] [conn=3] [category=ddl] [job="ID:288, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.468 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 09:31:54.499 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:288, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.468 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.501 +00:00] [WARN] [session.go:813] ["can not retry txn"] [label=internal] [error="[kv:9007]Write conflict, txnStartTS=449573791857901568, conflictStartTS=449573791857901570, conflictCommitTS=449573791858163712, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=288}, originalKey=748000fffffffffffe5f728000000000000120, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [IsBatchInsert=false] [IsPessimistic=false] [InRestrictedSQL=true] [tidb_retry_limit=10] [tidb_disable_txn_auto_retry=true] [2024/05/06 09:31:54.501 +00:00] [WARN] [session.go:829] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[kv:9007]Write conflict, txnStartTS=449573791857901568, conflictStartTS=449573791857901570, conflictCommitTS=449573791858163712, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=288}, originalKey=748000fffffffffffe5f728000000000000120, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [2024/05/06 09:31:54.501 +00:00] [INFO] [job_table.go:465] ["handle ddl job failed"] [worker="worker 6, tp general"] [category=ddl] [error="[kv:9007]Write conflict, txnStartTS=449573791857901568, conflictStartTS=449573791857901570, conflictCommitTS=449573791858163712, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=288}, originalKey=748000fffffffffffe5f728000000000000120, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [job="ID:288, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.468 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.505 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:288, Type:alter table multi-schema change, State:cancelling, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.468 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.505 +00:00] [INFO] [rollingback.go:559] ["the DDL job is cancelled normally"] [worker="worker 6, tp general"] [category=ddl] [jobID=288] [conn=3] [job="ID:288, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.468 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [error="[ddl:8214]Cancelled DDL job"] [2024/05/06 09:31:54.505 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:288, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.468 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.506 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=288] [2024/05/06 09:31:54.506 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:288, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.468 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.510 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:288, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.468 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.510 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=288] [conn=3] [category=ddl] [job="ID:288, Type:add column, State:cancelling, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.468 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 09:31:54.511 +00:00] [INFO] [rollingback.go:559] ["the DDL job is cancelled normally"] [worker="worker 6, tp general"] [category=ddl] [jobID=288] [conn=3] [job="ID:288, Type:add column, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:54.468 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [error="[ddl:8214]Cancelled DDL job"] [2024/05/06 09:31:54.511 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:288, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.468 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.513 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=524] [neededSchemaVersion=526] ["start time"=489.892µs] [gotSchemaVersion=526] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:54.514 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=288] [version=526] [2024/05/06 09:31:54.514 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=526] ["take time"=2.058144ms] [job="ID:288, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.468 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.515 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:288, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.468 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.518 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:288, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.468 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.518 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=288] [conn=3] [category=ddl] [job="ID:288, Type:add column, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.468 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 09:31:54.518 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:288, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.468 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.520 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=526] [neededSchemaVersion=527] ["start time"=434.107µs] [gotSchemaVersion=527] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:54.521 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=288] [version=527] [2024/05/06 09:31:54.522 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=527] ["take time"=2.769675ms] [job="ID:288, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.468 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.523 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:288, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.468 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.526 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:288, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.468 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.526 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=288] [conn=3] [category=ddl] [job="ID:288, Type:add column, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.468 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 09:31:54.526 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:288, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.468 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.528 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=527] [neededSchemaVersion=528] ["start time"=335.05µs] [gotSchemaVersion=528] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:54.529 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=288] [version=528] [2024/05/06 09:31:54.530 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=528] ["take time"=2.342412ms] [job="ID:288, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.468 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.531 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:288, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.468 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.533 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:288, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.468 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.533 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:288, Type:alter table multi-schema change, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.468 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.535 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=288] [2024/05/06 09:31:54.535 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:288, Type:alter table multi-schema change, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.468 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.539 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=288] [conn=3] [job="ID:288, Type:alter table multi-schema change, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.468 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.541 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=288] [2024/05/06 09:31:54.542 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:288, Type:alter table multi-schema change, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.468 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.542 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=288] [2024/05/06 09:31:54.542 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 09:31:54.542 +00:00] [WARN] [session.go:2153] ["run statement failed"] [schemaVersion=522] [error="[ddl:8214]Cancelled DDL job"] [errorVerbose="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).DoDDLJob\n\tpkg/ddl/ddl.go:1293\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).MultiSchemaChange\n\tpkg/ddl/multi_schema_change.go:66\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AlterTable\n\tpkg/ddl/ddl_api.go:4095\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeAlterTable\n\tpkg/executor/ddl.go:388\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:152\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1211\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:960\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:794\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:559\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2280\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:469\ngithub.com/pingcap/tidb/pkg/ddl_test.TestCancel\n\tpkg/ddl/cancel_test.go:289\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 3,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 09:31:54.542 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=528] [cur_db=test] [sql="alter table t add column c41 bigint, add column c42 bigint"] [user=] [2024/05/06 09:31:54.545 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:289, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.544 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 09:31:54.545 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:289, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.544 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add column c41 bigint, add column c42 bigint"] [2024/05/06 09:31:54.551 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:289, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.544 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.551 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=289] [conn=3] [category=ddl] [job="ID:289, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.544 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 09:31:54.551 +00:00] [INFO] [column.go:135] ["run add column job"] [category=ddl] [job="ID:289, Type:add column, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:54.544 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [columnInfo="{\"id\":36,\"name\":{\"O\":\"c41\",\"L\":\"c41\"},\"offset\":5,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{},\"state\":0,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2}"] [2024/05/06 09:31:54.551 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:289, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.544 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.553 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=528] [neededSchemaVersion=529] ["start time"=427.279µs] [gotSchemaVersion=529] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:54.555 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=289] [version=529] [2024/05/06 09:31:54.555 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=529] ["take time"=2.087638ms] [job="ID:289, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.544 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.556 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:289, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.544 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.560 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:289, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.544 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.560 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=289] [conn=3] [category=ddl] [job="ID:289, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.544 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 09:31:54.561 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:289, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.544 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.563 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=529] [neededSchemaVersion=530] ["start time"=405.583µs] [gotSchemaVersion=530] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:54.565 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=289] [version=530] [2024/05/06 09:31:54.567 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=530] ["take time"=4.413424ms] [job="ID:289, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.544 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.568 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:289, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.544 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.572 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:289, Type:alter table multi-schema change, State:cancelling, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.544 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.572 +00:00] [INFO] [rollingback.go:559] ["the DDL job is cancelled normally"] [worker="worker 6, tp general"] [category=ddl] [jobID=289] [conn=3] [job="ID:289, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.544 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [error="[ddl:8214]Cancelled DDL job"] [2024/05/06 09:31:54.572 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:289, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.544 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.573 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=289] [2024/05/06 09:31:54.574 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:289, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.544 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.577 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:289, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.544 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.577 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=289] [conn=3] [category=ddl] [job="ID:289, Type:add column, State:cancelling, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.544 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 09:31:54.578 +00:00] [INFO] [rollingback.go:559] ["the DDL job is cancelled normally"] [worker="worker 6, tp general"] [category=ddl] [jobID=289] [conn=3] [job="ID:289, Type:add column, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:54.544 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [error="[ddl:8214]Cancelled DDL job"] [2024/05/06 09:31:54.578 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:289, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.544 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.580 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=530] [neededSchemaVersion=531] ["start time"=438.424µs] [gotSchemaVersion=531] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:54.581 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=289] [version=531] [2024/05/06 09:31:54.582 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=531] ["take time"=2.58198ms] [job="ID:289, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.544 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.583 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:289, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.544 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.585 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:289, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.544 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.585 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=289] [conn=3] [category=ddl] [job="ID:289, Type:add column, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.544 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 09:31:54.586 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:289, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.544 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.588 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=531] [neededSchemaVersion=532] ["start time"=494.6µs] [gotSchemaVersion=532] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:54.590 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=289] [version=532] [2024/05/06 09:31:54.590 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=532] ["take time"=2.029349ms] [job="ID:289, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.544 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.590 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:289, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.544 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.593 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:289, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.544 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.594 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=289] [conn=3] [category=ddl] [job="ID:289, Type:add column, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.544 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 09:31:54.594 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:289, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.544 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.596 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=532] [neededSchemaVersion=533] ["start time"=338.275µs] [gotSchemaVersion=533] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:54.597 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=289] [version=533] [2024/05/06 09:31:54.598 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=533] ["take time"=2.451107ms] [job="ID:289, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.544 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.599 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:289, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.544 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.601 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:289, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.544 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.601 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:289, Type:alter table multi-schema change, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.544 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.602 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=289] [2024/05/06 09:31:54.603 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:289, Type:alter table multi-schema change, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.544 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.606 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=289] [conn=3] [job="ID:289, Type:alter table multi-schema change, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.544 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.608 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=289] [2024/05/06 09:31:54.609 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:289, Type:alter table multi-schema change, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.544 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.609 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=289] [2024/05/06 09:31:54.609 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 09:31:54.609 +00:00] [WARN] [session.go:2153] ["run statement failed"] [schemaVersion=528] [error="[ddl:8214]Cancelled DDL job"] [errorVerbose="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).DoDDLJob\n\tpkg/ddl/ddl.go:1293\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).MultiSchemaChange\n\tpkg/ddl/multi_schema_change.go:66\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AlterTable\n\tpkg/ddl/ddl_api.go:4095\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeAlterTable\n\tpkg/executor/ddl.go:388\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:152\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1211\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:960\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:794\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:559\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2280\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:469\ngithub.com/pingcap/tidb/pkg/ddl_test.TestCancel\n\tpkg/ddl/cancel_test.go:306\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 3,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 09:31:54.609 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=533] [cur_db=test] [sql="alter table t add column c41 bigint, add column c42 bigint"] [user=] [2024/05/06 09:31:54.612 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:290, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.61 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 09:31:54.612 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:290, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.61 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add column c41 bigint, add column c42 bigint"] [2024/05/06 09:31:54.618 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:290, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.61 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.618 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=290] [conn=3] [category=ddl] [job="ID:290, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.61 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 09:31:54.618 +00:00] [INFO] [column.go:135] ["run add column job"] [category=ddl] [job="ID:290, Type:add column, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:54.61 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [columnInfo="{\"id\":37,\"name\":{\"O\":\"c41\",\"L\":\"c41\"},\"offset\":5,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{},\"state\":0,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2}"] [2024/05/06 09:31:54.619 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:290, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.61 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.621 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=533] [neededSchemaVersion=534] ["start time"=473.294µs] [gotSchemaVersion=534] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:54.622 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=290] [version=534] [2024/05/06 09:31:54.625 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=534] ["take time"=4.941739ms] [job="ID:290, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.61 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.626 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:290, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.61 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.630 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:290, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.61 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.630 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=290] [conn=3] [category=ddl] [job="ID:290, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.61 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 09:31:54.631 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:290, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.61 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.633 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=534] [neededSchemaVersion=535] ["start time"=494.068µs] [gotSchemaVersion=535] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:54.634 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=290] [version=535] [2024/05/06 09:31:54.635 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=535] ["take time"=2.613523ms] [job="ID:290, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.61 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.636 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:290, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.61 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.639 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:290, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.61 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.639 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=290] [conn=3] [category=ddl] [job="ID:290, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.61 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 09:31:54.640 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:290, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.61 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.642 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=535] [neededSchemaVersion=536] ["start time"=320.975µs] [gotSchemaVersion=536] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:54.643 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=290] [version=536] [2024/05/06 09:31:54.644 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=536] ["take time"=2.489504ms] [job="ID:290, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.61 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.644 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:290, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.61 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.647 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:290, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.61 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.649 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=290] [conn=3] [category=ddl] [job="ID:290, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.61 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 09:31:54.649 +00:00] [INFO] [column.go:135] ["run add column job"] [category=ddl] [job="ID:290, Type:add column, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:54.61 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [columnInfo="{\"id\":38,\"name\":{\"O\":\"c42\",\"L\":\"c42\"},\"offset\":6,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{},\"state\":0,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2}"] [2024/05/06 09:31:54.649 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:290, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.61 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.651 +00:00] [WARN] [session.go:813] ["can not retry txn"] [label=internal] [error="[kv:9007]Write conflict, txnStartTS=449573791897223168, conflictStartTS=449573791897223169, conflictCommitTS=449573791897485312, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=290}, originalKey=748000fffffffffffe5f728000000000000122, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [IsBatchInsert=false] [IsPessimistic=false] [InRestrictedSQL=true] [tidb_retry_limit=10] [tidb_disable_txn_auto_retry=true] [2024/05/06 09:31:54.651 +00:00] [WARN] [session.go:829] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[kv:9007]Write conflict, txnStartTS=449573791897223168, conflictStartTS=449573791897223169, conflictCommitTS=449573791897485312, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=290}, originalKey=748000fffffffffffe5f728000000000000122, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [2024/05/06 09:31:54.651 +00:00] [INFO] [job_table.go:465] ["handle ddl job failed"] [worker="worker 6, tp general"] [category=ddl] [error="[kv:9007]Write conflict, txnStartTS=449573791897223168, conflictStartTS=449573791897223169, conflictCommitTS=449573791897485312, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=290}, originalKey=748000fffffffffffe5f728000000000000122, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [job="ID:290, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.61 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.654 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:290, Type:alter table multi-schema change, State:cancelling, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.61 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.654 +00:00] [INFO] [rollingback.go:559] ["the DDL job is cancelled normally"] [worker="worker 6, tp general"] [category=ddl] [jobID=290] [conn=3] [job="ID:290, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.61 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [error="[ddl:8214]Cancelled DDL job"] [2024/05/06 09:31:54.654 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:290, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.61 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.655 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=290] [2024/05/06 09:31:54.655 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:290, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.61 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.658 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:290, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.61 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.659 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=290] [conn=3] [category=ddl] [job="ID:290, Type:add column, State:cancelling, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.61 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 09:31:54.659 +00:00] [INFO] [rollingback.go:559] ["the DDL job is cancelled normally"] [worker="worker 6, tp general"] [category=ddl] [jobID=290] [conn=3] [job="ID:290, Type:add column, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:54.61 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [error="[ddl:8214]Cancelled DDL job"] [2024/05/06 09:31:54.659 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:290, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.61 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.661 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=536] [neededSchemaVersion=538] ["start time"=332.589µs] [gotSchemaVersion=538] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:54.662 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=290] [version=538] [2024/05/06 09:31:54.662 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=538] ["take time"=2.025724ms] [job="ID:290, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.61 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.663 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:290, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.61 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.667 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:290, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.61 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.667 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=290] [conn=3] [category=ddl] [job="ID:290, Type:add column, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.61 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 09:31:54.668 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:290, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.61 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.669 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=538] [neededSchemaVersion=539] ["start time"=332.649µs] [gotSchemaVersion=539] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:54.671 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=290] [version=539] [2024/05/06 09:31:54.671 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=539] ["take time"=2.292512ms] [job="ID:290, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.61 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.672 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:290, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.61 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.676 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:290, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.61 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.676 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=290] [conn=3] [category=ddl] [job="ID:290, Type:add column, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.61 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 09:31:54.677 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:290, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.61 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.680 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=539] [neededSchemaVersion=540] ["start time"=444.132µs] [gotSchemaVersion=540] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:54.681 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=290] [version=540] [2024/05/06 09:31:54.681 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=540] ["take time"=2.033756ms] [job="ID:290, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.61 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.682 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:290, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.61 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.685 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:290, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.61 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.685 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:290, Type:alter table multi-schema change, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.61 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.686 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=290] [2024/05/06 09:31:54.687 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:290, Type:alter table multi-schema change, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.61 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.690 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=290] [conn=3] [job="ID:290, Type:alter table multi-schema change, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.61 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.700 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=290] [2024/05/06 09:31:54.701 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=290] [2024/05/06 09:31:54.701 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 09:31:54.701 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:290, Type:alter table multi-schema change, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.61 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.701 +00:00] [WARN] [session.go:2153] ["run statement failed"] [schemaVersion=533] [error="[ddl:8214]Cancelled DDL job"] [errorVerbose="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).DoDDLJob\n\tpkg/ddl/ddl.go:1293\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).MultiSchemaChange\n\tpkg/ddl/multi_schema_change.go:66\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AlterTable\n\tpkg/ddl/ddl_api.go:4095\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeAlterTable\n\tpkg/executor/ddl.go:388\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:152\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1211\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:960\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:794\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:559\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2280\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:469\ngithub.com/pingcap/tidb/pkg/ddl_test.TestCancel\n\tpkg/ddl/cancel_test.go:289\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 3,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 09:31:54.701 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=540] [cur_db=test] [sql="alter table t add column c41 bigint, add column c42 bigint"] [user=] [2024/05/06 09:31:54.705 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:291, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.703 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 09:31:54.705 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:291, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.703 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add column c41 bigint, add column c42 bigint"] [2024/05/06 09:31:54.711 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:291, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.703 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.711 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=291] [conn=3] [category=ddl] [job="ID:291, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.703 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 09:31:54.711 +00:00] [INFO] [column.go:135] ["run add column job"] [category=ddl] [job="ID:291, Type:add column, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:54.703 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [columnInfo="{\"id\":38,\"name\":{\"O\":\"c41\",\"L\":\"c41\"},\"offset\":5,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{},\"state\":0,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2}"] [2024/05/06 09:31:54.712 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:291, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.703 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.715 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=540] [neededSchemaVersion=541] ["start time"=392.074µs] [gotSchemaVersion=541] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:54.716 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=291] [version=541] [2024/05/06 09:31:54.718 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=541] ["take time"=4.645737ms] [job="ID:291, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.703 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.719 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:291, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.703 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.722 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:291, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.703 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.722 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=291] [conn=3] [category=ddl] [job="ID:291, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.703 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 09:31:54.723 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:291, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.703 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.725 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=541] [neededSchemaVersion=542] ["start time"=449.871µs] [gotSchemaVersion=542] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:54.727 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=291] [version=542] [2024/05/06 09:31:54.727 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=542] ["take time"=2.027777ms] [job="ID:291, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.703 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.728 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:291, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.703 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.730 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:291, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.703 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.730 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=291] [conn=3] [category=ddl] [job="ID:291, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.703 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 09:31:54.731 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:291, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.703 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.733 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=542] [neededSchemaVersion=543] ["start time"=386.079µs] [gotSchemaVersion=543] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:54.735 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=291] [version=543] [2024/05/06 09:31:54.735 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=543] ["take time"=2.085958ms] [job="ID:291, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.703 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.736 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:291, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.703 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.741 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:291, Type:alter table multi-schema change, State:cancelling, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.703 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.741 +00:00] [INFO] [rollingback.go:559] ["the DDL job is cancelled normally"] [worker="worker 6, tp general"] [category=ddl] [jobID=291] [conn=3] [job="ID:291, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.703 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [error="[ddl:8214]Cancelled DDL job"] [2024/05/06 09:31:54.741 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:291, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.703 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.742 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=291] [2024/05/06 09:31:54.742 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:291, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.703 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.746 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:291, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.703 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.746 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=291] [conn=3] [category=ddl] [job="ID:291, Type:add column, State:cancelling, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.703 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 09:31:54.747 +00:00] [INFO] [rollingback.go:559] ["the DDL job is cancelled normally"] [worker="worker 6, tp general"] [category=ddl] [jobID=291] [conn=3] [job="ID:291, Type:add column, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 09:31:54.703 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [error="[ddl:8214]Cancelled DDL job"] [2024/05/06 09:31:54.747 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:291, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.703 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.749 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=543] [neededSchemaVersion=544] ["start time"=363.329µs] [gotSchemaVersion=544] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:54.750 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=291] [version=544] [2024/05/06 09:31:54.751 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=544] ["take time"=2.845304ms] [job="ID:291, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.703 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.752 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:291, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.703 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.755 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:291, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.703 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.755 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=291] [conn=3] [category=ddl] [job="ID:291, Type:add column, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.703 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 09:31:54.756 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:291, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.703 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.757 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=544] [neededSchemaVersion=545] ["start time"=465.38µs] [gotSchemaVersion=545] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:54.759 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=291] [version=545] [2024/05/06 09:31:54.759 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=545] ["take time"=2.057687ms] [job="ID:291, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.703 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.759 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:291, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.703 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.762 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:291, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.703 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.762 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=291] [conn=3] [category=ddl] [job="ID:291, Type:add column, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.703 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 09:31:54.763 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:291, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.703 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.765 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=545] [neededSchemaVersion=546] ["start time"=466.166µs] [gotSchemaVersion=546] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:54.766 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=291] [version=546] [2024/05/06 09:31:54.767 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=546] ["take time"=2.145317ms] [job="ID:291, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.703 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.768 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:291, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.703 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.771 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:291, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.703 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.771 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:291, Type:alter table multi-schema change, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.703 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.772 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=291] [2024/05/06 09:31:54.773 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:291, Type:alter table multi-schema change, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.703 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.777 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=291] [conn=3] [job="ID:291, Type:alter table multi-schema change, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.703 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.780 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=291] [2024/05/06 09:31:54.780 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:291, Type:alter table multi-schema change, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.703 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.781 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=291] [2024/05/06 09:31:54.781 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 09:31:54.781 +00:00] [WARN] [session.go:2153] ["run statement failed"] [schemaVersion=540] [error="[ddl:8214]Cancelled DDL job"] [errorVerbose="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).DoDDLJob\n\tpkg/ddl/ddl.go:1293\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).MultiSchemaChange\n\tpkg/ddl/multi_schema_change.go:66\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AlterTable\n\tpkg/ddl/ddl_api.go:4095\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeAlterTable\n\tpkg/executor/ddl.go:388\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:152\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1211\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:960\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:794\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:559\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2280\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:469\ngithub.com/pingcap/tidb/pkg/ddl_test.TestCancel\n\tpkg/ddl/cancel_test.go:306\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 3,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 09:31:54.781 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=546] [cur_db=test] [sql="alter table t add column c41 bigint, add column c42 bigint"] [user=] [2024/05/06 09:31:54.784 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:292, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.783 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 09:31:54.784 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:292, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.783 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add column c41 bigint, add column c42 bigint"] [2024/05/06 09:31:54.789 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:292, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.783 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.789 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=292] [conn=3] [category=ddl] [job="ID:292, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.783 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 09:31:54.789 +00:00] [INFO] [column.go:135] ["run add column job"] [category=ddl] [job="ID:292, Type:add column, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:54.783 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [columnInfo="{\"id\":39,\"name\":{\"O\":\"c41\",\"L\":\"c41\"},\"offset\":5,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{},\"state\":0,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2}"] [2024/05/06 09:31:54.790 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:292, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.783 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.791 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=546] [neededSchemaVersion=547] ["start time"=309.487µs] [gotSchemaVersion=547] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:54.793 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=292] [version=547] [2024/05/06 09:31:54.793 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=547] ["take time"=2.092357ms] [job="ID:292, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.783 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.794 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:292, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.783 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.798 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:292, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.783 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.798 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=292] [conn=3] [category=ddl] [job="ID:292, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.783 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 09:31:54.799 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:292, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.783 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.801 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=547] [neededSchemaVersion=548] ["start time"=552.718µs] [gotSchemaVersion=548] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:54.802 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=292] [version=548] [2024/05/06 09:31:54.805 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=548] ["take time"=4.968544ms] [job="ID:292, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.783 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.806 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:292, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.783 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.812 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:292, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.783 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.812 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=292] [conn=3] [category=ddl] [job="ID:292, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.783 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 09:31:54.813 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:292, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.783 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.815 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=548] [neededSchemaVersion=549] ["start time"=461.639µs] [gotSchemaVersion=549] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:54.816 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=292] [version=549] [2024/05/06 09:31:54.816 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=549] ["take time"=2.015609ms] [job="ID:292, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.783 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.817 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:292, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.783 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.824 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:292, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.783 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.824 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=292] [conn=3] [category=ddl] [job="ID:292, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.783 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 09:31:54.825 +00:00] [INFO] [column.go:135] ["run add column job"] [category=ddl] [job="ID:292, Type:add column, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:54.783 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [columnInfo="{\"id\":40,\"name\":{\"O\":\"c42\",\"L\":\"c42\"},\"offset\":6,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{},\"state\":0,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2}"] [2024/05/06 09:31:54.825 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:292, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.783 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.827 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=549] [neededSchemaVersion=550] ["start time"=387.285µs] [gotSchemaVersion=550] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:54.828 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=292] [version=550] [2024/05/06 09:31:54.829 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=550] ["take time"=2.681288ms] [job="ID:292, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.783 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.830 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:292, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.783 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.832 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:292, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.783 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.832 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=292] [conn=3] [category=ddl] [job="ID:292, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.783 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 09:31:54.833 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:292, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.783 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.835 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=550] [neededSchemaVersion=551] ["start time"=531.621µs] [gotSchemaVersion=551] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:54.837 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=292] [version=551] [2024/05/06 09:31:54.837 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=551] ["take time"=2.297354ms] [job="ID:292, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.783 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.838 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:292, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.783 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.840 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:292, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.783 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.840 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=292] [conn=3] [category=ddl] [job="ID:292, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.783 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 09:31:54.841 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:292, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.783 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.843 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=551] [neededSchemaVersion=552] ["start time"=326.944µs] [gotSchemaVersion=552] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:54.844 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=292] [version=552] [2024/05/06 09:31:54.845 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=552] ["take time"=2.531603ms] [job="ID:292, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.783 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.846 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:292, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.783 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.848 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:292, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.783 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.848 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=292] [conn=3] [category=ddl] [job="ID:292, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.783 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 09:31:54.849 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=292] [conn=3] [category=ddl] [job="ID:292, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.783 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 09:31:54.849 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:292, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.783 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.851 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=552] [neededSchemaVersion=553] ["start time"=456.561µs] [gotSchemaVersion=553] [phyTblIDs="[111]"] [actionTypes="[61]"] [diffTypes="[\"alter table multi-schema change\"]"] [2024/05/06 09:31:54.853 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=292] [version=553] [2024/05/06 09:31:54.854 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=553] ["take time"=2.758553ms] [job="ID:292, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.783 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.854 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:292, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.783 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.858 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:292, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.783 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.859 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:292, Type:alter table multi-schema change, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.783 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.860 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=292] [2024/05/06 09:31:54.860 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:292, Type:alter table multi-schema change, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.783 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.864 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=292] [conn=3] [job="ID:292, Type:alter table multi-schema change, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.783 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.866 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:292, Type:alter table multi-schema change, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.783 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.866 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=292] [2024/05/06 09:31:54.866 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:31:54.867 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=553] [cur_db=test] [sql="alter table t drop column c41, drop column c42"] [user=] [2024/05/06 09:31:54.869 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:293, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.868 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 09:31:54.869 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:293, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.868 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t drop column c41, drop column c42"] [2024/05/06 09:31:54.876 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:293, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.868 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.877 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=293] [conn=3] [category=ddl] [job="ID:293, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.868 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 09:31:54.878 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:293, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.868 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.878 +00:00] [WARN] [session.go:813] ["can not retry txn"] [label=internal] [error="[kv:9007]Write conflict, txnStartTS=449573791957254144, conflictStartTS=449573791957254145, conflictCommitTS=449573791957516288, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=293}, originalKey=748000fffffffffffe5f728000000000000125, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [IsBatchInsert=false] [IsPessimistic=false] [InRestrictedSQL=true] [tidb_retry_limit=10] [tidb_disable_txn_auto_retry=true] [2024/05/06 09:31:54.878 +00:00] [WARN] [session.go:829] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[kv:9007]Write conflict, txnStartTS=449573791957254144, conflictStartTS=449573791957254145, conflictCommitTS=449573791957516288, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=293}, originalKey=748000fffffffffffe5f728000000000000125, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [2024/05/06 09:31:54.878 +00:00] [INFO] [job_table.go:465] ["handle ddl job failed"] [worker="worker 6, tp general"] [category=ddl] [error="[kv:9007]Write conflict, txnStartTS=449573791957254144, conflictStartTS=449573791957254145, conflictCommitTS=449573791957516288, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=293}, originalKey=748000fffffffffffe5f728000000000000125, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [job="ID:293, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.868 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.882 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:293, Type:alter table multi-schema change, State:cancelling, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.868 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.882 +00:00] [INFO] [rollingback.go:559] ["the DDL job is cancelled normally"] [worker="worker 6, tp general"] [category=ddl] [jobID=293] [conn=3] [job="ID:293, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.868 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [error="[ddl:8214]Cancelled DDL job"] [2024/05/06 09:31:54.883 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:293, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.868 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.883 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=293] [2024/05/06 09:31:54.884 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:293, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.868 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.888 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:293, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.868 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.888 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:293, Type:alter table multi-schema change, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.868 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.889 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=293] [2024/05/06 09:31:54.889 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:293, Type:alter table multi-schema change, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.868 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.893 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=293] [conn=3] [job="ID:293, Type:alter table multi-schema change, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.868 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.895 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=293] [2024/05/06 09:31:54.895 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:293, Type:alter table multi-schema change, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.868 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.895 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=293] [2024/05/06 09:31:54.895 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 09:31:54.895 +00:00] [WARN] [session.go:2153] ["run statement failed"] [schemaVersion=553] [error="[ddl:8214]Cancelled DDL job"] [errorVerbose="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).DoDDLJob\n\tpkg/ddl/ddl.go:1293\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).MultiSchemaChange\n\tpkg/ddl/multi_schema_change.go:66\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AlterTable\n\tpkg/ddl/ddl_api.go:4095\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeAlterTable\n\tpkg/executor/ddl.go:388\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:152\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1211\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:960\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:794\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:559\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2280\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:469\ngithub.com/pingcap/tidb/pkg/ddl_test.TestCancel\n\tpkg/ddl/cancel_test.go:289\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 3,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 09:31:54.896 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=553] [cur_db=test] [sql="alter table t drop column c41, drop column c42"] [user=] [2024/05/06 09:31:54.898 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:294, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.897 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 09:31:54.898 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:294, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.897 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t drop column c41, drop column c42"] [2024/05/06 09:31:54.904 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:294, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.897 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.904 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=294] [conn=3] [category=ddl] [job="ID:294, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.897 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 09:31:54.905 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:294, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.897 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.906 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=294] [2024/05/06 09:31:54.906 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:294, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.897 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.909 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:294, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.897 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.909 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=294] [conn=3] [category=ddl] [job="ID:294, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.897 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 09:31:54.910 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:294, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.897 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.910 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=294] [2024/05/06 09:31:54.911 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:294, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.897 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.914 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:294, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.897 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.914 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=294] [conn=3] [category=ddl] [job="ID:294, Type:drop column, State:running, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.897 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 09:31:54.915 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=294] [conn=3] [category=ddl] [job="ID:294, Type:drop column, State:running, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.897 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 09:31:54.915 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:294, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.897 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.917 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=553] [neededSchemaVersion=554] ["start time"=513.547µs] [gotSchemaVersion=554] [phyTblIDs="[111]"] [actionTypes="[61]"] [diffTypes="[\"alter table multi-schema change\"]"] [2024/05/06 09:31:54.918 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=294] [version=554] [2024/05/06 09:31:54.919 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=554] ["take time"=2.680041ms] [job="ID:294, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.897 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.920 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:294, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.897 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.922 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:294, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.897 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.923 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=294] [conn=3] [category=ddl] [job="ID:294, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.897 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 09:31:54.923 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:294, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.897 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.925 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=554] [neededSchemaVersion=555] ["start time"=486.311µs] [gotSchemaVersion=555] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 09:31:54.927 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=294] [version=555] [2024/05/06 09:31:54.927 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=555] ["take time"=2.632294ms] [job="ID:294, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.897 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.928 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:294, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.897 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.931 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:294, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.897 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.931 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=294] [conn=3] [category=ddl] [job="ID:294, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.897 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 09:31:54.932 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:294, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.897 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.935 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=555] [neededSchemaVersion=556] ["start time"=472.894µs] [gotSchemaVersion=556] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 09:31:54.936 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=294] [version=556] [2024/05/06 09:31:54.936 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=556] ["take time"=2.041044ms] [job="ID:294, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.897 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.937 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:294, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.897 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.940 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:294, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.897 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.940 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=294] [conn=3] [category=ddl] [job="ID:294, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.897 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 09:31:54.941 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:294, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.897 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.944 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=556] [neededSchemaVersion=557] ["start time"=475.627µs] [gotSchemaVersion=557] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 09:31:54.945 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=294] [version=557] [2024/05/06 09:31:54.945 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=557] ["take time"=2.027237ms] [job="ID:294, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.897 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.946 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:294, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.897 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.950 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:294, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.897 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.950 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=294] [conn=3] [category=ddl] [job="ID:294, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.897 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 09:31:54.951 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:294, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.897 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.953 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=557] [neededSchemaVersion=558] ["start time"=538.898µs] [gotSchemaVersion=558] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 09:31:54.954 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=294] [version=558] [2024/05/06 09:31:54.954 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=558] ["take time"=2.026848ms] [job="ID:294, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.897 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.955 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:294, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.897 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.958 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:294, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.897 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.958 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=294] [conn=3] [category=ddl] [job="ID:294, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.897 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 09:31:54.959 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:294, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.897 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.961 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=558] [neededSchemaVersion=559] ["start time"=445.287µs] [gotSchemaVersion=559] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 09:31:54.964 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=294] [version=559] [2024/05/06 09:31:54.965 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=559] ["take time"=4.089895ms] [job="ID:294, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.897 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.967 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:294, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.897 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.971 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:294, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.897 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.971 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=294] [conn=3] [category=ddl] [job="ID:294, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.897 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 09:31:54.972 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:294, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.897 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.974 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=559] [neededSchemaVersion=560] ["start time"=336.981µs] [gotSchemaVersion=560] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 09:31:54.975 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=294] [version=560] [2024/05/06 09:31:54.976 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=560] ["take time"=2.66645ms] [job="ID:294, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.897 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.977 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:294, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.897 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.979 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:294, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.897 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.980 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:294, Type:alter table multi-schema change, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.897 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.981 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=294] [2024/05/06 09:31:54.981 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:294, Type:alter table multi-schema change, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.897 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.984 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=294] [jobType="alter table multi-schema change"] [2024/05/06 09:31:54.984 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=294] [conn=3] [job="ID:294, Type:alter table multi-schema change, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.897 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.987 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:294, Type:alter table multi-schema change, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.897 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.990 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=294] [2024/05/06 09:31:54.990 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:31:54.991 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=560] [cur_db=test] [sql="alter table t add column c41 bigint, add column c42 bigint"] [user=] [2024/05/06 09:31:54.993 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:295, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.992 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 09:31:54.993 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:295, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.992 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add column c41 bigint, add column c42 bigint"] [2024/05/06 09:31:54.999 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:295, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.992 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:54.999 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=295] [conn=3] [category=ddl] [job="ID:295, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.992 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 09:31:54.999 +00:00] [INFO] [column.go:135] ["run add column job"] [category=ddl] [job="ID:295, Type:add column, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:54.992 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [columnInfo="{\"id\":41,\"name\":{\"O\":\"c41\",\"L\":\"c41\"},\"offset\":5,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{},\"state\":0,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2}"] [2024/05/06 09:31:55.000 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:295, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.992 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.002 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=560] [neededSchemaVersion=561] ["start time"=467.466µs] [gotSchemaVersion=561] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:55.003 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=295] [version=561] [2024/05/06 09:31:55.004 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=561] ["take time"=2.030121ms] [job="ID:295, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.992 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.004 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:295, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.992 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.008 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:295, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.992 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.008 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=295] [conn=3] [category=ddl] [job="ID:295, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.992 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 09:31:55.008 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:295, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.992 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.010 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=561] [neededSchemaVersion=562] ["start time"=426.911µs] [gotSchemaVersion=562] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:55.011 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=295] [version=562] [2024/05/06 09:31:55.016 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=562] ["take time"=6.390892ms] [job="ID:295, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.992 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.017 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:295, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.992 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.020 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:295, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.992 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.020 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=295] [conn=3] [category=ddl] [job="ID:295, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.992 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 09:31:55.020 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:295, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.992 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.022 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=562] [neededSchemaVersion=563] ["start time"=462.853µs] [gotSchemaVersion=563] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:55.023 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=295] [version=563] [2024/05/06 09:31:55.024 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=563] ["take time"=2.111032ms] [job="ID:295, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.992 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.025 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:295, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.992 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.027 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:295, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.992 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.027 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=295] [conn=3] [category=ddl] [job="ID:295, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.992 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 09:31:55.028 +00:00] [INFO] [column.go:135] ["run add column job"] [category=ddl] [job="ID:295, Type:add column, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:54.992 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [columnInfo="{\"id\":42,\"name\":{\"O\":\"c42\",\"L\":\"c42\"},\"offset\":6,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{},\"state\":0,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2}"] [2024/05/06 09:31:55.028 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:295, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.992 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.030 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=563] [neededSchemaVersion=564] ["start time"=509.178µs] [gotSchemaVersion=564] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:55.031 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=295] [version=564] [2024/05/06 09:31:55.032 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=564] ["take time"=2.656075ms] [job="ID:295, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.992 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.033 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:295, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.992 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.035 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:295, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.992 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.035 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=295] [conn=3] [category=ddl] [job="ID:295, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.992 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 09:31:55.036 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:295, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.992 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.038 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=564] [neededSchemaVersion=565] ["start time"=505.78µs] [gotSchemaVersion=565] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:55.039 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=295] [version=565] [2024/05/06 09:31:55.039 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=565] ["take time"=2.034079ms] [job="ID:295, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.992 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.040 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:295, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.992 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.044 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:295, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.992 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.044 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=295] [conn=3] [category=ddl] [job="ID:295, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.992 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 09:31:55.045 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:295, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.992 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.047 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=565] [neededSchemaVersion=566] ["start time"=518.831µs] [gotSchemaVersion=566] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:55.049 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=295] [version=566] [2024/05/06 09:31:55.049 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=566] ["take time"=2.120278ms] [job="ID:295, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.992 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.050 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:295, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.992 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.053 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:295, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.992 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.053 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=295] [conn=3] [category=ddl] [job="ID:295, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.992 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 09:31:55.054 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=295] [conn=3] [category=ddl] [job="ID:295, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.992 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 09:31:55.054 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:295, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.992 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.057 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=566] [neededSchemaVersion=567] ["start time"=478.807µs] [gotSchemaVersion=567] [phyTblIDs="[111]"] [actionTypes="[61]"] [diffTypes="[\"alter table multi-schema change\"]"] [2024/05/06 09:31:55.058 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=295] [version=567] [2024/05/06 09:31:55.058 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=567] ["take time"=2.045379ms] [job="ID:295, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.992 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.060 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:295, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.992 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.064 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:295, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.992 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.064 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:295, Type:alter table multi-schema change, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.992 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.066 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=295] [2024/05/06 09:31:55.066 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:295, Type:alter table multi-schema change, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.992 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.075 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=295] [conn=3] [job="ID:295, Type:alter table multi-schema change, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.992 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.078 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:295, Type:alter table multi-schema change, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:54.992 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.078 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=295] [2024/05/06 09:31:55.078 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:31:55.078 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=567] [cur_db=test] [sql="alter table t drop column c41, drop column c42"] [user=] [2024/05/06 09:31:55.081 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:296, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.08 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 09:31:55.081 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:296, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.08 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t drop column c41, drop column c42"] [2024/05/06 09:31:55.088 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:296, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.08 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.088 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=296] [conn=3] [category=ddl] [job="ID:296, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.08 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 09:31:55.088 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:296, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.08 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.089 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=296] [2024/05/06 09:31:55.090 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:296, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.08 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.093 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:296, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.08 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.093 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=296] [conn=3] [category=ddl] [job="ID:296, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.08 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 09:31:55.094 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:296, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.08 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.095 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=296] [2024/05/06 09:31:55.096 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:296, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.08 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.101 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:296, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.08 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.101 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=296] [conn=3] [category=ddl] [job="ID:296, Type:drop column, State:running, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.08 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 09:31:55.101 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=296] [conn=3] [category=ddl] [job="ID:296, Type:drop column, State:running, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.08 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 09:31:55.102 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:296, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.08 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.103 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=567] [neededSchemaVersion=568] ["start time"=485.15µs] [gotSchemaVersion=568] [phyTblIDs="[111]"] [actionTypes="[61]"] [diffTypes="[\"alter table multi-schema change\"]"] [2024/05/06 09:31:55.105 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=296] [version=568] [2024/05/06 09:31:55.105 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=568] ["take time"=2.44101ms] [job="ID:296, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.08 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.106 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:296, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.08 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.112 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:296, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.08 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.112 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=296] [conn=3] [category=ddl] [job="ID:296, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.08 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 09:31:55.113 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:296, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.08 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.115 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=568] [neededSchemaVersion=569] ["start time"=492.186µs] [gotSchemaVersion=569] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 09:31:55.116 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=296] [version=569] [2024/05/06 09:31:55.117 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=569] ["take time"=2.561576ms] [job="ID:296, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.08 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.117 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:296, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.08 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.121 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:296, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.08 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.121 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=296] [conn=3] [category=ddl] [job="ID:296, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.08 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 09:31:55.122 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:296, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.08 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.124 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=569] [neededSchemaVersion=570] ["start time"=524.008µs] [gotSchemaVersion=570] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 09:31:55.125 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=296] [version=570] [2024/05/06 09:31:55.125 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=570] ["take time"=2.034201ms] [job="ID:296, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.08 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.126 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:296, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.08 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.130 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:296, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.08 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.130 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=296] [conn=3] [category=ddl] [job="ID:296, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.08 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 09:31:55.131 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:296, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.08 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.133 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=570] [neededSchemaVersion=571] ["start time"=483.856µs] [gotSchemaVersion=571] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 09:31:55.135 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=296] [version=571] [2024/05/06 09:31:55.138 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=571] ["take time"=5.500536ms] [job="ID:296, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.08 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.139 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:296, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.08 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.143 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:296, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.08 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.143 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=296] [conn=3] [category=ddl] [job="ID:296, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.08 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 09:31:55.143 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:296, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.08 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.146 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=571] [neededSchemaVersion=572] ["start time"=487.357µs] [gotSchemaVersion=572] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 09:31:55.147 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=296] [version=572] [2024/05/06 09:31:55.149 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=572] ["take time"=4.04968ms] [job="ID:296, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.08 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.150 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:296, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.08 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.153 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:296, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.08 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.153 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=296] [conn=3] [category=ddl] [job="ID:296, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.08 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 09:31:55.154 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:296, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.08 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.156 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=572] [neededSchemaVersion=573] ["start time"=312.976µs] [gotSchemaVersion=573] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 09:31:55.157 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=296] [version=573] [2024/05/06 09:31:55.157 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=573] ["take time"=2.210616ms] [job="ID:296, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.08 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.158 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:296, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.08 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.161 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:296, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.08 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.161 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=296] [conn=3] [category=ddl] [job="ID:296, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.08 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 09:31:55.162 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:296, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.08 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.165 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=573] [neededSchemaVersion=574] ["start time"=465.29µs] [gotSchemaVersion=574] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 09:31:55.166 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=296] [version=574] [2024/05/06 09:31:55.167 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=574] ["take time"=2.361391ms] [job="ID:296, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.08 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.167 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:296, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.08 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.174 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:296, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.08 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.174 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:296, Type:alter table multi-schema change, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.08 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.176 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=296] [2024/05/06 09:31:55.176 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:296, Type:alter table multi-schema change, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.08 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.180 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=296] [jobType="alter table multi-schema change"] [2024/05/06 09:31:55.181 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=296] [conn=3] [job="ID:296, Type:alter table multi-schema change, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.08 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.184 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:296, Type:alter table multi-schema change, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.08 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.186 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=296] [2024/05/06 09:31:55.186 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:31:55.186 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=574] [cur_db=test] [sql="alter table t add column c41 bigint, add column c42 bigint"] [user=] [2024/05/06 09:31:55.189 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:297, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.188 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 09:31:55.189 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:297, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.188 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add column c41 bigint, add column c42 bigint"] [2024/05/06 09:31:55.194 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:297, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.188 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.194 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=297] [conn=3] [category=ddl] [job="ID:297, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.188 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 09:31:55.194 +00:00] [INFO] [column.go:135] ["run add column job"] [category=ddl] [job="ID:297, Type:add column, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:55.188 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [columnInfo="{\"id\":43,\"name\":{\"O\":\"c41\",\"L\":\"c41\"},\"offset\":5,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{},\"state\":0,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2}"] [2024/05/06 09:31:55.195 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:297, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.188 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.197 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=574] [neededSchemaVersion=575] ["start time"=459.71µs] [gotSchemaVersion=575] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:55.198 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=297] [version=575] [2024/05/06 09:31:55.198 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=575] ["take time"=2.029224ms] [job="ID:297, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.188 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.199 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:297, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.188 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.202 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:297, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.188 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.202 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=297] [conn=3] [category=ddl] [job="ID:297, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.188 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 09:31:55.205 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:297, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.188 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.207 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=575] [neededSchemaVersion=576] ["start time"=383.865µs] [gotSchemaVersion=576] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:55.209 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=297] [version=576] [2024/05/06 09:31:55.209 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=576] ["take time"=2.556845ms] [job="ID:297, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.188 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.210 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:297, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.188 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.213 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:297, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.188 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.213 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=297] [conn=3] [category=ddl] [job="ID:297, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.188 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 09:31:55.214 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:297, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.188 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.216 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=576] [neededSchemaVersion=577] ["start time"=359.73µs] [gotSchemaVersion=577] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:55.217 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=297] [version=577] [2024/05/06 09:31:55.218 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=577] ["take time"=2.287174ms] [job="ID:297, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.188 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.219 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:297, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.188 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.222 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:297, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.188 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.222 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=297] [conn=3] [category=ddl] [job="ID:297, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.188 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 09:31:55.222 +00:00] [INFO] [column.go:135] ["run add column job"] [category=ddl] [job="ID:297, Type:add column, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:55.188 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [columnInfo="{\"id\":44,\"name\":{\"O\":\"c42\",\"L\":\"c42\"},\"offset\":6,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{},\"state\":0,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2}"] [2024/05/06 09:31:55.222 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:297, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.188 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.224 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=577] [neededSchemaVersion=578] ["start time"=507.227µs] [gotSchemaVersion=578] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:55.225 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=297] [version=578] [2024/05/06 09:31:55.226 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=578] ["take time"=2.38753ms] [job="ID:297, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.188 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.227 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:297, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.188 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.233 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:297, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.188 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.233 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=297] [conn=3] [category=ddl] [job="ID:297, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.188 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 09:31:55.234 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:297, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.188 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.236 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=578] [neededSchemaVersion=579] ["start time"=463.187µs] [gotSchemaVersion=579] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:55.237 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=297] [version=579] [2024/05/06 09:31:55.240 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=579] ["take time"=4.532057ms] [job="ID:297, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.188 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.241 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:297, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.188 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.245 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:297, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.188 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.245 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=297] [conn=3] [category=ddl] [job="ID:297, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.188 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 09:31:55.246 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:297, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.188 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.248 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=579] [neededSchemaVersion=580] ["start time"=529.569µs] [gotSchemaVersion=580] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:55.250 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=297] [version=580] [2024/05/06 09:31:55.250 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=580] ["take time"=2.608109ms] [job="ID:297, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.188 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.251 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:297, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.188 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.254 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:297, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.188 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.255 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=297] [conn=3] [category=ddl] [job="ID:297, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.188 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 09:31:55.255 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=297] [conn=3] [category=ddl] [job="ID:297, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.188 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 09:31:55.256 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:297, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.188 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.258 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=580] [neededSchemaVersion=581] ["start time"=510.943µs] [gotSchemaVersion=581] [phyTblIDs="[111]"] [actionTypes="[61]"] [diffTypes="[\"alter table multi-schema change\"]"] [2024/05/06 09:31:55.259 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=297] [version=581] [2024/05/06 09:31:55.262 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=581] ["take time"=4.796868ms] [job="ID:297, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.188 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.263 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:297, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.188 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.270 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:297, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.188 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.271 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:297, Type:alter table multi-schema change, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.188 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.272 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=297] [2024/05/06 09:31:55.273 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:297, Type:alter table multi-schema change, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.188 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.277 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=297] [conn=3] [job="ID:297, Type:alter table multi-schema change, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.188 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.279 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:297, Type:alter table multi-schema change, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.188 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.280 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=297] [2024/05/06 09:31:55.280 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:31:55.280 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=581] [cur_db=test] [sql="alter table t drop column c41, drop column c42"] [user=] [2024/05/06 09:31:55.283 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:298, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.282 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 09:31:55.283 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:298, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.282 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t drop column c41, drop column c42"] [2024/05/06 09:31:55.288 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:298, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.282 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.288 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=298] [conn=3] [category=ddl] [job="ID:298, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.282 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 09:31:55.289 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:298, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.282 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.289 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=298] [2024/05/06 09:31:55.290 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:298, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.282 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.293 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:298, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.282 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.293 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=298] [conn=3] [category=ddl] [job="ID:298, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.282 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 09:31:55.293 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:298, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.282 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.294 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=298] [2024/05/06 09:31:55.295 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:298, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.282 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.298 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:298, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.282 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.298 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=298] [conn=3] [category=ddl] [job="ID:298, Type:drop column, State:running, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.282 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 09:31:55.299 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=298] [conn=3] [category=ddl] [job="ID:298, Type:drop column, State:running, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.282 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 09:31:55.299 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:298, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.282 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.301 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=581] [neededSchemaVersion=582] ["start time"=388.67µs] [gotSchemaVersion=582] [phyTblIDs="[111]"] [actionTypes="[61]"] [diffTypes="[\"alter table multi-schema change\"]"] [2024/05/06 09:31:55.302 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=298] [version=582] [2024/05/06 09:31:55.303 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=582] ["take time"=2.556098ms] [job="ID:298, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.282 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.304 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:298, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.282 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.308 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:298, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.282 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.308 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=298] [conn=3] [category=ddl] [job="ID:298, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.282 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 09:31:55.308 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:298, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.282 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.310 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=582] [neededSchemaVersion=583] ["start time"=426.152µs] [gotSchemaVersion=583] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 09:31:55.311 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=298] [version=583] [2024/05/06 09:31:55.312 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=583] ["take time"=2.610699ms] [job="ID:298, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.282 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.313 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:298, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.282 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.316 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:298, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.282 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.316 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=298] [conn=3] [category=ddl] [job="ID:298, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.282 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 09:31:55.316 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:298, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.282 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.318 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=583] [neededSchemaVersion=584] ["start time"=518.504µs] [gotSchemaVersion=584] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 09:31:55.320 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=298] [version=584] [2024/05/06 09:31:55.320 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=584] ["take time"=2.06139ms] [job="ID:298, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.282 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.320 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:298, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.282 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.323 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:298, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.282 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.323 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=298] [conn=3] [category=ddl] [job="ID:298, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.282 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 09:31:55.324 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:298, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.282 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.326 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=584] [neededSchemaVersion=585] ["start time"=475.875µs] [gotSchemaVersion=585] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 09:31:55.328 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=298] [version=585] [2024/05/06 09:31:55.329 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=585] ["take time"=2.82762ms] [job="ID:298, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.282 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.331 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:298, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.282 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.335 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:298, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.282 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.335 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=298] [conn=3] [category=ddl] [job="ID:298, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.282 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 09:31:55.335 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:298, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.282 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.338 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=585] [neededSchemaVersion=586] ["start time"=415.245µs] [gotSchemaVersion=586] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 09:31:55.339 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=298] [version=586] [2024/05/06 09:31:55.339 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=586] ["take time"=2.228203ms] [job="ID:298, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.282 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.340 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:298, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.282 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.343 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:298, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.282 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.343 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=298] [conn=3] [category=ddl] [job="ID:298, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.282 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 09:31:55.344 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:298, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.282 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.346 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=586] [neededSchemaVersion=587] ["start time"=453.771µs] [gotSchemaVersion=587] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 09:31:55.348 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=298] [version=587] [2024/05/06 09:31:55.348 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=587] ["take time"=2.135514ms] [job="ID:298, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.282 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.349 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:298, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.282 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.352 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:298, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.282 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.352 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=298] [conn=3] [category=ddl] [job="ID:298, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.282 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 09:31:55.353 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:298, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.282 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.355 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=587] [neededSchemaVersion=588] ["start time"=436.292µs] [gotSchemaVersion=588] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 09:31:55.357 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=298] [version=588] [2024/05/06 09:31:55.357 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=588] ["take time"=2.199783ms] [job="ID:298, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.282 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.358 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:298, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.282 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.361 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:298, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.282 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.361 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:298, Type:alter table multi-schema change, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.282 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.362 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=298] [2024/05/06 09:31:55.363 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:298, Type:alter table multi-schema change, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.282 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.366 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=298] [jobType="alter table multi-schema change"] [2024/05/06 09:31:55.366 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=298] [conn=3] [job="ID:298, Type:alter table multi-schema change, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.282 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.368 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:298, Type:alter table multi-schema change, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.282 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.370 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=298] [2024/05/06 09:31:55.370 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:31:55.371 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=588] [cur_db=test] [sql="alter table t add column c41 bigint, add column c42 bigint"] [user=] [2024/05/06 09:31:55.373 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:299, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.372 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 09:31:55.373 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:299, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.372 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add column c41 bigint, add column c42 bigint"] [2024/05/06 09:31:55.378 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:299, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.372 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.378 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=299] [conn=3] [category=ddl] [job="ID:299, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.372 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 09:31:55.379 +00:00] [INFO] [column.go:135] ["run add column job"] [category=ddl] [job="ID:299, Type:add column, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:55.372 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [columnInfo="{\"id\":45,\"name\":{\"O\":\"c41\",\"L\":\"c41\"},\"offset\":5,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{},\"state\":0,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2}"] [2024/05/06 09:31:55.379 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:299, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.372 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.381 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=588] [neededSchemaVersion=589] ["start time"=437.352µs] [gotSchemaVersion=589] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:55.383 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=299] [version=589] [2024/05/06 09:31:55.386 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=589] ["take time"=5.095175ms] [job="ID:299, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.372 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.387 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:299, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.372 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.390 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:299, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.372 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.390 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=299] [conn=3] [category=ddl] [job="ID:299, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.372 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 09:31:55.391 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:299, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.372 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.393 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=589] [neededSchemaVersion=590] ["start time"=314.157µs] [gotSchemaVersion=590] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:55.394 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=299] [version=590] [2024/05/06 09:31:55.395 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=590] ["take time"=2.342848ms] [job="ID:299, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.372 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.395 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:299, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.372 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.398 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:299, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.372 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.398 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=299] [conn=3] [category=ddl] [job="ID:299, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.372 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 09:31:55.398 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:299, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.372 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.401 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=590] [neededSchemaVersion=591] ["start time"=473.634µs] [gotSchemaVersion=591] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:55.402 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=299] [version=591] [2024/05/06 09:31:55.404 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=591] ["take time"=4.284689ms] [job="ID:299, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.372 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.405 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:299, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.372 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.408 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:299, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.372 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.408 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=299] [conn=3] [category=ddl] [job="ID:299, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.372 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 09:31:55.408 +00:00] [INFO] [column.go:135] ["run add column job"] [category=ddl] [job="ID:299, Type:add column, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:55.372 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [columnInfo="{\"id\":46,\"name\":{\"O\":\"c42\",\"L\":\"c42\"},\"offset\":6,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{},\"state\":0,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2}"] [2024/05/06 09:31:55.408 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:299, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.372 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.410 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=591] [neededSchemaVersion=592] ["start time"=350.312µs] [gotSchemaVersion=592] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:55.411 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=299] [version=592] [2024/05/06 09:31:55.412 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=592] ["take time"=2.266311ms] [job="ID:299, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.372 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.413 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:299, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.372 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.419 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:299, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.372 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.419 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=299] [conn=3] [category=ddl] [job="ID:299, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.372 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 09:31:55.420 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:299, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.372 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.422 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=592] [neededSchemaVersion=593] ["start time"=379.686µs] [gotSchemaVersion=593] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:55.423 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=299] [version=593] [2024/05/06 09:31:55.424 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=593] ["take time"=2.584568ms] [job="ID:299, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.372 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.425 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:299, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.372 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.427 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:299, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.372 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.427 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=299] [conn=3] [category=ddl] [job="ID:299, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.372 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 09:31:55.428 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:299, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.372 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.430 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=593] [neededSchemaVersion=594] ["start time"=494.413µs] [gotSchemaVersion=594] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:55.431 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=299] [version=594] [2024/05/06 09:31:55.432 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=594] ["take time"=2.797497ms] [job="ID:299, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.372 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.433 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:299, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.372 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.438 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:299, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.372 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.438 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=299] [conn=3] [category=ddl] [job="ID:299, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.372 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 09:31:55.439 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=299] [conn=3] [category=ddl] [job="ID:299, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.372 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 09:31:55.439 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:299, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.372 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.441 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=594] [neededSchemaVersion=595] ["start time"=458.857µs] [gotSchemaVersion=595] [phyTblIDs="[111]"] [actionTypes="[61]"] [diffTypes="[\"alter table multi-schema change\"]"] [2024/05/06 09:31:55.443 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=299] [version=595] [2024/05/06 09:31:55.446 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=595] ["take time"=4.760537ms] [job="ID:299, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.372 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.447 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:299, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.372 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.450 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:299, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.372 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.450 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:299, Type:alter table multi-schema change, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.372 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.451 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=299] [2024/05/06 09:31:55.452 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:299, Type:alter table multi-schema change, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.372 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.457 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=299] [conn=3] [job="ID:299, Type:alter table multi-schema change, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.372 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.460 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:299, Type:alter table multi-schema change, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.372 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.460 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=299] [2024/05/06 09:31:55.460 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:31:55.461 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=595] [cur_db=test] [sql="alter table t drop column c41, drop column c42"] [user=] [2024/05/06 09:31:55.464 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:300, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.462 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 09:31:55.464 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:300, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.462 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t drop column c41, drop column c42"] [2024/05/06 09:31:55.470 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:300, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.462 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.470 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=300] [conn=3] [category=ddl] [job="ID:300, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.462 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 09:31:55.471 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:300, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.462 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.472 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=300] [2024/05/06 09:31:55.473 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:300, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.462 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.480 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:300, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.462 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.480 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=300] [conn=3] [category=ddl] [job="ID:300, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.462 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 09:31:55.480 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:300, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.462 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.481 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=300] [2024/05/06 09:31:55.482 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:300, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.462 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.485 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:300, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.462 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.485 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=300] [conn=3] [category=ddl] [job="ID:300, Type:drop column, State:running, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.462 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 09:31:55.486 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=300] [conn=3] [category=ddl] [job="ID:300, Type:drop column, State:running, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.462 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 09:31:55.486 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:300, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.462 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.488 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=595] [neededSchemaVersion=596] ["start time"=523.376µs] [gotSchemaVersion=596] [phyTblIDs="[111]"] [actionTypes="[61]"] [diffTypes="[\"alter table multi-schema change\"]"] [2024/05/06 09:31:55.490 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=300] [version=596] [2024/05/06 09:31:55.493 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=596] ["take time"=4.969877ms] [job="ID:300, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.462 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.493 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:300, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.462 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.496 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:300, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.462 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.496 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=300] [conn=3] [category=ddl] [job="ID:300, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.462 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 09:31:55.497 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:300, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.462 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.499 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=596] [neededSchemaVersion=597] ["start time"=456.099µs] [gotSchemaVersion=597] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 09:31:55.500 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=300] [version=597] [2024/05/06 09:31:55.501 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=597] ["take time"=2.431741ms] [job="ID:300, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.462 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.502 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:300, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.462 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.507 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:300, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.462 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.507 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=300] [conn=3] [category=ddl] [job="ID:300, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.462 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 09:31:55.508 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:300, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.462 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.510 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=597] [neededSchemaVersion=598] ["start time"=551.61µs] [gotSchemaVersion=598] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 09:31:55.512 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=300] [version=598] [2024/05/06 09:31:55.513 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=598] ["take time"=4.049351ms] [job="ID:300, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.462 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.514 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:300, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.462 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.519 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:300, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.462 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.519 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=300] [conn=3] [category=ddl] [job="ID:300, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.462 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 09:31:55.519 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:300, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.462 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.521 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=598] [neededSchemaVersion=599] ["start time"=465.857µs] [gotSchemaVersion=599] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 09:31:55.523 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=300] [version=599] [2024/05/06 09:31:55.523 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=599] ["take time"=2.037102ms] [job="ID:300, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.462 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.524 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:300, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.462 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.530 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:300, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.462 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.530 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=300] [conn=3] [category=ddl] [job="ID:300, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.462 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 09:31:55.531 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:300, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.462 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.533 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=599] [neededSchemaVersion=600] ["start time"=449.485µs] [gotSchemaVersion=600] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 09:31:55.535 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=300] [version=600] [2024/05/06 09:31:55.535 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=600] ["take time"=2.036861ms] [job="ID:300, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.462 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.536 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:300, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.462 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.539 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:300, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.462 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.539 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=300] [conn=3] [category=ddl] [job="ID:300, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.462 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 09:31:55.540 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:300, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.462 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.543 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=600] [neededSchemaVersion=601] ["start time"=480.791µs] [gotSchemaVersion=601] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 09:31:55.544 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=300] [version=601] [2024/05/06 09:31:55.547 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=601] ["take time"=4.814789ms] [job="ID:300, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.462 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.548 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:300, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.462 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.553 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:300, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.462 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.553 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=300] [conn=3] [category=ddl] [job="ID:300, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.462 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 09:31:55.554 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:300, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.462 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.556 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=601] [neededSchemaVersion=602] ["start time"=481.927µs] [gotSchemaVersion=602] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 09:31:55.557 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=300] [version=602] [2024/05/06 09:31:55.560 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=602] ["take time"=4.270075ms] [job="ID:300, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.462 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.560 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:300, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.462 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.563 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:300, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.462 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.564 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:300, Type:alter table multi-schema change, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.462 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.565 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=300] [2024/05/06 09:31:55.565 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:300, Type:alter table multi-schema change, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.462 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.574 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=300] [jobType="alter table multi-schema change"] [2024/05/06 09:31:55.574 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=300] [conn=3] [job="ID:300, Type:alter table multi-schema change, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.462 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.577 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:300, Type:alter table multi-schema change, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.462 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.580 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=300] [2024/05/06 09:31:55.580 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:31:55.581 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=602] [cur_db=test] [sql="alter table t add column c41 bigint, add column c42 bigint"] [user=] [2024/05/06 09:31:55.583 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:301, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.582 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 09:31:55.583 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:301, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.582 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add column c41 bigint, add column c42 bigint"] [2024/05/06 09:31:55.588 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:301, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.582 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.589 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=301] [conn=3] [category=ddl] [job="ID:301, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.582 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 09:31:55.589 +00:00] [INFO] [column.go:135] ["run add column job"] [category=ddl] [job="ID:301, Type:add column, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:55.582 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [columnInfo="{\"id\":47,\"name\":{\"O\":\"c41\",\"L\":\"c41\"},\"offset\":5,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{},\"state\":0,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2}"] [2024/05/06 09:31:55.589 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:301, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.582 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.591 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=602] [neededSchemaVersion=603] ["start time"=461.821µs] [gotSchemaVersion=603] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:55.593 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=301] [version=603] [2024/05/06 09:31:55.593 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=603] ["take time"=2.035709ms] [job="ID:301, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.582 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.594 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:301, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.582 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.597 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:301, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.582 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.597 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=301] [conn=3] [category=ddl] [job="ID:301, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.582 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 09:31:55.598 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:301, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.582 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.600 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=603] [neededSchemaVersion=604] ["start time"=448.084µs] [gotSchemaVersion=604] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:55.601 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=301] [version=604] [2024/05/06 09:31:55.601 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=604] ["take time"=2.024428ms] [job="ID:301, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.582 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.602 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:301, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.582 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.604 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:301, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.582 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.604 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=301] [conn=3] [category=ddl] [job="ID:301, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.582 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 09:31:55.605 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:301, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.582 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.607 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=604] [neededSchemaVersion=605] ["start time"=454.906µs] [gotSchemaVersion=605] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:55.608 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=301] [version=605] [2024/05/06 09:31:55.609 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=605] ["take time"=3.074823ms] [job="ID:301, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.582 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.610 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:301, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.582 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.614 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:301, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.582 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.614 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=301] [conn=3] [category=ddl] [job="ID:301, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.582 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 09:31:55.615 +00:00] [INFO] [column.go:135] ["run add column job"] [category=ddl] [job="ID:301, Type:add column, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:55.582 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [columnInfo="{\"id\":48,\"name\":{\"O\":\"c42\",\"L\":\"c42\"},\"offset\":6,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{},\"state\":0,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2}"] [2024/05/06 09:31:55.615 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:301, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.582 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.617 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=605] [neededSchemaVersion=606] ["start time"=516.378µs] [gotSchemaVersion=606] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:55.618 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=301] [version=606] [2024/05/06 09:31:55.619 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=606] ["take time"=2.137553ms] [job="ID:301, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.582 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.620 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:301, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.582 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.622 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:301, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.582 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.622 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=301] [conn=3] [category=ddl] [job="ID:301, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.582 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 09:31:55.623 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:301, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.582 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.625 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=606] [neededSchemaVersion=607] ["start time"=363.398µs] [gotSchemaVersion=607] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:55.626 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=301] [version=607] [2024/05/06 09:31:55.627 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=607] ["take time"=2.592839ms] [job="ID:301, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.582 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.628 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:301, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.582 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.631 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:301, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.582 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.631 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=301] [conn=3] [category=ddl] [job="ID:301, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.582 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 09:31:55.631 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:301, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.582 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.633 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=607] [neededSchemaVersion=608] ["start time"=506.336µs] [gotSchemaVersion=608] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:55.634 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=301] [version=608] [2024/05/06 09:31:55.634 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=608] ["take time"=2.093926ms] [job="ID:301, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.582 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.635 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:301, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.582 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.638 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:301, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.582 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.639 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=301] [conn=3] [category=ddl] [job="ID:301, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.582 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 09:31:55.639 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=301] [conn=3] [category=ddl] [job="ID:301, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.582 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 09:31:55.640 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:301, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.582 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.643 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=608] [neededSchemaVersion=609] ["start time"=486.193µs] [gotSchemaVersion=609] [phyTblIDs="[111]"] [actionTypes="[61]"] [diffTypes="[\"alter table multi-schema change\"]"] [2024/05/06 09:31:55.644 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=301] [version=609] [2024/05/06 09:31:55.646 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=609] ["take time"=4.100584ms] [job="ID:301, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.582 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.647 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:301, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.582 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.650 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:301, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.582 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.651 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:301, Type:alter table multi-schema change, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.582 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.652 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=301] [2024/05/06 09:31:55.653 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:301, Type:alter table multi-schema change, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.582 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.656 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=301] [conn=3] [job="ID:301, Type:alter table multi-schema change, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.582 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.659 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:301, Type:alter table multi-schema change, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.582 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.659 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=301] [2024/05/06 09:31:55.659 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:31:55.660 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=609] [cur_db=test] [sql="alter table t drop column c41, drop column c42"] [user=] [2024/05/06 09:31:55.662 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:302, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.661 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 09:31:55.662 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:302, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.661 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t drop column c41, drop column c42"] [2024/05/06 09:31:55.669 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:302, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.661 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.669 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=302] [conn=3] [category=ddl] [job="ID:302, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.661 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 09:31:55.669 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:302, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.661 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.670 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=302] [2024/05/06 09:31:55.671 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:302, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.661 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.675 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:302, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.661 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.675 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=302] [conn=3] [category=ddl] [job="ID:302, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.661 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 09:31:55.676 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:302, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.661 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.676 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=302] [2024/05/06 09:31:55.677 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:302, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.661 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.684 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:302, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.661 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.684 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=302] [conn=3] [category=ddl] [job="ID:302, Type:drop column, State:running, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.661 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 09:31:55.685 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=302] [conn=3] [category=ddl] [job="ID:302, Type:drop column, State:running, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.661 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 09:31:55.685 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:302, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.661 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.687 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=609] [neededSchemaVersion=610] ["start time"=421.683µs] [gotSchemaVersion=610] [phyTblIDs="[111]"] [actionTypes="[61]"] [diffTypes="[\"alter table multi-schema change\"]"] [2024/05/06 09:31:55.688 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=302] [version=610] [2024/05/06 09:31:55.688 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=610] ["take time"=2.018462ms] [job="ID:302, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.661 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.689 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:302, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.661 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.692 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:302, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.661 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.692 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=302] [conn=3] [category=ddl] [job="ID:302, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.661 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 09:31:55.693 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:302, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.661 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.694 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=610] [neededSchemaVersion=611] ["start time"=341.465µs] [gotSchemaVersion=611] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 09:31:55.696 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=302] [version=611] [2024/05/06 09:31:55.697 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=611] ["take time"=3.002329ms] [job="ID:302, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.661 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.698 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:302, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.661 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.702 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:302, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.661 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.702 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=302] [conn=3] [category=ddl] [job="ID:302, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.661 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 09:31:55.703 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:302, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.661 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.704 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=611] [neededSchemaVersion=612] ["start time"=379.062µs] [gotSchemaVersion=612] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 09:31:55.706 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=302] [version=612] [2024/05/06 09:31:55.707 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=612] ["take time"=2.658382ms] [job="ID:302, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.661 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.707 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:302, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.661 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.711 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:302, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.661 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.711 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=302] [conn=3] [category=ddl] [job="ID:302, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.661 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 09:31:55.711 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:302, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.661 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.714 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=612] [neededSchemaVersion=613] ["start time"=491.664µs] [gotSchemaVersion=613] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 09:31:55.716 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=302] [version=613] [2024/05/06 09:31:55.718 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=613] ["take time"=4.753887ms] [job="ID:302, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.661 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.719 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:302, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.661 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.722 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:302, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.661 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.722 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=302] [conn=3] [category=ddl] [job="ID:302, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.661 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 09:31:55.723 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:302, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.661 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.725 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=613] [neededSchemaVersion=614] ["start time"=460.609µs] [gotSchemaVersion=614] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 09:31:55.727 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=302] [version=614] [2024/05/06 09:31:55.728 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=614] ["take time"=3.158926ms] [job="ID:302, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.661 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.729 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:302, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.661 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.732 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:302, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.661 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.732 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=302] [conn=3] [category=ddl] [job="ID:302, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.661 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 09:31:55.733 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:302, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.661 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.735 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=614] [neededSchemaVersion=615] ["start time"=469.6µs] [gotSchemaVersion=615] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 09:31:55.736 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=302] [version=615] [2024/05/06 09:31:55.738 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=615] ["take time"=3.051088ms] [job="ID:302, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.661 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.738 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:302, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.661 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.745 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:302, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.661 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.745 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=302] [conn=3] [category=ddl] [job="ID:302, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.661 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 09:31:55.745 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:302, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.661 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.748 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=615] [neededSchemaVersion=616] ["start time"=446.531µs] [gotSchemaVersion=616] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 09:31:55.749 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=302] [version=616] [2024/05/06 09:31:55.752 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=616] ["take time"=4.400438ms] [job="ID:302, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.661 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.753 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:302, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.661 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.756 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:302, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.661 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.756 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:302, Type:alter table multi-schema change, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.661 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.763 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=302] [2024/05/06 09:31:55.764 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:302, Type:alter table multi-schema change, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.661 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.768 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=302] [jobType="alter table multi-schema change"] [2024/05/06 09:31:55.768 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=302] [conn=3] [job="ID:302, Type:alter table multi-schema change, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.661 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.771 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:302, Type:alter table multi-schema change, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.661 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.773 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=302] [2024/05/06 09:31:55.773 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:31:55.774 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=616] [cur_db=test] [sql="alter table t add column c41 bigint, add column c42 bigint"] [user=] [2024/05/06 09:31:55.776 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:303, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.775 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 09:31:55.776 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:303, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.775 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add column c41 bigint, add column c42 bigint"] [2024/05/06 09:31:55.782 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:303, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.775 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.782 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=303] [conn=3] [category=ddl] [job="ID:303, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.775 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 09:31:55.782 +00:00] [INFO] [column.go:135] ["run add column job"] [category=ddl] [job="ID:303, Type:add column, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:55.775 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [columnInfo="{\"id\":49,\"name\":{\"O\":\"c41\",\"L\":\"c41\"},\"offset\":5,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{},\"state\":0,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2}"] [2024/05/06 09:31:55.783 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:303, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.775 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.785 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=616] [neededSchemaVersion=617] ["start time"=521.025µs] [gotSchemaVersion=617] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:55.786 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=303] [version=617] [2024/05/06 09:31:55.786 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=617] ["take time"=2.044955ms] [job="ID:303, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.775 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.787 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:303, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.775 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.791 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:303, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.775 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.791 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=303] [conn=3] [category=ddl] [job="ID:303, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.775 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 09:31:55.792 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:303, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.775 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.794 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=617] [neededSchemaVersion=618] ["start time"=417.218µs] [gotSchemaVersion=618] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:55.796 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=303] [version=618] [2024/05/06 09:31:55.798 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=618] ["take time"=4.760556ms] [job="ID:303, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.775 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.799 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:303, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.775 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.804 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:303, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.775 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.804 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=303] [conn=3] [category=ddl] [job="ID:303, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.775 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 09:31:55.805 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:303, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.775 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.807 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=618] [neededSchemaVersion=619] ["start time"=468.25µs] [gotSchemaVersion=619] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:55.808 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=303] [version=619] [2024/05/06 09:31:55.811 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=619] ["take time"=4.71907ms] [job="ID:303, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.775 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.812 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:303, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.775 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.820 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:303, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.775 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.820 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=303] [conn=3] [category=ddl] [job="ID:303, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.775 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 09:31:55.820 +00:00] [INFO] [column.go:135] ["run add column job"] [category=ddl] [job="ID:303, Type:add column, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:55.775 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [columnInfo="{\"id\":50,\"name\":{\"O\":\"c42\",\"L\":\"c42\"},\"offset\":6,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{},\"state\":0,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2}"] [2024/05/06 09:31:55.821 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:303, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.775 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.823 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=619] [neededSchemaVersion=620] ["start time"=518.821µs] [gotSchemaVersion=620] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:55.824 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=303] [version=620] [2024/05/06 09:31:55.826 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=620] ["take time"=4.291298ms] [job="ID:303, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.775 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.827 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:303, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.775 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.831 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:303, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.775 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.831 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=303] [conn=3] [category=ddl] [job="ID:303, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.775 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 09:31:55.832 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:303, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.775 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.834 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=620] [neededSchemaVersion=621] ["start time"=365.064µs] [gotSchemaVersion=621] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:55.835 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=303] [version=621] [2024/05/06 09:31:55.836 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=621] ["take time"=2.440007ms] [job="ID:303, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.775 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.837 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:303, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.775 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.839 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:303, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.775 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.839 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=303] [conn=3] [category=ddl] [job="ID:303, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.775 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 09:31:55.840 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:303, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.775 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.842 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=621] [neededSchemaVersion=622] ["start time"=511.951µs] [gotSchemaVersion=622] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:55.844 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=303] [version=622] [2024/05/06 09:31:55.846 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=622] ["take time"=4.63836ms] [job="ID:303, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.775 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.847 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:303, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.775 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.851 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:303, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.775 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.851 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=303] [conn=3] [category=ddl] [job="ID:303, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.775 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 09:31:55.852 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=303] [conn=3] [category=ddl] [job="ID:303, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.775 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 09:31:55.853 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:303, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.775 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.855 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=622] [neededSchemaVersion=623] ["start time"=507.37µs] [gotSchemaVersion=623] [phyTblIDs="[111]"] [actionTypes="[61]"] [diffTypes="[\"alter table multi-schema change\"]"] [2024/05/06 09:31:55.857 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=303] [version=623] [2024/05/06 09:31:55.859 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=623] ["take time"=4.472408ms] [job="ID:303, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.775 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.860 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:303, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.775 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.864 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:303, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.775 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.864 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:303, Type:alter table multi-schema change, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.775 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.866 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=303] [2024/05/06 09:31:55.866 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:303, Type:alter table multi-schema change, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.775 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.872 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=303] [conn=3] [job="ID:303, Type:alter table multi-schema change, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.775 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.875 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:303, Type:alter table multi-schema change, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.775 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.876 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=303] [2024/05/06 09:31:55.876 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:31:55.876 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=623] [cur_db=test] [sql="alter table t drop column c41, drop column c42"] [user=] [2024/05/06 09:31:55.879 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:304, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.878 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 09:31:55.879 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:304, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.878 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t drop column c41, drop column c42"] [2024/05/06 09:31:55.885 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:304, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.878 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.885 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=304] [conn=3] [category=ddl] [job="ID:304, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.878 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 09:31:55.885 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:304, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.878 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.886 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=304] [2024/05/06 09:31:55.886 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:304, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.878 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.889 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:304, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.878 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.890 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=304] [conn=3] [category=ddl] [job="ID:304, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.878 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 09:31:55.890 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:304, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.878 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.891 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=304] [2024/05/06 09:31:55.891 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:304, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.878 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.894 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:304, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.878 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.894 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=304] [conn=3] [category=ddl] [job="ID:304, Type:drop column, State:running, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.878 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 09:31:55.895 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=304] [conn=3] [category=ddl] [job="ID:304, Type:drop column, State:running, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.878 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 09:31:55.895 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:304, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.878 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.897 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=623] [neededSchemaVersion=624] ["start time"=348.367µs] [gotSchemaVersion=624] [phyTblIDs="[111]"] [actionTypes="[61]"] [diffTypes="[\"alter table multi-schema change\"]"] [2024/05/06 09:31:55.898 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=304] [version=624] [2024/05/06 09:31:55.899 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=624] ["take time"=2.452968ms] [job="ID:304, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.878 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.899 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:304, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.878 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.902 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:304, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.878 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.903 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=304] [conn=3] [category=ddl] [job="ID:304, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.878 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 09:31:55.905 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:304, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.878 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.907 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=624] [neededSchemaVersion=625] ["start time"=565.784µs] [gotSchemaVersion=625] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 09:31:55.909 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=304] [version=625] [2024/05/06 09:31:55.911 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=625] ["take time"=4.535786ms] [job="ID:304, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.878 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.912 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:304, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.878 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.919 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:304, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.878 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.919 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=304] [conn=3] [category=ddl] [job="ID:304, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.878 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 09:31:55.920 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:304, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.878 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.922 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=625] [neededSchemaVersion=626] ["start time"=514.755µs] [gotSchemaVersion=626] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 09:31:55.923 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=304] [version=626] [2024/05/06 09:31:55.926 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=626] ["take time"=4.744256ms] [job="ID:304, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.878 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.927 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:304, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.878 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.930 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:304, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.878 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.930 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=304] [conn=3] [category=ddl] [job="ID:304, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.878 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 09:31:55.931 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:304, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.878 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.933 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=626] [neededSchemaVersion=627] ["start time"=383.782µs] [gotSchemaVersion=627] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 09:31:55.935 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=304] [version=627] [2024/05/06 09:31:55.936 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=627] ["take time"=3.035198ms] [job="ID:304, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.878 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.937 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:304, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.878 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.940 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:304, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.878 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.940 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=304] [conn=3] [category=ddl] [job="ID:304, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.878 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 09:31:55.940 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:304, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.878 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.943 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=627] [neededSchemaVersion=628] ["start time"=500.22µs] [gotSchemaVersion=628] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 09:31:55.944 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=304] [version=628] [2024/05/06 09:31:55.945 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=628] ["take time"=2.320437ms] [job="ID:304, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.878 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.945 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:304, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.878 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.949 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:304, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.878 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.949 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=304] [conn=3] [category=ddl] [job="ID:304, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.878 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 09:31:55.950 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:304, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.878 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.952 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=628] [neededSchemaVersion=629] ["start time"=367.892µs] [gotSchemaVersion=629] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 09:31:55.953 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=304] [version=629] [2024/05/06 09:31:55.954 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=629] ["take time"=2.08954ms] [job="ID:304, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.878 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.954 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:304, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.878 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.960 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:304, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.878 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.960 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=304] [conn=3] [category=ddl] [job="ID:304, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.878 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 09:31:55.961 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:304, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.878 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.963 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=629] [neededSchemaVersion=630] ["start time"=468.481µs] [gotSchemaVersion=630] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 09:31:55.966 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=304] [version=630] [2024/05/06 09:31:55.967 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=630] ["take time"=4.160773ms] [job="ID:304, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.878 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.968 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:304, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.878 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.974 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:304, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.878 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.974 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:304, Type:alter table multi-schema change, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.878 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.976 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=304] [2024/05/06 09:31:55.976 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:304, Type:alter table multi-schema change, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.878 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.980 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=304] [jobType="alter table multi-schema change"] [2024/05/06 09:31:55.980 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=304] [conn=3] [job="ID:304, Type:alter table multi-schema change, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.878 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.983 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:304, Type:alter table multi-schema change, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.878 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.986 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=304] [2024/05/06 09:31:55.986 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:31:55.986 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=630] [cur_db=test] [sql="alter table t add column c41 bigint, add column c42 bigint"] [user=] [2024/05/06 09:31:55.989 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:305, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.988 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 09:31:55.989 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:305, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.988 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add column c41 bigint, add column c42 bigint"] [2024/05/06 09:31:55.994 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:305, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.988 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.994 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=305] [conn=3] [category=ddl] [job="ID:305, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.988 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 09:31:55.995 +00:00] [INFO] [column.go:135] ["run add column job"] [category=ddl] [job="ID:305, Type:add column, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:55.988 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [columnInfo="{\"id\":51,\"name\":{\"O\":\"c41\",\"L\":\"c41\"},\"offset\":5,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{},\"state\":0,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2}"] [2024/05/06 09:31:55.995 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:305, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.988 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:55.997 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=630] [neededSchemaVersion=631] ["start time"=500.128µs] [gotSchemaVersion=631] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:55.999 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=305] [version=631] [2024/05/06 09:31:55.999 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=631] ["take time"=2.092718ms] [job="ID:305, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.988 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.000 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:305, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.988 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.003 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:305, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.988 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.003 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=305] [conn=3] [category=ddl] [job="ID:305, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.988 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 09:31:56.004 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:305, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.988 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.006 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=631] [neededSchemaVersion=632] ["start time"=504.809µs] [gotSchemaVersion=632] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:56.007 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=305] [version=632] [2024/05/06 09:31:56.009 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=632] ["take time"=3.760726ms] [job="ID:305, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.988 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.010 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:305, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.988 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.015 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:305, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.988 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.015 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=305] [conn=3] [category=ddl] [job="ID:305, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.988 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 09:31:56.016 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:305, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.988 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.018 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=632] [neededSchemaVersion=633] ["start time"=493.288µs] [gotSchemaVersion=633] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:56.019 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=305] [version=633] [2024/05/06 09:31:56.019 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=633] ["take time"=2.020287ms] [job="ID:305, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.988 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.020 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:305, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.988 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.023 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:305, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.988 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.023 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=305] [conn=3] [category=ddl] [job="ID:305, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.988 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 09:31:56.024 +00:00] [INFO] [column.go:135] ["run add column job"] [category=ddl] [job="ID:305, Type:add column, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:55.988 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [columnInfo="{\"id\":52,\"name\":{\"O\":\"c42\",\"L\":\"c42\"},\"offset\":6,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{},\"state\":0,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2}"] [2024/05/06 09:31:56.024 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:305, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.988 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.027 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=633] [neededSchemaVersion=634] ["start time"=515.712µs] [gotSchemaVersion=634] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:56.028 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=305] [version=634] [2024/05/06 09:31:56.029 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=634] ["take time"=2.547423ms] [job="ID:305, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.988 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.029 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:305, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.988 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.033 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:305, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.988 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.033 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=305] [conn=3] [category=ddl] [job="ID:305, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.988 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 09:31:56.040 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:305, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.988 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.042 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=634] [neededSchemaVersion=635] ["start time"=513.505µs] [gotSchemaVersion=635] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:56.044 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=305] [version=635] [2024/05/06 09:31:56.044 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=635] ["take time"=2.26876ms] [job="ID:305, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.988 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.045 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:305, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.988 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.049 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:305, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.988 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.049 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=305] [conn=3] [category=ddl] [job="ID:305, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.988 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 09:31:56.050 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:305, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.988 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.052 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=635] [neededSchemaVersion=636] ["start time"=519.196µs] [gotSchemaVersion=636] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:56.053 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=305] [version=636] [2024/05/06 09:31:56.056 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=636] ["take time"=4.848549ms] [job="ID:305, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.988 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.057 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:305, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.988 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.063 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:305, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.988 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.063 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=305] [conn=3] [category=ddl] [job="ID:305, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.988 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 09:31:56.064 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=305] [conn=3] [category=ddl] [job="ID:305, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.988 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 09:31:56.064 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:305, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.988 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.067 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=636] [neededSchemaVersion=637] ["start time"=508.55µs] [gotSchemaVersion=637] [phyTblIDs="[111]"] [actionTypes="[61]"] [diffTypes="[\"alter table multi-schema change\"]"] [2024/05/06 09:31:56.068 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=305] [version=637] [2024/05/06 09:31:56.069 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=637] ["take time"=2.744176ms] [job="ID:305, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.988 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.070 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:305, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.988 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.074 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:305, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.988 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.075 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:305, Type:alter table multi-schema change, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.988 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.076 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=305] [2024/05/06 09:31:56.076 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:305, Type:alter table multi-schema change, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.988 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.080 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=305] [conn=3] [job="ID:305, Type:alter table multi-schema change, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.988 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.083 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:305, Type:alter table multi-schema change, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:55.988 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.084 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=305] [2024/05/06 09:31:56.084 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:31:56.084 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=637] [cur_db=test] [sql="alter table t drop column c41, drop column c42"] [user=] [2024/05/06 09:31:56.087 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:306, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.086 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 09:31:56.087 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:306, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.086 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t drop column c41, drop column c42"] [2024/05/06 09:31:56.095 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:306, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.086 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.095 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=306] [conn=3] [category=ddl] [job="ID:306, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.086 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 09:31:56.095 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:306, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.086 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.096 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=306] [2024/05/06 09:31:56.097 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:306, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.086 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.101 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:306, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.086 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.101 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=306] [conn=3] [category=ddl] [job="ID:306, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.086 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 09:31:56.102 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:306, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.086 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.103 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=306] [2024/05/06 09:31:56.104 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:306, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.086 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.108 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:306, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.086 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.108 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=306] [conn=3] [category=ddl] [job="ID:306, Type:drop column, State:running, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.086 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 09:31:56.121 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=306] [conn=3] [category=ddl] [job="ID:306, Type:drop column, State:running, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.086 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 09:31:56.122 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:306, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.086 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.125 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=637] [neededSchemaVersion=638] ["start time"=1.09187ms] [gotSchemaVersion=638] [phyTblIDs="[111]"] [actionTypes="[61]"] [diffTypes="[\"alter table multi-schema change\"]"] [2024/05/06 09:31:56.127 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=306] [version=638] [2024/05/06 09:31:56.128 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=638] ["take time"=4.155395ms] [job="ID:306, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.086 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.129 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:306, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.086 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.135 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:306, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.086 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.135 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=306] [conn=3] [category=ddl] [job="ID:306, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.086 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 09:31:56.136 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:306, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.086 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.140 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=638] [neededSchemaVersion=639] ["start time"=581.237µs] [gotSchemaVersion=639] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 09:31:56.142 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=306] [version=639] [2024/05/06 09:31:56.145 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=639] ["take time"=4.864942ms] [job="ID:306, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.086 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.147 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:306, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.086 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.150 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:306, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.086 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.150 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=306] [conn=3] [category=ddl] [job="ID:306, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.086 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 09:31:56.151 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:306, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.086 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.153 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=639] [neededSchemaVersion=640] ["start time"=510.2µs] [gotSchemaVersion=640] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 09:31:56.155 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=306] [version=640] [2024/05/06 09:31:56.157 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=640] ["take time"=4.51363ms] [job="ID:306, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.086 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.158 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:306, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.086 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.166 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:306, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.086 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.166 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=306] [conn=3] [category=ddl] [job="ID:306, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.086 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 09:31:56.167 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:306, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.086 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.169 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=640] [neededSchemaVersion=641] ["start time"=358.88µs] [gotSchemaVersion=641] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 09:31:56.171 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=306] [version=641] [2024/05/06 09:31:56.171 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=641] ["take time"=2.078836ms] [job="ID:306, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.086 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.172 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:306, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.086 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.176 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:306, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.086 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.176 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=306] [conn=3] [category=ddl] [job="ID:306, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.086 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 09:31:56.177 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:306, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.086 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.179 +00:00] [INFO] [db.go:833] ["flushing memtable"] ["memtable size"=12581612] ["size of flushChan"=0] [2024/05/06 09:31:56.179 +00:00] [INFO] [db.go:937] ["flush memtable storing offset"] [fid=0] [offset=0] [2024/05/06 09:31:56.180 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=641] [neededSchemaVersion=642] ["start time"=499.522µs] [gotSchemaVersion=642] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 09:31:56.181 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=306] [version=642] [2024/05/06 09:31:56.184 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=642] ["take time"=4.612603ms] [job="ID:306, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.086 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.185 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:306, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.086 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.190 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:306, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.086 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.191 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=306] [conn=3] [category=ddl] [job="ID:306, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.086 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 09:31:56.191 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:306, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.086 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.194 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=642] [neededSchemaVersion=643] ["start time"=329.343µs] [gotSchemaVersion=643] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 09:31:56.195 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=306] [version=643] [2024/05/06 09:31:56.196 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=643] ["take time"=2.263857ms] [job="ID:306, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.086 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.196 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:306, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.086 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.200 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:306, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.086 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.201 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=306] [conn=3] [category=ddl] [job="ID:306, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.086 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 09:31:56.201 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:306, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.086 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.204 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=643] [neededSchemaVersion=644] ["start time"=516.968µs] [gotSchemaVersion=644] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 09:31:56.206 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=306] [version=644] [2024/05/06 09:31:56.208 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=644] ["take time"=4.694089ms] [job="ID:306, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.086 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.209 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:306, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.086 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.213 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:306, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.086 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.213 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:306, Type:alter table multi-schema change, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.086 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.215 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=306] [2024/05/06 09:31:56.215 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:306, Type:alter table multi-schema change, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.086 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.221 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=306] [jobType="alter table multi-schema change"] [2024/05/06 09:31:56.221 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=306] [conn=3] [job="ID:306, Type:alter table multi-schema change, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.086 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.224 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:306, Type:alter table multi-schema change, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.086 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.227 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=306] [2024/05/06 09:31:56.227 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:31:56.228 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=644] [cur_db=test] [sql="alter table t add column c41 bigint, add column c42 bigint"] [user=] [2024/05/06 09:31:56.230 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:307, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.229 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 09:31:56.231 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:307, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.229 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add column c41 bigint, add column c42 bigint"] [2024/05/06 09:31:56.238 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:307, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.229 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.238 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=307] [conn=3] [category=ddl] [job="ID:307, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.229 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 09:31:56.239 +00:00] [INFO] [column.go:135] ["run add column job"] [category=ddl] [job="ID:307, Type:add column, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:56.229 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [columnInfo="{\"id\":53,\"name\":{\"O\":\"c41\",\"L\":\"c41\"},\"offset\":5,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{},\"state\":0,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2}"] [2024/05/06 09:31:56.240 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:307, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.229 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.242 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=644] [neededSchemaVersion=645] ["start time"=527.883µs] [gotSchemaVersion=645] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:56.244 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=307] [version=645] [2024/05/06 09:31:56.255 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=645] ["take time"=13.618913ms] [job="ID:307, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.229 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.258 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:307, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.229 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.263 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:307, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.229 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.263 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=307] [conn=3] [category=ddl] [job="ID:307, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.229 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 09:31:56.264 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:307, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.229 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.266 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=645] [neededSchemaVersion=646] ["start time"=529.762µs] [gotSchemaVersion=646] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:56.268 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=307] [version=646] [2024/05/06 09:31:56.277 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=646] ["take time"=11.200397ms] [job="ID:307, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.229 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.278 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:307, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.229 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.282 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:307, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.229 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.282 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=307] [conn=3] [category=ddl] [job="ID:307, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.229 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 09:31:56.283 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:307, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.229 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.287 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=646] [neededSchemaVersion=647] ["start time"=482.965µs] [gotSchemaVersion=647] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:56.288 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=307] [version=647] [2024/05/06 09:31:56.291 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=647] ["take time"=4.523116ms] [job="ID:307, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.229 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.292 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:307, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.229 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.296 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:307, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.229 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.296 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=307] [conn=3] [category=ddl] [job="ID:307, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.229 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 09:31:56.297 +00:00] [INFO] [column.go:135] ["run add column job"] [category=ddl] [job="ID:307, Type:add column, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:56.229 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [columnInfo="{\"id\":54,\"name\":{\"O\":\"c42\",\"L\":\"c42\"},\"offset\":6,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{},\"state\":0,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2}"] [2024/05/06 09:31:56.297 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:307, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.229 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.299 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=647] [neededSchemaVersion=648] ["start time"=504.941µs] [gotSchemaVersion=648] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:56.301 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=307] [version=648] [2024/05/06 09:31:56.303 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=648] ["take time"=4.155658ms] [job="ID:307, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.229 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.304 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:307, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.229 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.309 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:307, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.229 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.310 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=307] [conn=3] [category=ddl] [job="ID:307, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.229 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 09:31:56.310 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:307, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.229 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.314 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=648] [neededSchemaVersion=649] ["start time"=394.398µs] [gotSchemaVersion=649] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:56.315 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=307] [version=649] [2024/05/06 09:31:56.316 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=649] ["take time"=4.3284ms] [job="ID:307, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.229 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.317 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:307, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.229 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.321 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:307, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.229 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.321 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=307] [conn=3] [category=ddl] [job="ID:307, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.229 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 09:31:56.322 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:307, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.229 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.324 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=649] [neededSchemaVersion=650] ["start time"=515.085µs] [gotSchemaVersion=650] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:56.325 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=307] [version=650] [2024/05/06 09:31:56.325 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=650] ["take time"=2.367314ms] [job="ID:307, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.229 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.326 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:307, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.229 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.330 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:307, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.229 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.331 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=307] [conn=3] [category=ddl] [job="ID:307, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.229 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 09:31:56.331 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=307] [conn=3] [category=ddl] [job="ID:307, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.229 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 09:31:56.332 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:307, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.229 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.334 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=650] [neededSchemaVersion=651] ["start time"=501.615µs] [gotSchemaVersion=651] [phyTblIDs="[111]"] [actionTypes="[61]"] [diffTypes="[\"alter table multi-schema change\"]"] [2024/05/06 09:31:56.336 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=307] [version=651] [2024/05/06 09:31:56.338 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=651] ["take time"=4.40096ms] [job="ID:307, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.229 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.339 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:307, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.229 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.343 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:307, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.229 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.344 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:307, Type:alter table multi-schema change, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.229 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.345 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=307] [2024/05/06 09:31:56.346 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:307, Type:alter table multi-schema change, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.229 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.349 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=307] [conn=3] [job="ID:307, Type:alter table multi-schema change, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.229 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.353 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:307, Type:alter table multi-schema change, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.229 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.353 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=307] [2024/05/06 09:31:56.353 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:31:56.353 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=651] [cur_db=test] [sql="alter table t add index drop_columns_idx(c41)"] [user=] [2024/05/06 09:31:56.356 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:308, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:56.355 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 09:31:56.356 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:308, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:56.355 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add index drop_columns_idx(c41)"] [2024/05/06 09:31:56.360 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:308, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.355 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.360 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=308] [conn=3] [category=ddl] [job="ID:308, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.355 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.360 +00:00] [INFO] [index.go:654] ["run add index job"] [category=ddl] [job="ID:308, Type:add index, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:56.355 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [indexInfo="{\"id\":31,\"idx_name\":{\"O\":\"drop_columns_idx\",\"L\":\"drop_columns_idx\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"c41\",\"L\":\"c41\"},\"offset\":5,\"length\":-1}],\"state\":0,\"backfill_state\":0,\"comment\":\"\",\"index_type\":1,\"is_unique\":false,\"is_primary\":false,\"is_invisible\":false,\"is_global\":false,\"mv_index\":false}"] [2024/05/06 09:31:56.360 +00:00] [INFO] [index.go:817] ["fallback to txn-merge backfill process"] [category=ddl] ["lightning env initialized"=false] [2024/05/06 09:31:56.361 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:308, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:56.355 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.362 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=651] [neededSchemaVersion=652] ["start time"=388.708µs] [gotSchemaVersion=652] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 09:31:56.364 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=308] [version=652] [2024/05/06 09:31:56.364 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=652] ["take time"=2.029694ms] [job="ID:308, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:56.355 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.365 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:308, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:56.355 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.370 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:308, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.355 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.371 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=308] [conn=3] [category=ddl] [job="ID:308, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.355 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.371 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:308, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:56.355 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.373 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=652] [neededSchemaVersion=653] ["start time"=508.438µs] [gotSchemaVersion=653] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 09:31:56.374 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=308] [version=653] [2024/05/06 09:31:56.376 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=653] ["take time"=3.162788ms] [job="ID:308, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:56.355 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.376 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:308, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:56.355 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.381 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:308, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.355 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.381 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=308] [conn=3] [category=ddl] [job="ID:308, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.355 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.382 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:308, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:56.355 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.384 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=653] [neededSchemaVersion=654] ["start time"=543.731µs] [gotSchemaVersion=654] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 09:31:56.386 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=308] [version=654] [2024/05/06 09:31:56.388 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=654] ["take time"=4.409272ms] [job="ID:308, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:56.355 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.389 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:308, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:56.355 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.395 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:308, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.355 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.395 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=308] [conn=3] [category=ddl] [job="ID:308, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.355 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.395 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=308] [table=t] ["ingest mode"=false] [index=drop_columns_idx] [2024/05/06 09:31:56.396 +00:00] [INFO] [reorg.go:718] ["job get table range"] [category=ddl] [jobID=308] [physicalTableID=111] [startKey=74800000000000006f5f728000000000000001] [endKey=74800000000000006f5f72800000000000080100] [2024/05/06 09:31:56.399 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:308, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:56.355 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792355450880, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.400 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=308] [2024/05/06 09:31:56.400 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:308, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:56.355 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792355450880, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.406 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:308, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.355 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792355450880, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.406 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=308] [conn=3] [category=ddl] [job="ID:308, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.355 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792355450880, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.406 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=308] [table=t] ["ingest mode"=false] [index=drop_columns_idx] [2024/05/06 09:31:56.408 +00:00] [INFO] [index.go:1931] ["start to add table index"] [category=ddl] [job="ID:308, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:56.355 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792355450880, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:31,StartKey:74800000000000006f5f728000000000000001,EndKey:74800000000000006f5f72800000000000080100,First:false,PhysicalTableID:111,Ingest mode:false"] [2024/05/06 09:31:56.409 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=111] ["start key"=74800000000000006f5f728000000000000001] ["end key"=74800000000000006f5f72800000000000080100] [2024/05/06 09:31:56.409 +00:00] [INFO] [backfilling.go:692] ["start backfill workers to reorg record"] [category=ddl] [type="add index"] [workerCnt=1] [regionCnt=1] [startKey=74800000000000006f5f728000000000000001] [endKey=74800000000000006f5f72800000000000080100] [2024/05/06 09:31:56.409 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=111] ["end key"=74800000000000006f5f72800000000000080100] ["current end key"=74800000000000006f5f72800000000000080100] [2024/05/06 09:31:56.421 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 09:31:56.421 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:308, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:56.355 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792355450880, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.422 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=308] [2024/05/06 09:31:56.423 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:308, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:56.355 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792355450880, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.430 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:308, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.355 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792355450880, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.430 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=308] [conn=3] [category=ddl] [job="ID:308, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.355 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792355450880, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.430 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=308] [table=t] ["ingest mode"=false] [index=drop_columns_idx] [2024/05/06 09:31:56.442 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 09:31:56.443 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:308, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:56.355 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792355450880, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.443 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=308] [2024/05/06 09:31:56.444 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:308, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:56.355 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792355450880, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.451 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:308, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.355 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792355450880, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.451 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=308] [conn=3] [category=ddl] [job="ID:308, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.355 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792355450880, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.451 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=308] [table=t] ["ingest mode"=false] [index=drop_columns_idx] [2024/05/06 09:31:56.463 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 09:31:56.463 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:308, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:56.355 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792355450880, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.464 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=308] [2024/05/06 09:31:56.464 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:308, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:56.355 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792355450880, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.474 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:308, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.355 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792355450880, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.474 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=308] [conn=3] [category=ddl] [job="ID:308, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.355 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792355450880, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.474 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=308] [table=t] ["ingest mode"=false] [index=drop_columns_idx] [2024/05/06 09:31:56.487 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 09:31:56.487 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:308, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:56.355 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792355450880, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.487 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=308] [2024/05/06 09:31:56.488 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:308, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:56.355 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792355450880, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.494 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:308, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.355 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792355450880, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.494 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=308] [conn=3] [category=ddl] [job="ID:308, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.355 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792355450880, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.494 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=308] [table=t] ["ingest mode"=false] [index=drop_columns_idx] [2024/05/06 09:31:56.507 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 09:31:56.507 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:308, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:56.355 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792355450880, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.508 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=308] [2024/05/06 09:31:56.508 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:308, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:56.355 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792355450880, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.514 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:308, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.355 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792355450880, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.514 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=308] [conn=3] [category=ddl] [job="ID:308, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.355 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792355450880, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.515 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=308] [table=t] ["ingest mode"=false] [index=drop_columns_idx] [2024/05/06 09:31:56.565 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=448] [2024/05/06 09:31:56.565 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:308, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:448, ArgLen:6, start time: 2024-05-06 09:31:56.355 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792355450880, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.566 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=308] [2024/05/06 09:31:56.566 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:308, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:448, ArgLen:6, start time: 2024-05-06 09:31:56.355 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792355450880, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.571 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:308, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:448, ArgLen:0, start time: 2024-05-06 09:31:56.355 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792355450880, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.571 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=308] [conn=3] [category=ddl] [job="ID:308, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:448, ArgLen:0, start time: 2024-05-06 09:31:56.355 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792355450880, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.572 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=308] [table=t] ["ingest mode"=false] [index=drop_columns_idx] [2024/05/06 09:31:56.584 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp add index"] [task="taskID: 1, physicalTableID: 111, range: [74800000000000006f5f728000000000000001, 74800000000000006f5f72800000000000080100), jobID: 308"] ["added count"=2049] ["scan count"=2049] ["next key"=74800000000000006f5f72800000000000080100] ["take time"=74.513217ms] [2024/05/06 09:31:56.584 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp add index"] [jobID=308] [2024/05/06 09:31:56.584 +00:00] [INFO] [backfilling.go:632] ["backfill workers successfully processed"] [category=ddl] [element=ID:31,TypeKey:_idx_] ["total added count"=2049] ["start key"=74800000000000006f5f728000000000000001] [2024/05/06 09:31:56.584 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=2049] [2024/05/06 09:31:56.623 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:308, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:56.355 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792355450880, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.625 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=654] [neededSchemaVersion=655] ["start time"=555.556µs] [gotSchemaVersion=655] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 09:31:56.626 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=308] [version=655] [2024/05/06 09:31:56.628 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=655] ["take time"=4.020131ms] [job="ID:308, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:56.355 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792355450880, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.629 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:308, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:56.355 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792355450880, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.635 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:308, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:56.355 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792355450880, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.635 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=308] [conn=3] [category=ddl] [job="ID:308, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:56.355 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792355450880, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.636 +00:00] [INFO] [index.go:880] ["index backfill state ready to merge"] [category=ddl] ["job ID"=308] [table=t] [index=drop_columns_idx] [2024/05/06 09:31:56.636 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:308, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:56.355 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.638 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=655] [neededSchemaVersion=656] ["start time"=397.768µs] [gotSchemaVersion=656] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 09:31:56.639 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=308] [version=656] [2024/05/06 09:31:56.639 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=656] ["take time"=2.013195ms] [job="ID:308, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:56.355 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.640 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:308, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:56.355 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.647 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:308, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:56.355 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.647 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=308] [conn=3] [category=ddl] [job="ID:308, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:56.355 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.648 +00:00] [INFO] [reorg.go:718] ["job get table range"] [category=ddl] [jobID=308] [physicalTableID=111] [startKey=74800000000000006f5f69ffff00000000001f] [endKey=74800000000000006f5f69ffff00000000001fff] [2024/05/06 09:31:56.650 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:308, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:56.355 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792421773312, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.651 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=308] [2024/05/06 09:31:56.652 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:308, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:56.355 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792421773312, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.659 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:308, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:56.355 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792421773312, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.659 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=308] [conn=3] [category=ddl] [job="ID:308, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:56.355 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792421773312, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.661 +00:00] [INFO] [index.go:1928] ["start to merge temp index"] [category=ddl] [job="ID:308, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:56.355 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792421773312, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:31,StartKey:74800000000000006f5f69ffff00000000001f,EndKey:74800000000000006f5f69ffff00000000001fff,First:false,PhysicalTableID:111,Ingest mode:false"] [2024/05/06 09:31:56.662 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=111] ["start key"=74800000000000006f5f69ffff00000000001f] ["end key"=74800000000000006f5f69ffff00000000001fff] [2024/05/06 09:31:56.662 +00:00] [INFO] [backfilling.go:692] ["start backfill workers to reorg record"] [category=ddl] [type="merge temporary index"] [workerCnt=1] [regionCnt=1] [startKey=74800000000000006f5f69ffff00000000001f] [endKey=74800000000000006f5f69ffff00000000001fff] [2024/05/06 09:31:56.663 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=111] ["end key"=74800000000000006f5f69ffff00000000001fff] ["current end key"=74800000000000006f5f69ffff00000000001f00] [2024/05/06 09:31:56.717 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=2049] [2024/05/06 09:31:56.717 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:308, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:56.355 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792421773312, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.718 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=308] [2024/05/06 09:31:56.718 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:308, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:56.355 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792421773312, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.724 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:308, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:56.355 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792421773312, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.724 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=308] [conn=3] [category=ddl] [job="ID:308, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:56.355 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792421773312, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.770 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [task="taskID: 1, physicalTableID: 111, range: [74800000000000006f5f69ffff00000000001f, 74800000000000006f5f69ffff00000000001f00), jobID: 308"] ["added count"=0] ["scan count"=0] ["next key"=74800000000000006f5f69ffff00000000001f0000] ["take time"=158.977µs] [2024/05/06 09:31:56.770 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [jobID=308] [2024/05/06 09:31:56.770 +00:00] [INFO] [backfilling.go:632] ["backfill workers successfully processed"] [category=ddl] [element=ID:31,TypeKey:_idx_] ["total added count"=2049] ["start key"=74800000000000006f5f69ffff00000000001f] [2024/05/06 09:31:56.774 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=2049] [2024/05/06 09:31:56.774 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:308, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:56.355 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792421773312, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.775 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=308] [2024/05/06 09:31:56.775 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:308, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:56.355 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792421773312, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.781 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:308, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:56.355 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792421773312, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.781 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=308] [conn=3] [category=ddl] [job="ID:308, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:56.355 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792421773312, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.784 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=2049] [2024/05/06 09:31:56.825 +00:00] [INFO] [index.go:781] ["run add index job done"] [category=ddl] [charset=utf8mb4] [collation=utf8mb4_bin] [2024/05/06 09:31:56.825 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:308, Type:add index, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 09:31:56.355 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792421773312, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.827 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=656] [neededSchemaVersion=657] ["start time"=571.25µs] [gotSchemaVersion=657] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 09:31:56.829 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=308] [version=657] [2024/05/06 09:31:56.832 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=657] ["take time"=4.881959ms] [job="ID:308, Type:add index, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 09:31:56.355 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792421773312, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.833 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:308, Type:add index, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 09:31:56.355 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792421773312, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.839 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=308] [tableID=111] [indexIDs="[9223090561878065183]"] [comment="add index: physical table ID(s)"] [2024/05/06 09:31:56.840 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=308] [jobType="add index"] [2024/05/06 09:31:56.841 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=308] [conn=3] [job="ID:308, Type:add index, State:synced, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 09:31:56.355 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792421773312, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.846 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=308] [elementID=1] [startKey=74800000000000006f5f69ffff00000000001f] [endKey=74800000000000006f5f69ffff000000000020] [2024/05/06 09:31:56.847 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:308, Type:add index, State:synced, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 09:31:56.355 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792421773312, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.849 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=308] [2024/05/06 09:31:56.849 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:31:56.850 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=657] [cur_db=test] [sql="alter table t drop column c41, drop column c42"] [user=] [2024/05/06 09:31:56.856 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:309, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.851 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 09:31:56.856 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:309, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.851 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t drop column c41, drop column c42"] [2024/05/06 09:31:56.862 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:309, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.851 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.864 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=309] [conn=3] [category=ddl] [job="ID:309, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.851 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 09:31:56.864 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:309, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.851 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.865 +00:00] [WARN] [session.go:813] ["can not retry txn"] [label=internal] [error="[kv:9007]Write conflict, txnStartTS=449573792477872128, conflictStartTS=449573792477872129, conflictCommitTS=449573792478134272, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=309}, originalKey=748000fffffffffffe5f728000000000000135, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [IsBatchInsert=false] [IsPessimistic=false] [InRestrictedSQL=true] [tidb_retry_limit=10] [tidb_disable_txn_auto_retry=true] [2024/05/06 09:31:56.865 +00:00] [WARN] [session.go:829] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[kv:9007]Write conflict, txnStartTS=449573792477872128, conflictStartTS=449573792477872129, conflictCommitTS=449573792478134272, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=309}, originalKey=748000fffffffffffe5f728000000000000135, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [2024/05/06 09:31:56.865 +00:00] [INFO] [job_table.go:465] ["handle ddl job failed"] [worker="worker 6, tp general"] [category=ddl] [error="[kv:9007]Write conflict, txnStartTS=449573792477872128, conflictStartTS=449573792477872129, conflictCommitTS=449573792478134272, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=309}, originalKey=748000fffffffffffe5f728000000000000135, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [job="ID:309, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.851 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.870 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:309, Type:alter table multi-schema change, State:cancelling, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.851 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.870 +00:00] [INFO] [rollingback.go:559] ["the DDL job is cancelled normally"] [worker="worker 6, tp general"] [category=ddl] [jobID=309] [conn=3] [job="ID:309, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.851 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [error="[ddl:8214]Cancelled DDL job"] [2024/05/06 09:31:56.870 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:309, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.851 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.880 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=309] [2024/05/06 09:31:56.881 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:309, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.851 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.885 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:309, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.851 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.885 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:309, Type:alter table multi-schema change, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.851 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.891 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=309] [2024/05/06 09:31:56.892 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:309, Type:alter table multi-schema change, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.851 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.897 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=309] [conn=3] [job="ID:309, Type:alter table multi-schema change, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.851 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.900 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=309] [2024/05/06 09:31:56.900 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=309] [2024/05/06 09:31:56.900 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 09:31:56.900 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:309, Type:alter table multi-schema change, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.851 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.900 +00:00] [WARN] [session.go:2153] ["run statement failed"] [schemaVersion=657] [error="[ddl:8214]Cancelled DDL job"] [errorVerbose="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).DoDDLJob\n\tpkg/ddl/ddl.go:1293\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).MultiSchemaChange\n\tpkg/ddl/multi_schema_change.go:66\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AlterTable\n\tpkg/ddl/ddl_api.go:4095\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeAlterTable\n\tpkg/executor/ddl.go:388\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:152\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1211\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:960\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:794\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:559\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2280\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:469\ngithub.com/pingcap/tidb/pkg/ddl_test.TestCancel\n\tpkg/ddl/cancel_test.go:289\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 3,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 09:31:56.901 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=657] [cur_db=test] [sql="alter table t drop column c41, drop column c42"] [user=] [2024/05/06 09:31:56.905 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:310, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.902 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 09:31:56.905 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:310, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.902 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t drop column c41, drop column c42"] [2024/05/06 09:31:56.912 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:310, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.902 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.912 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=310] [conn=3] [category=ddl] [job="ID:310, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.902 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 09:31:56.915 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:310, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.902 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.916 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=310] [2024/05/06 09:31:56.916 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:310, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.902 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.922 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:310, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.902 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.922 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=310] [conn=3] [category=ddl] [job="ID:310, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.902 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 09:31:56.923 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:310, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.902 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.924 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=310] [2024/05/06 09:31:56.924 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:310, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.902 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.930 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:310, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.902 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.930 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=310] [conn=3] [category=ddl] [job="ID:310, Type:drop column, State:running, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.902 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 09:31:56.931 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=310] [conn=3] [category=ddl] [job="ID:310, Type:drop column, State:running, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.902 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 09:31:56.931 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:310, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.902 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.933 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=657] [neededSchemaVersion=658] ["start time"=532.445µs] [gotSchemaVersion=658] [phyTblIDs="[111]"] [actionTypes="[61]"] [diffTypes="[\"alter table multi-schema change\"]"] [2024/05/06 09:31:56.934 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=310] [version=658] [2024/05/06 09:31:56.935 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=658] ["take time"=2.547228ms] [job="ID:310, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.902 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.936 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:310, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.902 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.939 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:310, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.902 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.939 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=310] [conn=3] [category=ddl] [job="ID:310, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.902 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 09:31:56.940 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:310, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.902 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.942 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=658] [neededSchemaVersion=659] ["start time"=563.968µs] [gotSchemaVersion=659] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 09:31:56.944 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=310] [version=659] [2024/05/06 09:31:56.946 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=659] ["take time"=4.465979ms] [job="ID:310, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.902 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.947 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:310, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.902 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.952 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:310, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.902 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.952 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=310] [conn=3] [category=ddl] [job="ID:310, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.902 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 09:31:56.953 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:310, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.902 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.955 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=659] [neededSchemaVersion=660] ["start time"=526.408µs] [gotSchemaVersion=660] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 09:31:56.957 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=310] [version=660] [2024/05/06 09:31:56.959 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=660] ["take time"=4.854494ms] [job="ID:310, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.902 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.960 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:310, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.902 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.965 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:310, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.902 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.965 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=310] [conn=3] [category=ddl] [job="ID:310, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.902 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 09:31:56.966 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:310, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.902 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.969 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=660] [neededSchemaVersion=661] ["start time"=509.35µs] [gotSchemaVersion=661] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 09:31:56.970 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=310] [version=661] [2024/05/06 09:31:56.970 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=661] ["take time"=2.014456ms] [job="ID:310, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.902 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.971 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:310, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.902 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.975 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:310, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.902 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.975 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=310] [conn=3] [category=ddl] [job="ID:310, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.902 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 09:31:56.976 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:310, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.902 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.978 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=661] [neededSchemaVersion=662] ["start time"=517.316µs] [gotSchemaVersion=662] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 09:31:56.979 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=310] [version=662] [2024/05/06 09:31:56.979 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=662] ["take time"=2.01864ms] [job="ID:310, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.902 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.980 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:310, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.902 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.985 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:310, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.902 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.985 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=310] [conn=3] [category=ddl] [job="ID:310, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.902 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 09:31:56.986 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:310, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.902 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.988 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=662] [neededSchemaVersion=663] ["start time"=518.014µs] [gotSchemaVersion=663] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 09:31:56.989 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=310] [version=663] [2024/05/06 09:31:56.989 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=663] ["take time"=2.026996ms] [job="ID:310, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.902 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.990 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:310, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.902 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.994 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:310, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.902 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.995 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=310] [conn=3] [category=ddl] [job="ID:310, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.902 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 09:31:56.995 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:310, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.902 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:56.998 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=663] [neededSchemaVersion=664] ["start time"=456.795µs] [gotSchemaVersion=664] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 09:31:56.999 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=310] [version=664] [2024/05/06 09:31:57.000 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=664] ["take time"=2.730612ms] [job="ID:310, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.902 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.001 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:310, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.902 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.004 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:310, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.902 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.004 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:310, Type:alter table multi-schema change, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.902 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.005 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=310] [2024/05/06 09:31:57.006 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:310, Type:alter table multi-schema change, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.902 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.009 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=310] [tableID=111] [indexIDs="[31]"] [comment="drop column: table ID"] [2024/05/06 09:31:57.010 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=310] [jobType="alter table multi-schema change"] [2024/05/06 09:31:57.010 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=310] [conn=3] [job="ID:310, Type:alter table multi-schema change, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.902 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.013 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:310, Type:alter table multi-schema change, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:56.902 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.015 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=310] [2024/05/06 09:31:57.015 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:31:57.015 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=664] [cur_db=test] [sql="alter table t add column c41 bigint, add column c42 bigint"] [user=] [2024/05/06 09:31:57.018 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:311, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.016 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 09:31:57.018 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:311, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.016 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add column c41 bigint, add column c42 bigint"] [2024/05/06 09:31:57.022 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=310] [elementID=1] [startKey=74800000000000006f5f69800000000000001f] [endKey=74800000000000006f5f698000000000000020] [2024/05/06 09:31:57.023 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:311, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.016 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.024 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=311] [conn=3] [category=ddl] [job="ID:311, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.016 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 09:31:57.024 +00:00] [INFO] [column.go:135] ["run add column job"] [category=ddl] [job="ID:311, Type:add column, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:57.016 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [columnInfo="{\"id\":55,\"name\":{\"O\":\"c41\",\"L\":\"c41\"},\"offset\":5,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{},\"state\":0,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2}"] [2024/05/06 09:31:57.024 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:311, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.016 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.026 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=664] [neededSchemaVersion=665] ["start time"=504.645µs] [gotSchemaVersion=665] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:57.028 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=311] [version=665] [2024/05/06 09:31:57.028 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=665] ["take time"=2.235305ms] [job="ID:311, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.016 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.029 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:311, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.016 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.034 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:311, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.016 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.034 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=311] [conn=3] [category=ddl] [job="ID:311, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.016 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 09:31:57.035 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:311, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.016 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.037 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=665] [neededSchemaVersion=666] ["start time"=487.556µs] [gotSchemaVersion=666] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:57.039 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=311] [version=666] [2024/05/06 09:31:57.045 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=666] ["take time"=8.686828ms] [job="ID:311, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.016 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.047 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:311, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.016 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.051 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:311, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.016 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.051 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=311] [conn=3] [category=ddl] [job="ID:311, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.016 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 09:31:57.052 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:311, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.016 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.054 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=666] [neededSchemaVersion=667] ["start time"=337.906µs] [gotSchemaVersion=667] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:57.055 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=311] [version=667] [2024/05/06 09:31:57.056 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=667] ["take time"=3.019691ms] [job="ID:311, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.016 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.057 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:311, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.016 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.061 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:311, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.016 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.061 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=311] [conn=3] [category=ddl] [job="ID:311, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.016 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 09:31:57.061 +00:00] [INFO] [column.go:135] ["run add column job"] [category=ddl] [job="ID:311, Type:add column, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:57.016 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [columnInfo="{\"id\":56,\"name\":{\"O\":\"c42\",\"L\":\"c42\"},\"offset\":6,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{},\"state\":0,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2}"] [2024/05/06 09:31:57.062 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:311, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.016 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.064 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=667] [neededSchemaVersion=668] ["start time"=367.938µs] [gotSchemaVersion=668] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:57.065 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=311] [version=668] [2024/05/06 09:31:57.066 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=668] ["take time"=2.388247ms] [job="ID:311, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.016 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.067 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:311, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.016 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.069 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:311, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.016 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.069 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=311] [conn=3] [category=ddl] [job="ID:311, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.016 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 09:31:57.070 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:311, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.016 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.072 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=668] [neededSchemaVersion=669] ["start time"=353.695µs] [gotSchemaVersion=669] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:57.072 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=311] [version=669] [2024/05/06 09:31:57.073 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=669] ["take time"=2.189769ms] [job="ID:311, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.016 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.074 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:311, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.016 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.078 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:311, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.016 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.078 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=311] [conn=3] [category=ddl] [job="ID:311, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.016 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 09:31:57.079 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:311, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.016 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.081 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=669] [neededSchemaVersion=670] ["start time"=342.98µs] [gotSchemaVersion=670] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:57.082 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=311] [version=670] [2024/05/06 09:31:57.084 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=670] ["take time"=2.924837ms] [job="ID:311, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.016 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.085 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:311, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.016 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.092 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:311, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.016 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.093 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=311] [conn=3] [category=ddl] [job="ID:311, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.016 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 09:31:57.093 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=311] [conn=3] [category=ddl] [job="ID:311, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.016 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 09:31:57.094 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:311, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.016 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.096 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=670] [neededSchemaVersion=671] ["start time"=486.008µs] [gotSchemaVersion=671] [phyTblIDs="[111]"] [actionTypes="[61]"] [diffTypes="[\"alter table multi-schema change\"]"] [2024/05/06 09:31:57.098 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=311] [version=671] [2024/05/06 09:31:57.104 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=671] ["take time"=7.735585ms] [job="ID:311, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.016 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.105 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:311, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.016 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.108 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:311, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.016 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.108 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:311, Type:alter table multi-schema change, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.016 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.109 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=311] [2024/05/06 09:31:57.110 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:311, Type:alter table multi-schema change, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.016 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.113 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=311] [conn=3] [job="ID:311, Type:alter table multi-schema change, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.016 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.116 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:311, Type:alter table multi-schema change, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.016 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.117 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=311] [2024/05/06 09:31:57.117 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:31:57.117 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=671] [cur_db=test] [sql="alter table t add index drop_columns_idx(c41)"] [user=] [2024/05/06 09:31:57.120 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:312, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:57.119 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 09:31:57.120 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:312, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:57.119 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add index drop_columns_idx(c41)"] [2024/05/06 09:31:57.126 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:312, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.119 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.126 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=312] [conn=3] [category=ddl] [job="ID:312, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.119 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.126 +00:00] [INFO] [index.go:654] ["run add index job"] [category=ddl] [job="ID:312, Type:add index, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:57.119 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [indexInfo="{\"id\":32,\"idx_name\":{\"O\":\"drop_columns_idx\",\"L\":\"drop_columns_idx\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"c41\",\"L\":\"c41\"},\"offset\":5,\"length\":-1}],\"state\":0,\"backfill_state\":0,\"comment\":\"\",\"index_type\":1,\"is_unique\":false,\"is_primary\":false,\"is_invisible\":false,\"is_global\":false,\"mv_index\":false}"] [2024/05/06 09:31:57.126 +00:00] [INFO] [index.go:817] ["fallback to txn-merge backfill process"] [category=ddl] ["lightning env initialized"=false] [2024/05/06 09:31:57.127 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:312, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:57.119 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.129 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=671] [neededSchemaVersion=672] ["start time"=494.699µs] [gotSchemaVersion=672] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 09:31:57.130 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=312] [version=672] [2024/05/06 09:31:57.131 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=672] ["take time"=2.560915ms] [job="ID:312, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:57.119 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.132 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:312, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:57.119 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.138 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:312, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.119 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.138 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=312] [conn=3] [category=ddl] [job="ID:312, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.119 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.139 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:312, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:57.119 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.141 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=672] [neededSchemaVersion=673] ["start time"=383.879µs] [gotSchemaVersion=673] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 09:31:57.142 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=312] [version=673] [2024/05/06 09:31:57.143 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=673] ["take time"=2.260967ms] [job="ID:312, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:57.119 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.143 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:312, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:57.119 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.150 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:312, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.119 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.150 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=312] [conn=3] [category=ddl] [job="ID:312, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.119 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.150 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:312, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:57.119 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.152 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=673] [neededSchemaVersion=674] ["start time"=518.549µs] [gotSchemaVersion=674] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 09:31:57.154 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=312] [version=674] [2024/05/06 09:31:57.154 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=674] ["take time"=2.625945ms] [job="ID:312, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:57.119 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.155 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:312, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:57.119 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.160 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:312, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.119 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.160 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=312] [conn=3] [category=ddl] [job="ID:312, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.119 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.161 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=312] [table=t] ["ingest mode"=false] [index=drop_columns_idx] [2024/05/06 09:31:57.161 +00:00] [INFO] [reorg.go:718] ["job get table range"] [category=ddl] [jobID=312] [physicalTableID=111] [startKey=74800000000000006f5f728000000000000001] [endKey=74800000000000006f5f72800000000000080100] [2024/05/06 09:31:57.163 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:312, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:57.119 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792556253184, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.164 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=312] [2024/05/06 09:31:57.165 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:312, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:57.119 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792556253184, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.170 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:312, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.119 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792556253184, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.170 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=312] [conn=3] [category=ddl] [job="ID:312, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.119 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792556253184, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.170 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=312] [table=t] ["ingest mode"=false] [index=drop_columns_idx] [2024/05/06 09:31:57.172 +00:00] [INFO] [index.go:1931] ["start to add table index"] [category=ddl] [job="ID:312, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:57.119 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792556253184, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:32,StartKey:74800000000000006f5f728000000000000001,EndKey:74800000000000006f5f72800000000000080100,First:false,PhysicalTableID:111,Ingest mode:false"] [2024/05/06 09:31:57.172 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=111] ["start key"=74800000000000006f5f728000000000000001] ["end key"=74800000000000006f5f72800000000000080100] [2024/05/06 09:31:57.172 +00:00] [INFO] [backfilling.go:692] ["start backfill workers to reorg record"] [category=ddl] [type="add index"] [workerCnt=1] [regionCnt=1] [startKey=74800000000000006f5f728000000000000001] [endKey=74800000000000006f5f72800000000000080100] [2024/05/06 09:31:57.173 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=111] ["end key"=74800000000000006f5f72800000000000080100] ["current end key"=74800000000000006f5f72800000000000080100] [2024/05/06 09:31:57.182 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 09:31:57.182 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:312, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:57.119 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792556253184, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.182 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=312] [2024/05/06 09:31:57.183 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:312, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:57.119 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792556253184, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.188 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:312, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.119 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792556253184, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.188 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=312] [conn=3] [category=ddl] [job="ID:312, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.119 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792556253184, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.189 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=312] [table=t] ["ingest mode"=false] [index=drop_columns_idx] [2024/05/06 09:31:57.201 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 09:31:57.201 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:312, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:57.119 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792556253184, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.202 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=312] [2024/05/06 09:31:57.202 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:312, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:57.119 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792556253184, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.208 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:312, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.119 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792556253184, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.208 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=312] [conn=3] [category=ddl] [job="ID:312, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.119 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792556253184, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.208 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=312] [table=t] ["ingest mode"=false] [index=drop_columns_idx] [2024/05/06 09:31:57.220 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 09:31:57.220 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:312, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:57.119 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792556253184, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.220 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=312] [2024/05/06 09:31:57.221 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:312, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:57.119 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792556253184, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.226 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:312, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.119 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792556253184, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.227 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=312] [conn=3] [category=ddl] [job="ID:312, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.119 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792556253184, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.227 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=312] [table=t] ["ingest mode"=false] [index=drop_columns_idx] [2024/05/06 09:31:57.239 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 09:31:57.239 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:312, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:57.119 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792556253184, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.240 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=312] [2024/05/06 09:31:57.240 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:312, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:57.119 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792556253184, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.246 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:312, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.119 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792556253184, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.246 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=312] [conn=3] [category=ddl] [job="ID:312, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.119 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792556253184, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.247 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=312] [table=t] ["ingest mode"=false] [index=drop_columns_idx] [2024/05/06 09:31:57.259 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 09:31:57.259 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:312, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:57.119 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792556253184, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.260 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=312] [2024/05/06 09:31:57.260 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:312, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:57.119 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792556253184, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.266 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:312, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.119 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792556253184, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.267 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=312] [conn=3] [category=ddl] [job="ID:312, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.119 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792556253184, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.267 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=312] [table=t] ["ingest mode"=false] [index=drop_columns_idx] [2024/05/06 09:31:57.322 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=96] [2024/05/06 09:31:57.322 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:312, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:96, ArgLen:6, start time: 2024-05-06 09:31:57.119 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792556253184, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.323 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=312] [2024/05/06 09:31:57.323 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:312, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:96, ArgLen:6, start time: 2024-05-06 09:31:57.119 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792556253184, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.329 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:312, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:96, ArgLen:0, start time: 2024-05-06 09:31:57.119 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792556253184, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.329 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=312] [conn=3] [category=ddl] [job="ID:312, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:96, ArgLen:0, start time: 2024-05-06 09:31:57.119 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792556253184, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.330 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=312] [table=t] ["ingest mode"=false] [index=drop_columns_idx] [2024/05/06 09:31:57.348 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp add index"] [task="taskID: 1, physicalTableID: 111, range: [74800000000000006f5f728000000000000001, 74800000000000006f5f72800000000000080100), jobID: 312"] ["added count"=2049] ["scan count"=2049] ["next key"=74800000000000006f5f72800000000000080100] ["take time"=74.218945ms] [2024/05/06 09:31:57.348 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp add index"] [jobID=312] [2024/05/06 09:31:57.348 +00:00] [INFO] [backfilling.go:632] ["backfill workers successfully processed"] [category=ddl] [element=ID:32,TypeKey:_idx_] ["total added count"=2049] ["start key"=74800000000000006f5f728000000000000001] [2024/05/06 09:31:57.370 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=1824] [2024/05/06 09:31:57.370 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:312, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:1824, ArgLen:6, start time: 2024-05-06 09:31:57.119 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792556253184, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.371 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=312] [2024/05/06 09:31:57.371 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:312, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:1824, ArgLen:6, start time: 2024-05-06 09:31:57.119 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792556253184, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.376 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:312, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:1824, ArgLen:0, start time: 2024-05-06 09:31:57.119 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792556253184, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.376 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=312] [conn=3] [category=ddl] [job="ID:312, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:1824, ArgLen:0, start time: 2024-05-06 09:31:57.119 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792556253184, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.376 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=312] [table=t] ["ingest mode"=false] [index=drop_columns_idx] [2024/05/06 09:31:57.378 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=2049] [2024/05/06 09:31:57.411 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:312, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:57.119 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792556253184, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.413 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=674] [neededSchemaVersion=675] ["start time"=560.429µs] [gotSchemaVersion=675] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 09:31:57.416 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=312] [version=675] [2024/05/06 09:31:57.417 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=675] ["take time"=4.752364ms] [job="ID:312, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:57.119 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792556253184, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.419 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:312, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:57.119 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792556253184, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.424 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:312, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:57.119 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792556253184, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.424 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=312] [conn=3] [category=ddl] [job="ID:312, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:57.119 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792556253184, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.425 +00:00] [INFO] [index.go:880] ["index backfill state ready to merge"] [category=ddl] ["job ID"=312] [table=t] [index=drop_columns_idx] [2024/05/06 09:31:57.425 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:312, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:57.119 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.428 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=675] [neededSchemaVersion=676] ["start time"=625.416µs] [gotSchemaVersion=676] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 09:31:57.429 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=312] [version=676] [2024/05/06 09:31:57.440 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=676] ["take time"=13.225788ms] [job="ID:312, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:57.119 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.441 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:312, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:57.119 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.447 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:312, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:57.119 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.447 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=312] [conn=3] [category=ddl] [job="ID:312, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:57.119 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.447 +00:00] [INFO] [reorg.go:718] ["job get table range"] [category=ddl] [jobID=312] [physicalTableID=111] [startKey=74800000000000006f5f69ffff000000000020] [endKey=74800000000000006f5f69ffff000000000020ff] [2024/05/06 09:31:57.454 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:312, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:57.119 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792631226369, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.455 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=312] [2024/05/06 09:31:57.455 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:312, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:57.119 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792631226369, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.460 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:312, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:57.119 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792631226369, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.460 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=312] [conn=3] [category=ddl] [job="ID:312, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:57.119 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792631226369, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.465 +00:00] [INFO] [index.go:1928] ["start to merge temp index"] [category=ddl] [job="ID:312, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:57.119 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792631226369, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:32,StartKey:74800000000000006f5f69ffff000000000020,EndKey:74800000000000006f5f69ffff000000000020ff,First:false,PhysicalTableID:111,Ingest mode:false"] [2024/05/06 09:31:57.466 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=111] ["start key"=74800000000000006f5f69ffff000000000020] ["end key"=74800000000000006f5f69ffff000000000020ff] [2024/05/06 09:31:57.466 +00:00] [INFO] [backfilling.go:692] ["start backfill workers to reorg record"] [category=ddl] [type="merge temporary index"] [workerCnt=1] [regionCnt=1] [startKey=74800000000000006f5f69ffff000000000020] [endKey=74800000000000006f5f69ffff000000000020ff] [2024/05/06 09:31:57.467 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=111] ["end key"=74800000000000006f5f69ffff000000000020ff] ["current end key"=74800000000000006f5f69ffff00000000002000] [2024/05/06 09:31:57.514 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=2049] [2024/05/06 09:31:57.514 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:312, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:57.119 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792631226369, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.515 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=312] [2024/05/06 09:31:57.515 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:312, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:57.119 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792631226369, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.522 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:312, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:57.119 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792631226369, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.522 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=312] [conn=3] [category=ddl] [job="ID:312, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:57.119 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792631226369, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.567 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [task="taskID: 1, physicalTableID: 111, range: [74800000000000006f5f69ffff000000000020, 74800000000000006f5f69ffff00000000002000), jobID: 312"] ["added count"=0] ["scan count"=0] ["next key"=74800000000000006f5f69ffff0000000000200000] ["take time"=183.931µs] [2024/05/06 09:31:57.567 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [jobID=312] [2024/05/06 09:31:57.567 +00:00] [INFO] [backfilling.go:632] ["backfill workers successfully processed"] [category=ddl] [element=ID:32,TypeKey:_idx_] ["total added count"=2049] ["start key"=74800000000000006f5f69ffff000000000020] [2024/05/06 09:31:57.569 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=2049] [2024/05/06 09:31:57.569 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:312, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:57.119 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792631226369, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.570 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=312] [2024/05/06 09:31:57.570 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:312, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:57.119 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792631226369, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.576 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:312, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:57.119 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792631226369, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.576 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=312] [conn=3] [category=ddl] [job="ID:312, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:57.119 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792631226369, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.578 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=2049] [2024/05/06 09:31:57.619 +00:00] [INFO] [index.go:781] ["run add index job done"] [category=ddl] [charset=utf8mb4] [collation=utf8mb4_bin] [2024/05/06 09:31:57.620 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:312, Type:add index, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 09:31:57.119 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792631226369, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.622 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=676] [neededSchemaVersion=677] ["start time"=523.126µs] [gotSchemaVersion=677] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 09:31:57.623 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=312] [version=677] [2024/05/06 09:31:57.623 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=677] ["take time"=2.019859ms] [job="ID:312, Type:add index, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 09:31:57.119 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792631226369, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.626 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:312, Type:add index, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 09:31:57.119 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792631226369, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.637 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=312] [tableID=111] [indexIDs="[9223090561878065184]"] [comment="add index: physical table ID(s)"] [2024/05/06 09:31:57.638 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=312] [jobType="add index"] [2024/05/06 09:31:57.638 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=312] [conn=3] [job="ID:312, Type:add index, State:synced, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 09:31:57.119 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792631226369, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.641 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=312] [elementID=1] [startKey=74800000000000006f5f69ffff000000000020] [endKey=74800000000000006f5f69ffff000000000021] [2024/05/06 09:31:57.642 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:312, Type:add index, State:synced, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 09:31:57.119 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792631226369, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.645 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=312] [2024/05/06 09:31:57.645 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:31:57.645 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=677] [cur_db=test] [sql="alter table t drop column c41, drop column c42"] [user=] [2024/05/06 09:31:57.649 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:313, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.647 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 09:31:57.649 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:313, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.647 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t drop column c41, drop column c42"] [2024/05/06 09:31:57.655 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:313, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.647 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.655 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=313] [conn=3] [category=ddl] [job="ID:313, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.647 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 09:31:57.656 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:313, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.647 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.657 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=313] [2024/05/06 09:31:57.658 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:313, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.647 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.661 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:313, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.647 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.662 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=313] [conn=3] [category=ddl] [job="ID:313, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.647 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 09:31:57.662 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:313, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.647 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.663 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=313] [2024/05/06 09:31:57.663 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:313, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.647 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.670 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:313, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.647 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.670 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=313] [conn=3] [category=ddl] [job="ID:313, Type:drop column, State:running, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.647 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 09:31:57.671 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=313] [conn=3] [category=ddl] [job="ID:313, Type:drop column, State:running, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.647 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 09:31:57.672 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:313, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.647 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.674 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=677] [neededSchemaVersion=678] ["start time"=369.057µs] [gotSchemaVersion=678] [phyTblIDs="[111]"] [actionTypes="[61]"] [diffTypes="[\"alter table multi-schema change\"]"] [2024/05/06 09:31:57.675 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=313] [version=678] [2024/05/06 09:31:57.676 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=678] ["take time"=2.349997ms] [job="ID:313, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.647 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.676 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:313, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.647 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.680 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:313, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.647 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.680 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=313] [conn=3] [category=ddl] [job="ID:313, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.647 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 09:31:57.681 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:313, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.647 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.683 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=678] [neededSchemaVersion=679] ["start time"=594.995µs] [gotSchemaVersion=679] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 09:31:57.685 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=313] [version=679] [2024/05/06 09:31:57.688 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=679] ["take time"=5.626716ms] [job="ID:313, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.647 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.690 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:313, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.647 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.695 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:313, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.647 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.695 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=313] [conn=3] [category=ddl] [job="ID:313, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.647 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 09:31:57.695 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:313, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.647 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.698 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=679] [neededSchemaVersion=680] ["start time"=580.103µs] [gotSchemaVersion=680] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 09:31:57.699 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=313] [version=680] [2024/05/06 09:31:57.699 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=680] ["take time"=2.062062ms] [job="ID:313, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.647 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.700 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:313, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.647 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.705 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:313, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.647 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.705 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=313] [conn=3] [category=ddl] [job="ID:313, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.647 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 09:31:57.707 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:313, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.647 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.720 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=680] [neededSchemaVersion=681] ["start time"=10.201889ms] [gotSchemaVersion=681] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 09:31:57.722 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=313] [version=681] [2024/05/06 09:31:57.724 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=681] ["take time"=14.316178ms] [job="ID:313, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.647 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.725 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:313, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.647 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.728 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:313, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.647 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.728 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=313] [conn=3] [category=ddl] [job="ID:313, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.647 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 09:31:57.729 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:313, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.647 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.731 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=681] [neededSchemaVersion=682] ["start time"=387.886µs] [gotSchemaVersion=682] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 09:31:57.733 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=313] [version=682] [2024/05/06 09:31:57.733 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=682] ["take time"=2.500893ms] [job="ID:313, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.647 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.734 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:313, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.647 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.738 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:313, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.647 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.738 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=313] [conn=3] [category=ddl] [job="ID:313, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.647 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 09:31:57.739 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:313, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.647 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.741 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=682] [neededSchemaVersion=683] ["start time"=483.441µs] [gotSchemaVersion=683] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 09:31:57.742 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=313] [version=683] [2024/05/06 09:31:57.743 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=683] ["take time"=2.082929ms] [job="ID:313, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.647 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.743 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:313, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.647 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.746 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:313, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.647 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.746 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=313] [conn=3] [category=ddl] [job="ID:313, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.647 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 09:31:57.747 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:313, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.647 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.749 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=683] [neededSchemaVersion=684] ["start time"=436.148µs] [gotSchemaVersion=684] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 09:31:57.750 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=313] [version=684] [2024/05/06 09:31:57.751 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=684] ["take time"=2.452119ms] [job="ID:313, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.647 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.752 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:313, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.647 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.755 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:313, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.647 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.755 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:313, Type:alter table multi-schema change, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.647 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.757 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=313] [2024/05/06 09:31:57.757 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:313, Type:alter table multi-schema change, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.647 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.761 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=313] [tableID=111] [indexIDs="[32]"] [comment="drop column: table ID"] [2024/05/06 09:31:57.762 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=313] [jobType="alter table multi-schema change"] [2024/05/06 09:31:57.762 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=313] [conn=3] [job="ID:313, Type:alter table multi-schema change, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.647 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.765 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:313, Type:alter table multi-schema change, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.647 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.767 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=313] [2024/05/06 09:31:57.767 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:31:57.769 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=684] [cur_db=test] [sql="alter table t add column c41 bigint, add column c42 bigint"] [user=] [2024/05/06 09:31:57.772 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:314, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.77 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 09:31:57.772 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:314, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.77 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add column c41 bigint, add column c42 bigint"] [2024/05/06 09:31:57.778 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=313] [elementID=1] [startKey=74800000000000006f5f698000000000000020] [endKey=74800000000000006f5f698000000000000021] [2024/05/06 09:31:57.784 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:314, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.77 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.784 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=314] [conn=3] [category=ddl] [job="ID:314, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.77 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 09:31:57.785 +00:00] [INFO] [column.go:135] ["run add column job"] [category=ddl] [job="ID:314, Type:add column, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:57.77 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [columnInfo="{\"id\":57,\"name\":{\"O\":\"c41\",\"L\":\"c41\"},\"offset\":5,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{},\"state\":0,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2}"] [2024/05/06 09:31:57.785 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:314, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.77 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.788 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=684] [neededSchemaVersion=685] ["start time"=552.029µs] [gotSchemaVersion=685] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:57.789 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=314] [version=685] [2024/05/06 09:31:57.794 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=685] ["take time"=7.180078ms] [job="ID:314, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.77 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.796 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:314, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.77 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.800 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:314, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.77 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.800 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=314] [conn=3] [category=ddl] [job="ID:314, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.77 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 09:31:57.802 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:314, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.77 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.804 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=685] [neededSchemaVersion=686] ["start time"=575.23µs] [gotSchemaVersion=686] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:57.805 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=314] [version=686] [2024/05/06 09:31:57.806 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=686] ["take time"=2.261116ms] [job="ID:314, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.77 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.806 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:314, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.77 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.810 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:314, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.77 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.810 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=314] [conn=3] [category=ddl] [job="ID:314, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.77 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 09:31:57.811 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:314, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.77 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.814 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=686] [neededSchemaVersion=687] ["start time"=365.342µs] [gotSchemaVersion=687] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:57.815 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=314] [version=687] [2024/05/06 09:31:57.818 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=687] ["take time"=5.093525ms] [job="ID:314, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.77 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.819 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:314, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.77 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.823 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:314, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.77 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.823 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=314] [conn=3] [category=ddl] [job="ID:314, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.77 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 09:31:57.823 +00:00] [INFO] [column.go:135] ["run add column job"] [category=ddl] [job="ID:314, Type:add column, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:57.77 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [columnInfo="{\"id\":58,\"name\":{\"O\":\"c42\",\"L\":\"c42\"},\"offset\":6,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{},\"state\":0,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2}"] [2024/05/06 09:31:57.824 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:314, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.77 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.826 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=687] [neededSchemaVersion=688] ["start time"=379.245µs] [gotSchemaVersion=688] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:57.827 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=314] [version=688] [2024/05/06 09:31:57.827 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=688] ["take time"=2.032439ms] [job="ID:314, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.77 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.828 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:314, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.77 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.832 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:314, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.77 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.832 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=314] [conn=3] [category=ddl] [job="ID:314, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.77 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 09:31:57.833 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:314, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.77 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.835 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=688] [neededSchemaVersion=689] ["start time"=536.655µs] [gotSchemaVersion=689] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:57.836 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=314] [version=689] [2024/05/06 09:31:57.837 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=689] ["take time"=2.572871ms] [job="ID:314, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.77 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.838 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:314, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.77 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.841 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:314, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.77 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.841 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=314] [conn=3] [category=ddl] [job="ID:314, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.77 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 09:31:57.842 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:314, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.77 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.844 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=689] [neededSchemaVersion=690] ["start time"=567.084µs] [gotSchemaVersion=690] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:57.845 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=314] [version=690] [2024/05/06 09:31:57.848 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=690] ["take time"=4.620615ms] [job="ID:314, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.77 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.849 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:314, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.77 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.855 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:314, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.77 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.857 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=314] [conn=3] [category=ddl] [job="ID:314, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.77 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 09:31:57.858 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=314] [conn=3] [category=ddl] [job="ID:314, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.77 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 09:31:57.858 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:314, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.77 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.861 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=690] [neededSchemaVersion=691] ["start time"=459.066µs] [gotSchemaVersion=691] [phyTblIDs="[111]"] [actionTypes="[61]"] [diffTypes="[\"alter table multi-schema change\"]"] [2024/05/06 09:31:57.862 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=314] [version=691] [2024/05/06 09:31:57.863 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=691] ["take time"=2.408134ms] [job="ID:314, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.77 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.864 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:314, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.77 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.868 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:314, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.77 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.868 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:314, Type:alter table multi-schema change, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.77 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.870 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=314] [2024/05/06 09:31:57.870 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:314, Type:alter table multi-schema change, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.77 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.880 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=314] [conn=3] [job="ID:314, Type:alter table multi-schema change, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.77 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.884 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:314, Type:alter table multi-schema change, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.77 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.884 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=314] [2024/05/06 09:31:57.884 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:31:57.885 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=691] [cur_db=test] [sql="alter table t add index drop_columns_idx(c41)"] [user=] [2024/05/06 09:31:57.887 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:315, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:57.886 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 09:31:57.887 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:315, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:57.886 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add index drop_columns_idx(c41)"] [2024/05/06 09:31:57.892 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:315, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.886 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.893 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=315] [conn=3] [category=ddl] [job="ID:315, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.886 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.893 +00:00] [INFO] [index.go:654] ["run add index job"] [category=ddl] [job="ID:315, Type:add index, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:57.886 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [indexInfo="{\"id\":33,\"idx_name\":{\"O\":\"drop_columns_idx\",\"L\":\"drop_columns_idx\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"c41\",\"L\":\"c41\"},\"offset\":5,\"length\":-1}],\"state\":0,\"backfill_state\":0,\"comment\":\"\",\"index_type\":1,\"is_unique\":false,\"is_primary\":false,\"is_invisible\":false,\"is_global\":false,\"mv_index\":false}"] [2024/05/06 09:31:57.893 +00:00] [INFO] [index.go:817] ["fallback to txn-merge backfill process"] [category=ddl] ["lightning env initialized"=false] [2024/05/06 09:31:57.893 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:315, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:57.886 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.896 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=691] [neededSchemaVersion=692] ["start time"=575.084µs] [gotSchemaVersion=692] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 09:31:57.897 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=315] [version=692] [2024/05/06 09:31:57.901 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=692] ["take time"=5.862632ms] [job="ID:315, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:57.886 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.902 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:315, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:57.886 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.908 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:315, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.886 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.908 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=315] [conn=3] [category=ddl] [job="ID:315, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.886 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.909 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:315, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:57.886 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.911 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=692] [neededSchemaVersion=693] ["start time"=410.975µs] [gotSchemaVersion=693] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 09:31:57.912 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=315] [version=693] [2024/05/06 09:31:57.913 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=693] ["take time"=2.06745ms] [job="ID:315, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:57.886 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.914 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:315, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:57.886 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.917 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:315, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.886 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.917 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=315] [conn=3] [category=ddl] [job="ID:315, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.886 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.918 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:315, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:57.886 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.920 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=693] [neededSchemaVersion=694] ["start time"=459.271µs] [gotSchemaVersion=694] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 09:31:57.921 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=315] [version=694] [2024/05/06 09:31:57.921 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=694] ["take time"=2.065686ms] [job="ID:315, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:57.886 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.922 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:315, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:57.886 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.928 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:315, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.886 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.928 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=315] [conn=3] [category=ddl] [job="ID:315, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.886 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.928 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=315] [table=t] ["ingest mode"=false] [index=drop_columns_idx] [2024/05/06 09:31:57.928 +00:00] [INFO] [reorg.go:718] ["job get table range"] [category=ddl] [jobID=315] [physicalTableID=111] [startKey=74800000000000006f5f728000000000000001] [endKey=74800000000000006f5f72800000000000080100] [2024/05/06 09:31:57.930 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:315, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:57.886 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792757317632, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.931 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=315] [2024/05/06 09:31:57.932 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:315, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:57.886 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792757317632, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.938 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:315, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.886 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792757317632, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.938 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=315] [conn=3] [category=ddl] [job="ID:315, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.886 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792757317632, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.938 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=315] [table=t] ["ingest mode"=false] [index=drop_columns_idx] [2024/05/06 09:31:57.940 +00:00] [INFO] [index.go:1931] ["start to add table index"] [category=ddl] [job="ID:315, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:57.886 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792757317632, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:33,StartKey:74800000000000006f5f728000000000000001,EndKey:74800000000000006f5f72800000000000080100,First:false,PhysicalTableID:111,Ingest mode:false"] [2024/05/06 09:31:57.941 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=111] ["start key"=74800000000000006f5f728000000000000001] ["end key"=74800000000000006f5f72800000000000080100] [2024/05/06 09:31:57.941 +00:00] [INFO] [backfilling.go:692] ["start backfill workers to reorg record"] [category=ddl] [type="add index"] [workerCnt=1] [regionCnt=1] [startKey=74800000000000006f5f728000000000000001] [endKey=74800000000000006f5f72800000000000080100] [2024/05/06 09:31:57.941 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=111] ["end key"=74800000000000006f5f72800000000000080100] ["current end key"=74800000000000006f5f72800000000000080100] [2024/05/06 09:31:57.950 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 09:31:57.951 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:315, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:57.886 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792757317632, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.951 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=315] [2024/05/06 09:31:57.952 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:315, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:57.886 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792757317632, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.957 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:315, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.886 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792757317632, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.957 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=315] [conn=3] [category=ddl] [job="ID:315, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.886 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792757317632, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.958 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=315] [table=t] ["ingest mode"=false] [index=drop_columns_idx] [2024/05/06 09:31:57.970 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 09:31:57.970 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:315, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:57.886 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792757317632, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.971 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=315] [2024/05/06 09:31:57.972 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:315, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:57.886 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792757317632, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.977 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:315, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.886 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792757317632, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.977 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=315] [conn=3] [category=ddl] [job="ID:315, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.886 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792757317632, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.977 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=315] [table=t] ["ingest mode"=false] [index=drop_columns_idx] [2024/05/06 09:31:57.989 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 09:31:57.990 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:315, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:57.886 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792757317632, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.990 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=315] [2024/05/06 09:31:57.991 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:315, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:57.886 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792757317632, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.997 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:315, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.886 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792757317632, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.997 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=315] [conn=3] [category=ddl] [job="ID:315, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.886 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792757317632, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:57.997 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=315] [table=t] ["ingest mode"=false] [index=drop_columns_idx] [2024/05/06 09:31:58.010 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 09:31:58.010 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:315, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:57.886 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792757317632, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:58.011 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=315] [2024/05/06 09:31:58.012 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:315, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:57.886 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792757317632, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:58.018 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:315, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.886 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792757317632, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:58.018 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=315] [conn=3] [category=ddl] [job="ID:315, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.886 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792757317632, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:58.018 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=315] [table=t] ["ingest mode"=false] [index=drop_columns_idx] [2024/05/06 09:31:58.030 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 09:31:58.030 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:315, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:57.886 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792757317632, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:58.031 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=315] [2024/05/06 09:31:58.031 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:315, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:57.886 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792757317632, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:58.036 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:315, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.886 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792757317632, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:58.036 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=315] [conn=3] [category=ddl] [job="ID:315, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:57.886 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792757317632, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:58.036 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=315] [table=t] ["ingest mode"=false] [index=drop_columns_idx] [2024/05/06 09:31:58.094 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=192] [2024/05/06 09:31:58.094 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:315, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:192, ArgLen:6, start time: 2024-05-06 09:31:57.886 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792757317632, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:58.095 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=315] [2024/05/06 09:31:58.095 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:315, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:192, ArgLen:6, start time: 2024-05-06 09:31:57.886 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792757317632, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:58.100 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:315, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:192, ArgLen:0, start time: 2024-05-06 09:31:57.886 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792757317632, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:58.100 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=315] [conn=3] [category=ddl] [job="ID:315, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:192, ArgLen:0, start time: 2024-05-06 09:31:57.886 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792757317632, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:58.101 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=315] [table=t] ["ingest mode"=false] [index=drop_columns_idx] [2024/05/06 09:31:58.121 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp add index"] [task="taskID: 1, physicalTableID: 111, range: [74800000000000006f5f728000000000000001, 74800000000000006f5f72800000000000080100), jobID: 315"] ["added count"=2049] ["scan count"=2049] ["next key"=74800000000000006f5f72800000000000080100] ["take time"=79.702443ms] [2024/05/06 09:31:58.121 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp add index"] [jobID=315] [2024/05/06 09:31:58.121 +00:00] [INFO] [backfilling.go:632] ["backfill workers successfully processed"] [category=ddl] [element=ID:33,TypeKey:_idx_] ["total added count"=2049] ["start key"=74800000000000006f5f728000000000000001] [2024/05/06 09:31:58.144 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=1792] [2024/05/06 09:31:58.144 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:315, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:1792, ArgLen:6, start time: 2024-05-06 09:31:57.886 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792757317632, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:58.145 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=315] [2024/05/06 09:31:58.145 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:315, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:1792, ArgLen:6, start time: 2024-05-06 09:31:57.886 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792757317632, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:58.151 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:315, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:1792, ArgLen:0, start time: 2024-05-06 09:31:57.886 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792757317632, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:58.151 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=315] [conn=3] [category=ddl] [job="ID:315, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:1792, ArgLen:0, start time: 2024-05-06 09:31:57.886 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792757317632, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:58.151 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=315] [table=t] ["ingest mode"=false] [index=drop_columns_idx] [2024/05/06 09:31:58.153 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=2049] [2024/05/06 09:31:58.191 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:315, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:57.886 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792757317632, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:58.194 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=694] [neededSchemaVersion=695] ["start time"=617.332µs] [gotSchemaVersion=695] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 09:31:58.195 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=315] [version=695] [2024/05/06 09:31:58.212 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=695] ["take time"=18.31446ms] [job="ID:315, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:57.886 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792757317632, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:58.213 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:315, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:57.886 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792757317632, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:58.219 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:315, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:57.886 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792757317632, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:58.219 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=315] [conn=3] [category=ddl] [job="ID:315, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:57.886 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792757317632, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:58.220 +00:00] [INFO] [index.go:880] ["index backfill state ready to merge"] [category=ddl] ["job ID"=315] [table=t] [index=drop_columns_idx] [2024/05/06 09:31:58.220 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:315, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:57.886 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:58.222 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=695] [neededSchemaVersion=696] ["start time"=551.09µs] [gotSchemaVersion=696] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 09:31:58.223 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=315] [version=696] [2024/05/06 09:31:58.226 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=696] ["take time"=4.01197ms] [job="ID:315, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:57.886 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:58.227 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:315, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:57.886 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:58.233 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:315, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:57.886 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:58.234 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=315] [conn=3] [category=ddl] [job="ID:315, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:57.886 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:58.234 +00:00] [INFO] [reorg.go:718] ["job get table range"] [category=ddl] [jobID=315] [physicalTableID=111] [startKey=74800000000000006f5f69ffff000000000021] [endKey=74800000000000006f5f69ffff000000000021ff] [2024/05/06 09:31:58.237 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:315, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:57.886 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792837533696, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:58.237 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=315] [2024/05/06 09:31:58.238 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:315, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:57.886 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792837533696, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:58.244 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:315, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:57.886 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792837533696, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:58.244 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=315] [conn=3] [category=ddl] [job="ID:315, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:57.886 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792837533696, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:58.246 +00:00] [INFO] [index.go:1928] ["start to merge temp index"] [category=ddl] [job="ID:315, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:57.886 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792837533696, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:33,StartKey:74800000000000006f5f69ffff000000000021,EndKey:74800000000000006f5f69ffff000000000021ff,First:false,PhysicalTableID:111,Ingest mode:false"] [2024/05/06 09:31:58.247 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=111] ["start key"=74800000000000006f5f69ffff000000000021] ["end key"=74800000000000006f5f69ffff000000000021ff] [2024/05/06 09:31:58.247 +00:00] [INFO] [backfilling.go:692] ["start backfill workers to reorg record"] [category=ddl] [type="merge temporary index"] [workerCnt=1] [regionCnt=1] [startKey=74800000000000006f5f69ffff000000000021] [endKey=74800000000000006f5f69ffff000000000021ff] [2024/05/06 09:31:58.248 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=111] ["end key"=74800000000000006f5f69ffff000000000021ff] ["current end key"=74800000000000006f5f69ffff00000000002100] [2024/05/06 09:31:58.297 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=2049] [2024/05/06 09:31:58.297 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:315, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:57.886 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792837533696, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:58.297 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=315] [2024/05/06 09:31:58.298 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:315, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:57.886 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792837533696, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:58.304 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:315, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:57.886 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792837533696, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:58.304 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=315] [conn=3] [category=ddl] [job="ID:315, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:57.886 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792837533696, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:58.348 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [task="taskID: 1, physicalTableID: 111, range: [74800000000000006f5f69ffff000000000021, 74800000000000006f5f69ffff00000000002100), jobID: 315"] ["added count"=0] ["scan count"=0] ["next key"=74800000000000006f5f69ffff0000000000210000] ["take time"=244.111µs] [2024/05/06 09:31:58.348 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [jobID=315] [2024/05/06 09:31:58.348 +00:00] [INFO] [backfilling.go:632] ["backfill workers successfully processed"] [category=ddl] [element=ID:33,TypeKey:_idx_] ["total added count"=2049] ["start key"=74800000000000006f5f69ffff000000000021] [2024/05/06 09:31:58.355 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=2049] [2024/05/06 09:31:58.355 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:315, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:57.886 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792837533696, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:58.356 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=315] [2024/05/06 09:31:58.356 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:315, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:57.886 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792837533696, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:58.361 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:315, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:57.886 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792837533696, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:58.361 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=315] [conn=3] [category=ddl] [job="ID:315, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:57.886 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792837533696, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:58.363 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=2049] [2024/05/06 09:31:58.398 +00:00] [INFO] [index.go:781] ["run add index job done"] [category=ddl] [charset=utf8mb4] [collation=utf8mb4_bin] [2024/05/06 09:31:58.398 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:315, Type:add index, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 09:31:57.886 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792837533696, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:58.401 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=696] [neededSchemaVersion=697] ["start time"=459.928µs] [gotSchemaVersion=697] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 09:31:58.402 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=315] [version=697] [2024/05/06 09:31:58.402 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=697] ["take time"=2.208045ms] [job="ID:315, Type:add index, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 09:31:57.886 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792837533696, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:58.403 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:315, Type:add index, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 09:31:57.886 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792837533696, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:58.409 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=315] [tableID=111] [indexIDs="[9223090561878065185]"] [comment="add index: physical table ID(s)"] [2024/05/06 09:31:58.410 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=315] [jobType="add index"] [2024/05/06 09:31:58.410 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=315] [conn=3] [job="ID:315, Type:add index, State:synced, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 09:31:57.886 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792837533696, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:58.414 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=315] [elementID=1] [startKey=74800000000000006f5f69ffff000000000021] [endKey=74800000000000006f5f69ffff000000000022] [2024/05/06 09:31:58.415 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:315, Type:add index, State:synced, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 09:31:57.886 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792837533696, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:58.417 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=315] [2024/05/06 09:31:58.417 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:31:58.417 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=697] [cur_db=test] [sql="alter table t drop column c41, drop column c42"] [user=] [2024/05/06 09:31:58.420 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:316, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:58.419 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 09:31:58.420 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:316, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:58.419 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t drop column c41, drop column c42"] [2024/05/06 09:31:58.430 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:316, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:58.419 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:58.430 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=316] [conn=3] [category=ddl] [job="ID:316, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:58.419 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 09:31:58.431 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:316, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:58.419 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:58.432 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=316] [2024/05/06 09:31:58.432 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:316, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:58.419 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:58.437 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:316, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:58.419 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:58.437 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=316] [conn=3] [category=ddl] [job="ID:316, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:58.419 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 09:31:58.437 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:316, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:58.419 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:58.438 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=316] [2024/05/06 09:31:58.439 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:316, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:58.419 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:58.447 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:316, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:58.419 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:58.448 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=316] [conn=3] [category=ddl] [job="ID:316, Type:drop column, State:running, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:58.419 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 09:31:58.449 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=316] [conn=3] [category=ddl] [job="ID:316, Type:drop column, State:running, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:58.419 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 09:31:58.449 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:316, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:58.419 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:58.451 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=697] [neededSchemaVersion=698] ["start time"=432.033µs] [gotSchemaVersion=698] [phyTblIDs="[111]"] [actionTypes="[61]"] [diffTypes="[\"alter table multi-schema change\"]"] [2024/05/06 09:31:58.452 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=316] [version=698] [2024/05/06 09:31:58.453 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=698] ["take time"=2.586155ms] [job="ID:316, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:58.419 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:58.454 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:316, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:58.419 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:58.459 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:316, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:58.419 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:58.459 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=316] [conn=3] [category=ddl] [job="ID:316, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:58.419 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 09:31:58.459 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:316, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:58.419 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:58.461 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=698] [neededSchemaVersion=699] ["start time"=490.194µs] [gotSchemaVersion=699] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 09:31:58.462 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=316] [version=699] [2024/05/06 09:31:58.463 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=699] ["take time"=2.335839ms] [job="ID:316, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:58.419 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:58.464 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:316, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:58.419 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:58.471 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:316, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:58.419 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:58.471 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=316] [conn=3] [category=ddl] [job="ID:316, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:58.419 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 09:31:58.473 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:316, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:58.419 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:58.484 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=699] [neededSchemaVersion=700] ["start time"=634.22µs] [gotSchemaVersion=700] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 09:31:58.486 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=316] [version=700] [2024/05/06 09:31:58.488 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=700] ["take time"=4.439398ms] [job="ID:316, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:58.419 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:58.488 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:316, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:58.419 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:58.502 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:316, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:58.419 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:58.502 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=316] [conn=3] [category=ddl] [job="ID:316, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:58.419 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 09:31:58.503 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:316, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:58.419 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:58.506 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=700] [neededSchemaVersion=701] ["start time"=530.591µs] [gotSchemaVersion=701] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 09:31:58.507 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=316] [version=701] [2024/05/06 09:31:58.510 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=701] ["take time"=4.762214ms] [job="ID:316, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:58.419 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:58.511 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:316, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:58.419 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:58.517 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:316, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:58.419 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:58.517 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=316] [conn=3] [category=ddl] [job="ID:316, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:58.419 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 09:31:58.518 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:316, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:58.419 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:58.521 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=701] [neededSchemaVersion=702] ["start time"=565.721µs] [gotSchemaVersion=702] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 09:31:58.523 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=316] [version=702] [2024/05/06 09:31:58.525 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=702] ["take time"=4.639272ms] [job="ID:316, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:58.419 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:58.526 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:316, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:58.419 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:58.530 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:316, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:58.419 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:58.530 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=316] [conn=3] [category=ddl] [job="ID:316, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:58.419 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 09:31:58.530 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:316, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:58.419 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:58.533 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=702] [neededSchemaVersion=703] ["start time"=384.86µs] [gotSchemaVersion=703] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 09:31:58.534 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=316] [version=703] [2024/05/06 09:31:58.535 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=703] ["take time"=2.438797ms] [job="ID:316, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:58.419 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:58.535 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:316, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:58.419 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:58.540 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:316, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:58.419 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:58.540 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=316] [conn=3] [category=ddl] [job="ID:316, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:58.419 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 09:31:58.540 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:316, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:58.419 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:58.542 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=703] [neededSchemaVersion=704] ["start time"=383.806µs] [gotSchemaVersion=704] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 09:31:58.544 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=316] [version=704] [2024/05/06 09:31:58.544 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=704] ["take time"=2.326356ms] [job="ID:316, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:58.419 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:58.545 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:316, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:58.419 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:58.550 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:316, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:58.419 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:58.550 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:316, Type:alter table multi-schema change, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:58.419 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:58.551 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=316] [2024/05/06 09:31:58.552 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:316, Type:alter table multi-schema change, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:58.419 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:58.556 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=316] [tableID=111] [indexIDs="[33]"] [comment="drop column: table ID"] [2024/05/06 09:31:58.557 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=316] [jobType="alter table multi-schema change"] [2024/05/06 09:31:58.558 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=316] [conn=3] [job="ID:316, Type:alter table multi-schema change, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:58.419 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:58.561 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:316, Type:alter table multi-schema change, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:58.419 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:58.573 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=316] [2024/05/06 09:31:58.573 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:31:58.574 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=704] [cur_db=test] [sql="alter table t add column c41 bigint, add column c42 bigint"] [user=] [2024/05/06 09:31:58.577 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:317, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:58.576 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 09:31:58.577 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:317, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:58.576 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add column c41 bigint, add column c42 bigint"] [2024/05/06 09:31:58.584 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:317, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:58.576 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:58.584 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=317] [conn=3] [category=ddl] [job="ID:317, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:58.576 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 09:31:58.585 +00:00] [INFO] [column.go:135] ["run add column job"] [category=ddl] [job="ID:317, Type:add column, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:58.576 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [columnInfo="{\"id\":59,\"name\":{\"O\":\"c41\",\"L\":\"c41\"},\"offset\":5,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{},\"state\":0,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2}"] [2024/05/06 09:31:58.585 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:317, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:58.576 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:58.588 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=704] [neededSchemaVersion=705] ["start time"=403.102µs] [gotSchemaVersion=705] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:58.588 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=316] [elementID=1] [startKey=74800000000000006f5f698000000000000021] [endKey=74800000000000006f5f698000000000000022] [2024/05/06 09:31:58.589 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=317] [version=705] [2024/05/06 09:31:58.590 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=705] ["take time"=2.801582ms] [job="ID:317, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:58.576 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:58.591 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:317, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:58.576 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:58.594 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:317, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:58.576 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:58.594 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=317] [conn=3] [category=ddl] [job="ID:317, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:58.576 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 09:31:58.595 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:317, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:58.576 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:58.597 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=705] [neededSchemaVersion=706] ["start time"=566.53µs] [gotSchemaVersion=706] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:58.599 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=317] [version=706] [2024/05/06 09:31:58.601 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=706] ["take time"=4.130533ms] [job="ID:317, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:58.576 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:58.601 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:317, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:58.576 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:58.605 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:317, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:58.576 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:58.605 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=317] [conn=3] [category=ddl] [job="ID:317, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:58.576 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 09:31:58.606 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:317, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:58.576 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:58.608 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=706] [neededSchemaVersion=707] ["start time"=477.28µs] [gotSchemaVersion=707] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:58.609 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=317] [version=707] [2024/05/06 09:31:58.610 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=707] ["take time"=3.018124ms] [job="ID:317, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:58.576 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:58.611 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:317, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:58.576 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:58.614 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:317, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:58.576 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:58.614 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=317] [conn=3] [category=ddl] [job="ID:317, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:58.576 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 09:31:58.615 +00:00] [INFO] [column.go:135] ["run add column job"] [category=ddl] [job="ID:317, Type:add column, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:58.576 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [columnInfo="{\"id\":60,\"name\":{\"O\":\"c42\",\"L\":\"c42\"},\"offset\":6,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{},\"state\":0,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2}"] [2024/05/06 09:31:58.615 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:317, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:58.576 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:58.617 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=707] [neededSchemaVersion=708] ["start time"=543.243µs] [gotSchemaVersion=708] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:58.618 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=317] [version=708] [2024/05/06 09:31:58.619 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=708] ["take time"=2.047249ms] [job="ID:317, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:58.576 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:58.620 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:317, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:58.576 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:58.623 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:317, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:58.576 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:58.623 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=317] [conn=3] [category=ddl] [job="ID:317, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:58.576 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 09:31:58.624 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:317, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:58.576 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:58.626 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=708] [neededSchemaVersion=709] ["start time"=569.087µs] [gotSchemaVersion=709] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:58.628 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=317] [version=709] [2024/05/06 09:31:58.630 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=709] ["take time"=4.508753ms] [job="ID:317, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:58.576 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:58.639 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:317, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:58.576 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:58.643 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:317, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:58.576 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:58.643 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=317] [conn=3] [category=ddl] [job="ID:317, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:58.576 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 09:31:58.645 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:317, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:58.576 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:58.647 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=709] [neededSchemaVersion=710] ["start time"=584.827µs] [gotSchemaVersion=710] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:58.649 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=317] [version=710] [2024/05/06 09:31:58.656 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=710] ["take time"=9.268784ms] [job="ID:317, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:58.576 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:58.657 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:317, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:58.576 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:58.663 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:317, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:58.576 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:58.664 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=317] [conn=3] [category=ddl] [job="ID:317, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:58.576 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 09:31:58.665 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=317] [conn=3] [category=ddl] [job="ID:317, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:58.576 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 09:31:58.665 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:317, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:58.576 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:58.669 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=710] [neededSchemaVersion=711] ["start time"=571.341µs] [gotSchemaVersion=711] [phyTblIDs="[111]"] [actionTypes="[61]"] [diffTypes="[\"alter table multi-schema change\"]"] [2024/05/06 09:31:58.670 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=317] [version=711] [2024/05/06 09:31:58.671 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=711] ["take time"=4.210804ms] [job="ID:317, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:58.576 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:58.672 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:317, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:58.576 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:58.677 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:317, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:58.576 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:58.677 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:317, Type:alter table multi-schema change, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:58.576 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:58.679 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=317] [2024/05/06 09:31:58.679 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:317, Type:alter table multi-schema change, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:58.576 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:58.683 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=317] [conn=3] [job="ID:317, Type:alter table multi-schema change, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:58.576 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:58.686 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:317, Type:alter table multi-schema change, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:58.576 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:58.686 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=317] [2024/05/06 09:31:58.686 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:31:58.687 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=711] [cur_db=test] [sql="alter table t add index drop_columns_idx(c41)"] [user=] [2024/05/06 09:31:58.689 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:318, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:58.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 09:31:58.689 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:318, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:58.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add index drop_columns_idx(c41)"] [2024/05/06 09:31:58.693 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:318, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:58.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:58.693 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=318] [conn=3] [category=ddl] [job="ID:318, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:58.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:58.693 +00:00] [INFO] [index.go:654] ["run add index job"] [category=ddl] [job="ID:318, Type:add index, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:58.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [indexInfo="{\"id\":34,\"idx_name\":{\"O\":\"drop_columns_idx\",\"L\":\"drop_columns_idx\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"c41\",\"L\":\"c41\"},\"offset\":5,\"length\":-1}],\"state\":0,\"backfill_state\":0,\"comment\":\"\",\"index_type\":1,\"is_unique\":false,\"is_primary\":false,\"is_invisible\":false,\"is_global\":false,\"mv_index\":false}"] [2024/05/06 09:31:58.693 +00:00] [INFO] [index.go:817] ["fallback to txn-merge backfill process"] [category=ddl] ["lightning env initialized"=false] [2024/05/06 09:31:58.694 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:318, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:58.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:58.696 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=711] [neededSchemaVersion=712] ["start time"=565.997µs] [gotSchemaVersion=712] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 09:31:58.697 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=318] [version=712] [2024/05/06 09:31:58.701 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=712] ["take time"=5.926786ms] [job="ID:318, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:58.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:58.702 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:318, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:58.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:58.711 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:318, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:58.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:58.711 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=318] [conn=3] [category=ddl] [job="ID:318, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:58.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:58.712 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:318, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:58.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:58.715 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=712] [neededSchemaVersion=713] ["start time"=681.54µs] [gotSchemaVersion=713] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 09:31:58.716 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=318] [version=713] [2024/05/06 09:31:58.721 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=713] ["take time"=6.473376ms] [job="ID:318, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:58.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:58.723 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:318, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:58.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:58.736 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:318, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:58.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:58.736 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=318] [conn=3] [category=ddl] [job="ID:318, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:58.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:58.738 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:318, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:58.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:58.745 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=713] [neededSchemaVersion=714] ["start time"=3.89881ms] [gotSchemaVersion=714] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 09:31:58.747 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=318] [version=714] [2024/05/06 09:31:58.748 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=714] ["take time"=6.389872ms] [job="ID:318, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:58.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:58.749 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:318, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:58.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:58.764 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:318, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:58.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:58.764 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=318] [conn=3] [category=ddl] [job="ID:318, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:58.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:58.764 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=318] [table=t] ["ingest mode"=false] [index=drop_columns_idx] [2024/05/06 09:31:58.765 +00:00] [INFO] [reorg.go:718] ["job get table range"] [category=ddl] [jobID=318] [physicalTableID=111] [startKey=74800000000000006f5f728000000000000001] [endKey=74800000000000006f5f72800000000000080100] [2024/05/06 09:31:58.766 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:318, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:58.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792976470018, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:58.767 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=318] [2024/05/06 09:31:58.767 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:318, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:58.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792976470018, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:58.775 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:318, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:58.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792976470018, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:58.775 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=318] [conn=3] [category=ddl] [job="ID:318, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:58.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792976470018, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:58.776 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=318] [table=t] ["ingest mode"=false] [index=drop_columns_idx] [2024/05/06 09:31:58.777 +00:00] [INFO] [index.go:1931] ["start to add table index"] [category=ddl] [job="ID:318, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:58.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792976470018, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:34,StartKey:74800000000000006f5f728000000000000001,EndKey:74800000000000006f5f72800000000000080100,First:false,PhysicalTableID:111,Ingest mode:false"] [2024/05/06 09:31:58.778 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=111] ["start key"=74800000000000006f5f728000000000000001] ["end key"=74800000000000006f5f72800000000000080100] [2024/05/06 09:31:58.778 +00:00] [INFO] [backfilling.go:692] ["start backfill workers to reorg record"] [category=ddl] [type="add index"] [workerCnt=1] [regionCnt=1] [startKey=74800000000000006f5f728000000000000001] [endKey=74800000000000006f5f72800000000000080100] [2024/05/06 09:31:58.779 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=111] ["end key"=74800000000000006f5f72800000000000080100] ["current end key"=74800000000000006f5f72800000000000080100] [2024/05/06 09:31:58.788 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 09:31:58.788 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:318, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:58.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792976470018, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:58.789 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=318] [2024/05/06 09:31:58.789 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:318, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:58.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792976470018, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:58.795 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:318, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:58.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792976470018, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:58.796 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=318] [conn=3] [category=ddl] [job="ID:318, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:58.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792976470018, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:58.796 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=318] [table=t] ["ingest mode"=false] [index=drop_columns_idx] [2024/05/06 09:31:58.819 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 09:31:58.819 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:318, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:58.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792976470018, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:58.820 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=318] [2024/05/06 09:31:58.820 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:318, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:58.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792976470018, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:58.826 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:318, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:58.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792976470018, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:58.826 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=318] [conn=3] [category=ddl] [job="ID:318, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:58.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792976470018, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:58.826 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=318] [table=t] ["ingest mode"=false] [index=drop_columns_idx] [2024/05/06 09:31:58.838 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 09:31:58.838 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:318, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:58.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792976470018, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:58.839 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=318] [2024/05/06 09:31:58.839 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:318, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:58.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792976470018, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:58.845 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:318, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:58.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792976470018, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:58.845 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=318] [conn=3] [category=ddl] [job="ID:318, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:58.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792976470018, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:58.845 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=318] [table=t] ["ingest mode"=false] [index=drop_columns_idx] [2024/05/06 09:31:58.857 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 09:31:58.857 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:318, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:58.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792976470018, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:58.858 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=318] [2024/05/06 09:31:58.858 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:318, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:58.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792976470018, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:58.865 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:318, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:58.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792976470018, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:58.865 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=318] [conn=3] [category=ddl] [job="ID:318, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:58.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792976470018, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:58.865 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=318] [table=t] ["ingest mode"=false] [index=drop_columns_idx] [2024/05/06 09:31:58.877 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 09:31:58.877 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:318, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:58.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792976470018, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:58.878 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=318] [2024/05/06 09:31:58.879 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:318, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:58.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792976470018, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:58.886 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:318, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:58.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792976470018, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:58.886 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=318] [conn=3] [category=ddl] [job="ID:318, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:58.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792976470018, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:58.886 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=318] [table=t] ["ingest mode"=false] [index=drop_columns_idx] [2024/05/06 09:31:58.933 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=544] [2024/05/06 09:31:58.933 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:318, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:544, ArgLen:6, start time: 2024-05-06 09:31:58.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792976470018, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:58.934 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=318] [2024/05/06 09:31:58.935 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:318, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:544, ArgLen:6, start time: 2024-05-06 09:31:58.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792976470018, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:58.941 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:318, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:544, ArgLen:0, start time: 2024-05-06 09:31:58.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792976470018, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:58.941 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=318] [conn=3] [category=ddl] [job="ID:318, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:544, ArgLen:0, start time: 2024-05-06 09:31:58.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792976470018, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:58.941 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=318] [table=t] ["ingest mode"=false] [index=drop_columns_idx] [2024/05/06 09:31:58.943 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp add index"] [task="taskID: 1, physicalTableID: 111, range: [74800000000000006f5f728000000000000001, 74800000000000006f5f72800000000000080100), jobID: 318"] ["added count"=2049] ["scan count"=2049] ["next key"=74800000000000006f5f72800000000000080100] ["take time"=64.086921ms] [2024/05/06 09:31:58.943 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp add index"] [jobID=318] [2024/05/06 09:31:58.943 +00:00] [INFO] [backfilling.go:632] ["backfill workers successfully processed"] [category=ddl] [element=ID:34,TypeKey:_idx_] ["total added count"=2049] ["start key"=74800000000000006f5f728000000000000001] [2024/05/06 09:31:58.943 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=2049] [2024/05/06 09:31:58.984 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:318, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:58.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792976470018, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:58.986 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=714] [neededSchemaVersion=715] ["start time"=624.623µs] [gotSchemaVersion=715] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 09:31:58.987 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=318] [version=715] [2024/05/06 09:31:58.992 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=715] ["take time"=6.578585ms] [job="ID:318, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:58.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792976470018, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:58.993 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:318, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:58.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792976470018, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:58.998 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:318, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:58.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792976470018, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:58.998 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=318] [conn=3] [category=ddl] [job="ID:318, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:58.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573792976470018, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:58.998 +00:00] [INFO] [index.go:880] ["index backfill state ready to merge"] [category=ddl] ["job ID"=318] [table=t] [index=drop_columns_idx] [2024/05/06 09:31:58.999 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:318, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:58.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.001 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=715] [neededSchemaVersion=716] ["start time"=570.801µs] [gotSchemaVersion=716] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 09:31:59.002 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=318] [version=716] [2024/05/06 09:31:59.005 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=716] ["take time"=4.85341ms] [job="ID:318, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:58.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.006 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:318, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:58.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.012 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:318, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:58.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.012 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=318] [conn=3] [category=ddl] [job="ID:318, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:58.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.013 +00:00] [INFO] [reorg.go:718] ["job get table range"] [category=ddl] [jobID=318] [physicalTableID=111] [startKey=74800000000000006f5f69ffff000000000022] [endKey=74800000000000006f5f69ffff000000000022ff] [2024/05/06 09:31:59.018 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:318, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:58.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573793041743872, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.020 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=318] [2024/05/06 09:31:59.020 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:318, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:58.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573793041743872, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.028 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:318, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:58.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573793041743872, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.028 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=318] [conn=3] [category=ddl] [job="ID:318, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:58.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573793041743872, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.030 +00:00] [INFO] [index.go:1928] ["start to merge temp index"] [category=ddl] [job="ID:318, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:58.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573793041743872, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:34,StartKey:74800000000000006f5f69ffff000000000022,EndKey:74800000000000006f5f69ffff000000000022ff,First:false,PhysicalTableID:111,Ingest mode:false"] [2024/05/06 09:31:59.031 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=111] ["start key"=74800000000000006f5f69ffff000000000022] ["end key"=74800000000000006f5f69ffff000000000022ff] [2024/05/06 09:31:59.031 +00:00] [INFO] [backfilling.go:692] ["start backfill workers to reorg record"] [category=ddl] [type="merge temporary index"] [workerCnt=1] [regionCnt=1] [startKey=74800000000000006f5f69ffff000000000022] [endKey=74800000000000006f5f69ffff000000000022ff] [2024/05/06 09:31:59.031 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=111] ["end key"=74800000000000006f5f69ffff000000000022ff] ["current end key"=74800000000000006f5f69ffff00000000002200] [2024/05/06 09:31:59.085 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=2049] [2024/05/06 09:31:59.085 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:318, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:58.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573793041743872, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.086 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=318] [2024/05/06 09:31:59.086 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:318, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:58.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573793041743872, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.091 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:318, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:58.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573793041743872, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.091 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=318] [conn=3] [category=ddl] [job="ID:318, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:58.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573793041743872, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.132 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [task="taskID: 1, physicalTableID: 111, range: [74800000000000006f5f69ffff000000000022, 74800000000000006f5f69ffff00000000002200), jobID: 318"] ["added count"=0] ["scan count"=0] ["next key"=74800000000000006f5f69ffff0000000000220000] ["take time"=172.694µs] [2024/05/06 09:31:59.132 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [jobID=318] [2024/05/06 09:31:59.132 +00:00] [INFO] [backfilling.go:632] ["backfill workers successfully processed"] [category=ddl] [element=ID:34,TypeKey:_idx_] ["total added count"=2049] ["start key"=74800000000000006f5f69ffff000000000022] [2024/05/06 09:31:59.144 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=2049] [2024/05/06 09:31:59.145 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:318, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:58.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573793041743872, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.145 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=318] [2024/05/06 09:31:59.146 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:318, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:58.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573793041743872, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.151 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:318, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:58.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573793041743872, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.151 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=318] [conn=3] [category=ddl] [job="ID:318, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:58.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573793041743872, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.153 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=2049] [2024/05/06 09:31:59.181 +00:00] [INFO] [index.go:781] ["run add index job done"] [category=ddl] [charset=utf8mb4] [collation=utf8mb4_bin] [2024/05/06 09:31:59.181 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:318, Type:add index, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 09:31:58.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573793041743872, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.183 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=716] [neededSchemaVersion=717] ["start time"=429.386µs] [gotSchemaVersion=717] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 09:31:59.184 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=318] [version=717] [2024/05/06 09:31:59.185 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=717] ["take time"=2.740808ms] [job="ID:318, Type:add index, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 09:31:58.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573793041743872, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.186 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:318, Type:add index, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 09:31:58.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573793041743872, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.193 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=318] [tableID=111] [indexIDs="[9223090561878065186]"] [comment="add index: physical table ID(s)"] [2024/05/06 09:31:59.194 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=318] [jobType="add index"] [2024/05/06 09:31:59.194 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=318] [conn=3] [job="ID:318, Type:add index, State:synced, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 09:31:58.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573793041743872, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.197 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=318] [elementID=1] [startKey=74800000000000006f5f69ffff000000000022] [endKey=74800000000000006f5f69ffff000000000023] [2024/05/06 09:31:59.197 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:318, Type:add index, State:synced, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 09:31:58.688 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573793041743872, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.200 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=318] [2024/05/06 09:31:59.200 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:31:59.200 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=717] [cur_db=test] [sql="alter table t drop column c41, drop column c42"] [user=] [2024/05/06 09:31:59.203 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:319, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:59.202 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 09:31:59.203 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:319, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:59.202 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t drop column c41, drop column c42"] [2024/05/06 09:31:59.208 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:319, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:59.202 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.208 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=319] [conn=3] [category=ddl] [job="ID:319, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:59.202 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 09:31:59.208 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:319, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:59.202 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.209 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=319] [2024/05/06 09:31:59.210 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:319, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:59.202 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.214 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:319, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:59.202 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.214 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=319] [conn=3] [category=ddl] [job="ID:319, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:59.202 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 09:31:59.214 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:319, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:59.202 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.217 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=319] [2024/05/06 09:31:59.218 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:319, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:59.202 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.222 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:319, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:59.202 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.222 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=319] [conn=3] [category=ddl] [job="ID:319, Type:drop column, State:running, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:59.202 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 09:31:59.223 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=319] [conn=3] [category=ddl] [job="ID:319, Type:drop column, State:running, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:59.202 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 09:31:59.223 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:319, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:59.202 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.225 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=717] [neededSchemaVersion=718] ["start time"=512.687µs] [gotSchemaVersion=718] [phyTblIDs="[111]"] [actionTypes="[61]"] [diffTypes="[\"alter table multi-schema change\"]"] [2024/05/06 09:31:59.226 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=319] [version=718] [2024/05/06 09:31:59.228 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=718] ["take time"=3.416757ms] [job="ID:319, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:59.202 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.233 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:319, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:59.202 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.236 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:319, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:59.202 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.236 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=319] [conn=3] [category=ddl] [job="ID:319, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:59.202 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 09:31:59.237 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:319, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:59.202 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.239 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=718] [neededSchemaVersion=719] ["start time"=578.087µs] [gotSchemaVersion=719] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 09:31:59.240 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=319] [version=719] [2024/05/06 09:31:59.243 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=719] ["take time"=4.827091ms] [job="ID:319, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:59.202 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.244 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:319, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:59.202 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.247 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:319, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:59.202 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.248 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=319] [conn=3] [category=ddl] [job="ID:319, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:59.202 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 09:31:59.248 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:319, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:59.202 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.251 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=719] [neededSchemaVersion=720] ["start time"=522.621µs] [gotSchemaVersion=720] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 09:31:59.252 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=319] [version=720] [2024/05/06 09:31:59.254 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=720] ["take time"=4.118444ms] [job="ID:319, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:59.202 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.255 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:319, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:59.202 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.258 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:319, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:59.202 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.258 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=319] [conn=3] [category=ddl] [job="ID:319, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:59.202 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 09:31:59.259 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:319, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:59.202 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.261 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=720] [neededSchemaVersion=721] ["start time"=544.776µs] [gotSchemaVersion=721] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 09:31:59.262 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=319] [version=721] [2024/05/06 09:31:59.262 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=721] ["take time"=2.031912ms] [job="ID:319, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:59.202 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.263 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:319, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:59.202 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.271 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:319, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:59.202 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.271 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=319] [conn=3] [category=ddl] [job="ID:319, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:59.202 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 09:31:59.272 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:319, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:59.202 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.275 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=721] [neededSchemaVersion=722] ["start time"=503.394µs] [gotSchemaVersion=722] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 09:31:59.276 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=319] [version=722] [2024/05/06 09:31:59.278 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=722] ["take time"=4.019693ms] [job="ID:319, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:59.202 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.279 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:319, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:59.202 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.282 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:319, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:59.202 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.282 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=319] [conn=3] [category=ddl] [job="ID:319, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:59.202 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 09:31:59.283 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:319, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:59.202 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.285 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=722] [neededSchemaVersion=723] ["start time"=363.538µs] [gotSchemaVersion=723] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 09:31:59.286 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=319] [version=723] [2024/05/06 09:31:59.286 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=723] ["take time"=2.37559ms] [job="ID:319, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:59.202 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.287 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:319, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:59.202 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.292 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:319, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:59.202 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.292 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=319] [conn=3] [category=ddl] [job="ID:319, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:59.202 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 09:31:59.293 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:319, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:59.202 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.295 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=723] [neededSchemaVersion=724] ["start time"=525.93µs] [gotSchemaVersion=724] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 09:31:59.296 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=319] [version=724] [2024/05/06 09:31:59.296 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=724] ["take time"=2.008518ms] [job="ID:319, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:59.202 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.297 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:319, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:59.202 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.303 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:319, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:59.202 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.303 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:319, Type:alter table multi-schema change, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:59.202 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.304 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=319] [2024/05/06 09:31:59.305 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:319, Type:alter table multi-schema change, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:59.202 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.309 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=319] [tableID=111] [indexIDs="[34]"] [comment="drop column: table ID"] [2024/05/06 09:31:59.310 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=319] [jobType="alter table multi-schema change"] [2024/05/06 09:31:59.311 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=319] [conn=3] [job="ID:319, Type:alter table multi-schema change, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:59.202 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.314 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:319, Type:alter table multi-schema change, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:59.202 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.316 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=319] [2024/05/06 09:31:59.316 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:31:59.317 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=724] [cur_db=test] [sql="alter table t add column c41 bigint, add column c42 bigint"] [user=] [2024/05/06 09:31:59.319 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:320, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:59.318 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 09:31:59.320 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:320, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:59.318 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add column c41 bigint, add column c42 bigint"] [2024/05/06 09:31:59.324 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=319] [elementID=1] [startKey=74800000000000006f5f698000000000000022] [endKey=74800000000000006f5f698000000000000023] [2024/05/06 09:31:59.325 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:320, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:59.318 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.325 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=320] [conn=3] [category=ddl] [job="ID:320, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:59.318 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 09:31:59.325 +00:00] [INFO] [column.go:135] ["run add column job"] [category=ddl] [job="ID:320, Type:add column, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:59.318 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [columnInfo="{\"id\":61,\"name\":{\"O\":\"c41\",\"L\":\"c41\"},\"offset\":5,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{},\"state\":0,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2}"] [2024/05/06 09:31:59.326 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:320, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:59.318 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.328 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=724] [neededSchemaVersion=725] ["start time"=526.369µs] [gotSchemaVersion=725] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:59.329 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=320] [version=725] [2024/05/06 09:31:59.329 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=725] ["take time"=2.073595ms] [job="ID:320, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:59.318 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.330 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:320, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:59.318 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.334 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:320, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:59.318 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.334 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=320] [conn=3] [category=ddl] [job="ID:320, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:59.318 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 09:31:59.335 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:320, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:59.318 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.337 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=725] [neededSchemaVersion=726] ["start time"=536.753µs] [gotSchemaVersion=726] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:59.338 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=320] [version=726] [2024/05/06 09:31:59.339 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=726] ["take time"=2.671696ms] [job="ID:320, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:59.318 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.340 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:320, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:59.318 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.343 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:320, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:59.318 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.343 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=320] [conn=3] [category=ddl] [job="ID:320, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:59.318 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 09:31:59.344 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:320, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:59.318 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.347 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=726] [neededSchemaVersion=727] ["start time"=712.908µs] [gotSchemaVersion=727] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:59.348 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=320] [version=727] [2024/05/06 09:31:59.350 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=727] ["take time"=4.572783ms] [job="ID:320, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:59.318 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.351 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:320, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:59.318 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.354 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:320, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:59.318 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.354 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=320] [conn=3] [category=ddl] [job="ID:320, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:59.318 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 09:31:59.355 +00:00] [INFO] [column.go:135] ["run add column job"] [category=ddl] [job="ID:320, Type:add column, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:31:59.318 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [columnInfo="{\"id\":62,\"name\":{\"O\":\"c42\",\"L\":\"c42\"},\"offset\":6,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{},\"state\":0,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2}"] [2024/05/06 09:31:59.355 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:320, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:59.318 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.359 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=727] [neededSchemaVersion=728] ["start time"=998.979µs] [gotSchemaVersion=728] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:59.360 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=320] [version=728] [2024/05/06 09:31:59.363 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=728] ["take time"=5.471333ms] [job="ID:320, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:59.318 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.364 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:320, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:59.318 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.374 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:320, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:59.318 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.374 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=320] [conn=3] [category=ddl] [job="ID:320, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:59.318 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 09:31:59.375 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:320, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:59.318 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.378 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=728] [neededSchemaVersion=729] ["start time"=729.205µs] [gotSchemaVersion=729] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:59.379 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=320] [version=729] [2024/05/06 09:31:59.381 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=729] ["take time"=4.738083ms] [job="ID:320, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:59.318 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.382 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:320, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:59.318 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.387 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:320, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:59.318 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.387 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=320] [conn=3] [category=ddl] [job="ID:320, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:59.318 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 09:31:59.388 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:320, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:59.318 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.390 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=729] [neededSchemaVersion=730] ["start time"=385.879µs] [gotSchemaVersion=730] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:31:59.391 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=320] [version=730] [2024/05/06 09:31:59.392 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=730] ["take time"=2.749761ms] [job="ID:320, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:59.318 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.393 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:320, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:59.318 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.397 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:320, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:59.318 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.397 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=320] [conn=3] [category=ddl] [job="ID:320, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:59.318 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 09:31:59.398 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=320] [conn=3] [category=ddl] [job="ID:320, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:59.318 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 09:31:59.398 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:320, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:59.318 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.401 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=730] [neededSchemaVersion=731] ["start time"=572.644µs] [gotSchemaVersion=731] [phyTblIDs="[111]"] [actionTypes="[61]"] [diffTypes="[\"alter table multi-schema change\"]"] [2024/05/06 09:31:59.402 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=320] [version=731] [2024/05/06 09:31:59.403 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=731] ["take time"=2.659318ms] [job="ID:320, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:59.318 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.404 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:320, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:59.318 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.409 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:320, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:59.318 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.410 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:320, Type:alter table multi-schema change, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:59.318 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.411 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=320] [2024/05/06 09:31:59.412 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:320, Type:alter table multi-schema change, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:59.318 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.415 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=320] [conn=3] [job="ID:320, Type:alter table multi-schema change, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:59.318 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.418 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:320, Type:alter table multi-schema change, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:59.318 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.418 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=320] [2024/05/06 09:31:59.418 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:31:59.419 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=731] [cur_db=test] [sql="alter table t add index drop_columns_idx(c41)"] [user=] [2024/05/06 09:31:59.421 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:321, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:59.42 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 09:31:59.421 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:321, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:59.42 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add index drop_columns_idx(c41)"] [2024/05/06 09:31:59.426 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:321, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:59.42 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.426 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=321] [conn=3] [category=ddl] [job="ID:321, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:59.42 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.426 +00:00] [INFO] [index.go:654] ["run add index job"] [category=ddl] [job="ID:321, Type:add index, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:59.42 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [indexInfo="{\"id\":35,\"idx_name\":{\"O\":\"drop_columns_idx\",\"L\":\"drop_columns_idx\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"c41\",\"L\":\"c41\"},\"offset\":5,\"length\":-1}],\"state\":0,\"backfill_state\":0,\"comment\":\"\",\"index_type\":1,\"is_unique\":false,\"is_primary\":false,\"is_invisible\":false,\"is_global\":false,\"mv_index\":false}"] [2024/05/06 09:31:59.426 +00:00] [INFO] [index.go:817] ["fallback to txn-merge backfill process"] [category=ddl] ["lightning env initialized"=false] [2024/05/06 09:31:59.427 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:321, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:59.42 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.429 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=731] [neededSchemaVersion=732] ["start time"=525.549µs] [gotSchemaVersion=732] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 09:31:59.430 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=321] [version=732] [2024/05/06 09:31:59.430 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=732] ["take time"=2.135696ms] [job="ID:321, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:59.42 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.431 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:321, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:59.42 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.437 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:321, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:59.42 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.437 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=321] [conn=3] [category=ddl] [job="ID:321, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:59.42 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.438 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:321, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:59.42 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.440 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=732] [neededSchemaVersion=733] ["start time"=581.353µs] [gotSchemaVersion=733] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 09:31:59.442 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=321] [version=733] [2024/05/06 09:31:59.442 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=733] ["take time"=2.018516ms] [job="ID:321, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:59.42 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.442 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:321, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:59.42 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.448 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:321, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:59.42 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.448 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=321] [conn=3] [category=ddl] [job="ID:321, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:59.42 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.449 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:321, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:59.42 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.451 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=733] [neededSchemaVersion=734] ["start time"=528.702µs] [gotSchemaVersion=734] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 09:31:59.452 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=321] [version=734] [2024/05/06 09:31:59.454 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=734] ["take time"=4.364487ms] [job="ID:321, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:59.42 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.455 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:321, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:59.42 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.462 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:321, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:59.42 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.462 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=321] [conn=3] [category=ddl] [job="ID:321, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:59.42 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.462 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=321] [table=t] ["ingest mode"=false] [index=drop_columns_idx] [2024/05/06 09:31:59.463 +00:00] [INFO] [reorg.go:718] ["job get table range"] [category=ddl] [jobID=321] [physicalTableID=111] [startKey=74800000000000006f5f728000000000000001] [endKey=74800000000000006f5f72800000000000080100] [2024/05/06 09:31:59.465 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:321, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:59.42 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573793159446529, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.466 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=321] [2024/05/06 09:31:59.466 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:321, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:59.42 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573793159446529, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.470 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:321, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:59.42 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573793159446529, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.471 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=321] [conn=3] [category=ddl] [job="ID:321, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:59.42 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573793159446529, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.471 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=321] [table=t] ["ingest mode"=false] [index=drop_columns_idx] [2024/05/06 09:31:59.472 +00:00] [INFO] [index.go:1931] ["start to add table index"] [category=ddl] [job="ID:321, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:59.42 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573793159446529, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:35,StartKey:74800000000000006f5f728000000000000001,EndKey:74800000000000006f5f72800000000000080100,First:false,PhysicalTableID:111,Ingest mode:false"] [2024/05/06 09:31:59.473 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=111] ["start key"=74800000000000006f5f728000000000000001] ["end key"=74800000000000006f5f72800000000000080100] [2024/05/06 09:31:59.473 +00:00] [INFO] [backfilling.go:692] ["start backfill workers to reorg record"] [category=ddl] [type="add index"] [workerCnt=1] [regionCnt=1] [startKey=74800000000000006f5f728000000000000001] [endKey=74800000000000006f5f72800000000000080100] [2024/05/06 09:31:59.474 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=111] ["end key"=74800000000000006f5f72800000000000080100] ["current end key"=74800000000000006f5f72800000000000080100] [2024/05/06 09:31:59.483 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 09:31:59.483 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:321, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:59.42 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573793159446529, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.484 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=321] [2024/05/06 09:31:59.484 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:321, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:59.42 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573793159446529, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.491 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:321, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:59.42 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573793159446529, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.491 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=321] [conn=3] [category=ddl] [job="ID:321, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:59.42 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573793159446529, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.491 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=321] [table=t] ["ingest mode"=false] [index=drop_columns_idx] [2024/05/06 09:31:59.503 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 09:31:59.504 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:321, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:59.42 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573793159446529, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.504 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=321] [2024/05/06 09:31:59.505 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:321, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:59.42 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573793159446529, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.510 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:321, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:59.42 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573793159446529, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.510 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=321] [conn=3] [category=ddl] [job="ID:321, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:59.42 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573793159446529, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.511 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=321] [table=t] ["ingest mode"=false] [index=drop_columns_idx] [2024/05/06 09:31:59.523 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 09:31:59.523 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:321, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:59.42 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573793159446529, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.523 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=321] [2024/05/06 09:31:59.524 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:321, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:59.42 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573793159446529, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.530 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:321, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:59.42 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573793159446529, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.530 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=321] [conn=3] [category=ddl] [job="ID:321, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:59.42 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573793159446529, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.531 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=321] [table=t] ["ingest mode"=false] [index=drop_columns_idx] [2024/05/06 09:31:59.544 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 09:31:59.545 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:321, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:59.42 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573793159446529, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.545 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=321] [2024/05/06 09:31:59.546 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:321, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:59.42 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573793159446529, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.551 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:321, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:59.42 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573793159446529, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.551 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=321] [conn=3] [category=ddl] [job="ID:321, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:59.42 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573793159446529, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.551 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=321] [table=t] ["ingest mode"=false] [index=drop_columns_idx] [2024/05/06 09:31:59.563 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 09:31:59.563 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:321, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:59.42 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573793159446529, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.564 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=321] [2024/05/06 09:31:59.564 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:321, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:31:59.42 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573793159446529, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.568 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:321, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:59.42 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573793159446529, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.568 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=321] [conn=3] [category=ddl] [job="ID:321, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:59.42 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573793159446529, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.568 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=321] [table=t] ["ingest mode"=false] [index=drop_columns_idx] [2024/05/06 09:31:59.621 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=128] [2024/05/06 09:31:59.621 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:321, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:128, ArgLen:6, start time: 2024-05-06 09:31:59.42 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573793159446529, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.622 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=321] [2024/05/06 09:31:59.622 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:321, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:128, ArgLen:6, start time: 2024-05-06 09:31:59.42 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573793159446529, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.628 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:321, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:128, ArgLen:0, start time: 2024-05-06 09:31:59.42 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573793159446529, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.628 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=321] [conn=3] [category=ddl] [job="ID:321, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:128, ArgLen:0, start time: 2024-05-06 09:31:59.42 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573793159446529, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.628 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=321] [table=t] ["ingest mode"=false] [index=drop_columns_idx] [2024/05/06 09:31:59.651 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp add index"] [task="taskID: 1, physicalTableID: 111, range: [74800000000000006f5f728000000000000001, 74800000000000006f5f72800000000000080100), jobID: 321"] ["added count"=2049] ["scan count"=2049] ["next key"=74800000000000006f5f72800000000000080100] ["take time"=76.984903ms] [2024/05/06 09:31:59.651 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp add index"] [jobID=321] [2024/05/06 09:31:59.651 +00:00] [INFO] [backfilling.go:632] ["backfill workers successfully processed"] [category=ddl] [element=ID:35,TypeKey:_idx_] ["total added count"=2049] ["start key"=74800000000000006f5f728000000000000001] [2024/05/06 09:31:59.673 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=1696] [2024/05/06 09:31:59.673 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:321, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:1696, ArgLen:6, start time: 2024-05-06 09:31:59.42 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573793159446529, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.674 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=321] [2024/05/06 09:31:59.675 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:321, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:1696, ArgLen:6, start time: 2024-05-06 09:31:59.42 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573793159446529, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.681 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:321, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:1696, ArgLen:0, start time: 2024-05-06 09:31:59.42 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573793159446529, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.681 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=321] [conn=3] [category=ddl] [job="ID:321, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:1696, ArgLen:0, start time: 2024-05-06 09:31:59.42 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573793159446529, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.681 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=321] [table=t] ["ingest mode"=false] [index=drop_columns_idx] [2024/05/06 09:31:59.683 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=2049] [2024/05/06 09:31:59.721 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:321, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:59.42 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573793159446529, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.723 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=734] [neededSchemaVersion=735] ["start time"=585.986µs] [gotSchemaVersion=735] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 09:31:59.725 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=321] [version=735] [2024/05/06 09:31:59.727 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=735] ["take time"=4.405924ms] [job="ID:321, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:59.42 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573793159446529, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.728 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:321, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:59.42 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573793159446529, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.734 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:321, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:59.42 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573793159446529, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.734 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=321] [conn=3] [category=ddl] [job="ID:321, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:59.42 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573793159446529, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.734 +00:00] [INFO] [index.go:880] ["index backfill state ready to merge"] [category=ddl] ["job ID"=321] [table=t] [index=drop_columns_idx] [2024/05/06 09:31:59.735 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:321, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:59.42 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.736 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=735] [neededSchemaVersion=736] ["start time"=550.642µs] [gotSchemaVersion=736] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 09:31:59.738 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=321] [version=736] [2024/05/06 09:31:59.738 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=736] ["take time"=2.036692ms] [job="ID:321, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:59.42 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.739 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:321, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:59.42 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.744 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:321, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:59.42 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.745 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=321] [conn=3] [category=ddl] [job="ID:321, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:59.42 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.745 +00:00] [INFO] [reorg.go:718] ["job get table range"] [category=ddl] [jobID=321] [physicalTableID=111] [startKey=74800000000000006f5f69ffff000000000023] [endKey=74800000000000006f5f69ffff000000000023ff] [2024/05/06 09:31:59.748 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:321, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:59.42 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573793233633280, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.748 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=321] [2024/05/06 09:31:59.749 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:321, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:59.42 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573793233633280, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.755 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:321, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:59.42 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573793233633280, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.755 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=321] [conn=3] [category=ddl] [job="ID:321, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:59.42 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573793233633280, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.757 +00:00] [INFO] [index.go:1928] ["start to merge temp index"] [category=ddl] [job="ID:321, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:59.42 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573793233633280, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:35,StartKey:74800000000000006f5f69ffff000000000023,EndKey:74800000000000006f5f69ffff000000000023ff,First:false,PhysicalTableID:111,Ingest mode:false"] [2024/05/06 09:31:59.758 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=111] ["start key"=74800000000000006f5f69ffff000000000023] ["end key"=74800000000000006f5f69ffff000000000023ff] [2024/05/06 09:31:59.758 +00:00] [INFO] [backfilling.go:692] ["start backfill workers to reorg record"] [category=ddl] [type="merge temporary index"] [workerCnt=1] [regionCnt=1] [startKey=74800000000000006f5f69ffff000000000023] [endKey=74800000000000006f5f69ffff000000000023ff] [2024/05/06 09:31:59.759 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=111] ["end key"=74800000000000006f5f69ffff000000000023ff] ["current end key"=74800000000000006f5f69ffff00000000002300] [2024/05/06 09:31:59.803 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=2049] [2024/05/06 09:31:59.803 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:321, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:59.42 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573793233633280, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.804 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=321] [2024/05/06 09:31:59.804 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:321, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:59.42 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573793233633280, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.811 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:321, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:59.42 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573793233633280, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.811 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=321] [conn=3] [category=ddl] [job="ID:321, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:59.42 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573793233633280, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.859 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [task="taskID: 1, physicalTableID: 111, range: [74800000000000006f5f69ffff000000000023, 74800000000000006f5f69ffff00000000002300), jobID: 321"] ["added count"=0] ["scan count"=0] ["next key"=74800000000000006f5f69ffff0000000000230000] ["take time"=194.387µs] [2024/05/06 09:31:59.859 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [jobID=321] [2024/05/06 09:31:59.859 +00:00] [INFO] [backfilling.go:632] ["backfill workers successfully processed"] [category=ddl] [element=ID:35,TypeKey:_idx_] ["total added count"=2049] ["start key"=74800000000000006f5f69ffff000000000023] [2024/05/06 09:31:59.860 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=2049] [2024/05/06 09:31:59.860 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:321, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:59.42 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573793233633280, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.861 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=321] [2024/05/06 09:31:59.861 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:321, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:31:59.42 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573793233633280, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.867 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:321, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:59.42 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573793233633280, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.867 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=321] [conn=3] [category=ddl] [job="ID:321, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:31:59.42 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573793233633280, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.869 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=2049] [2024/05/06 09:31:59.907 +00:00] [INFO] [index.go:781] ["run add index job done"] [category=ddl] [charset=utf8mb4] [collation=utf8mb4_bin] [2024/05/06 09:31:59.907 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:321, Type:add index, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 09:31:59.42 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573793233633280, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.910 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=736] [neededSchemaVersion=737] ["start time"=409.864µs] [gotSchemaVersion=737] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 09:31:59.911 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=321] [version=737] [2024/05/06 09:31:59.911 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=737] ["take time"=2.018564ms] [job="ID:321, Type:add index, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 09:31:59.42 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573793233633280, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.912 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:321, Type:add index, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 09:31:59.42 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573793233633280, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.918 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=321] [tableID=111] [indexIDs="[9223090561878065187]"] [comment="add index: physical table ID(s)"] [2024/05/06 09:31:59.920 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=321] [jobType="add index"] [2024/05/06 09:31:59.920 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=321] [conn=3] [job="ID:321, Type:add index, State:synced, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 09:31:59.42 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573793233633280, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.922 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=321] [elementID=1] [startKey=74800000000000006f5f69ffff000000000023] [endKey=74800000000000006f5f69ffff000000000024] [2024/05/06 09:31:59.924 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:321, Type:add index, State:synced, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 09:31:59.42 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573793233633280, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.926 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=321] [2024/05/06 09:31:59.926 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:31:59.927 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=737] [cur_db=test] [sql="alter table t drop column c41, drop column c42"] [user=] [2024/05/06 09:31:59.929 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:322, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:59.928 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 09:31:59.929 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:322, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:59.928 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t drop column c41, drop column c42"] [2024/05/06 09:31:59.935 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:322, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:59.928 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.936 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=322] [conn=3] [category=ddl] [job="ID:322, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:59.928 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 09:31:59.936 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:322, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:59.928 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.937 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=322] [2024/05/06 09:31:59.938 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:322, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:59.928 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.944 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:322, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:59.928 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.944 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=322] [conn=3] [category=ddl] [job="ID:322, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:59.928 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 09:31:59.945 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:322, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:59.928 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.948 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=322] [2024/05/06 09:31:59.949 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:322, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:59.928 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.955 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:322, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:59.928 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.955 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=322] [conn=3] [category=ddl] [job="ID:322, Type:drop column, State:running, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:59.928 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 09:31:59.956 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=322] [conn=3] [category=ddl] [job="ID:322, Type:drop column, State:running, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:59.928 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 09:31:59.957 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:322, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:59.928 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.959 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=737] [neededSchemaVersion=738] ["start time"=618.7µs] [gotSchemaVersion=738] [phyTblIDs="[111]"] [actionTypes="[61]"] [diffTypes="[\"alter table multi-schema change\"]"] [2024/05/06 09:31:59.960 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=322] [version=738] [2024/05/06 09:31:59.963 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=738] ["take time"=4.563591ms] [job="ID:322, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:59.928 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.965 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:322, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:59.928 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.971 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:322, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:59.928 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.971 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=322] [conn=3] [category=ddl] [job="ID:322, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:59.928 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 09:31:59.972 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:322, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:59.928 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.974 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=738] [neededSchemaVersion=739] ["start time"=452.482µs] [gotSchemaVersion=739] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 09:31:59.976 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=322] [version=739] [2024/05/06 09:31:59.976 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=739] ["take time"=2.239508ms] [job="ID:322, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:59.928 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.980 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:322, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:59.928 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.983 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:322, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:59.928 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.983 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=322] [conn=3] [category=ddl] [job="ID:322, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:59.928 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 09:31:59.984 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:322, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:59.928 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.986 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=739] [neededSchemaVersion=740] ["start time"=595.339µs] [gotSchemaVersion=740] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 09:31:59.988 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=322] [version=740] [2024/05/06 09:31:59.990 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=740] ["take time"=4.426418ms] [job="ID:322, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:59.928 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.991 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:322, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:59.928 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.994 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:322, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:59.928 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.994 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=322] [conn=3] [category=ddl] [job="ID:322, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:59.928 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 09:31:59.995 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:322, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:59.928 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:31:59.997 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=740] [neededSchemaVersion=741] ["start time"=553.37µs] [gotSchemaVersion=741] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 09:31:59.999 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=322] [version=741] [2024/05/06 09:32:00.001 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=741] ["take time"=4.36831ms] [job="ID:322, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:59.928 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.002 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:322, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:59.928 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.005 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:322, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:59.928 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.006 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=322] [conn=3] [category=ddl] [job="ID:322, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:59.928 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 09:32:00.006 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:322, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:59.928 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.009 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=741] [neededSchemaVersion=742] ["start time"=721.906µs] [gotSchemaVersion=742] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 09:32:00.011 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=322] [version=742] [2024/05/06 09:32:00.013 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=742] ["take time"=4.037202ms] [job="ID:322, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:59.928 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.013 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:322, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:59.928 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.022 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:322, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:59.928 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.022 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=322] [conn=3] [category=ddl] [job="ID:322, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:59.928 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 09:32:00.023 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:322, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:59.928 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.026 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=742] [neededSchemaVersion=743] ["start time"=589.695µs] [gotSchemaVersion=743] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 09:32:00.028 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=322] [version=743] [2024/05/06 09:32:00.029 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=743] ["take time"=4.1384ms] [job="ID:322, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:59.928 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.030 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:322, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:59.928 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.038 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:322, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:59.928 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.038 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=322] [conn=3] [category=ddl] [job="ID:322, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:59.928 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 09:32:00.038 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:322, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:59.928 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.041 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=743] [neededSchemaVersion=744] ["start time"=429.222µs] [gotSchemaVersion=744] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 09:32:00.042 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=322] [version=744] [2024/05/06 09:32:00.059 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=744] ["take time"=18.770165ms] [job="ID:322, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:59.928 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.060 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:322, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:59.928 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.063 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:322, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:59.928 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.063 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:322, Type:alter table multi-schema change, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:59.928 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.065 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=322] [2024/05/06 09:32:00.065 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:322, Type:alter table multi-schema change, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:59.928 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.070 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=322] [tableID=111] [indexIDs="[35]"] [comment="drop column: table ID"] [2024/05/06 09:32:00.071 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=322] [jobType="alter table multi-schema change"] [2024/05/06 09:32:00.071 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=322] [conn=3] [job="ID:322, Type:alter table multi-schema change, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:59.928 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.073 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:322, Type:alter table multi-schema change, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:31:59.928 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.075 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=322] [2024/05/06 09:32:00.075 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:32:00.076 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=744] [cur_db=test] [sql="alter table t add column c41 bigint, add column c42 bigint"] [user=] [2024/05/06 09:32:00.079 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:323, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.077 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 09:32:00.079 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:323, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.077 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add column c41 bigint, add column c42 bigint"] [2024/05/06 09:32:00.088 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=322] [elementID=1] [startKey=74800000000000006f5f698000000000000023] [endKey=74800000000000006f5f698000000000000024] [2024/05/06 09:32:00.089 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:323, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.077 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.089 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=323] [conn=3] [category=ddl] [job="ID:323, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.077 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 09:32:00.089 +00:00] [INFO] [column.go:135] ["run add column job"] [category=ddl] [job="ID:323, Type:add column, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:32:00.077 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [columnInfo="{\"id\":63,\"name\":{\"O\":\"c41\",\"L\":\"c41\"},\"offset\":5,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{},\"state\":0,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2}"] [2024/05/06 09:32:00.090 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:323, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.077 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.092 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=744] [neededSchemaVersion=745] ["start time"=381.751µs] [gotSchemaVersion=745] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:32:00.093 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=323] [version=745] [2024/05/06 09:32:00.094 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=745] ["take time"=2.569106ms] [job="ID:323, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.077 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.095 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:323, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.077 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.100 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:323, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.077 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.100 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=323] [conn=3] [category=ddl] [job="ID:323, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.077 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 09:32:00.101 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:323, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.077 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.104 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=745] [neededSchemaVersion=746] ["start time"=556.295µs] [gotSchemaVersion=746] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:32:00.105 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=323] [version=746] [2024/05/06 09:32:00.107 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=746] ["take time"=4.617577ms] [job="ID:323, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.077 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.110 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:323, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.077 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.113 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:323, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.077 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.114 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=323] [conn=3] [category=ddl] [job="ID:323, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.077 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 09:32:00.114 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:323, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.077 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.117 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=746] [neededSchemaVersion=747] ["start time"=594.666µs] [gotSchemaVersion=747] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:32:00.118 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=323] [version=747] [2024/05/06 09:32:00.118 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=747] ["take time"=2.03167ms] [job="ID:323, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.077 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.119 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:323, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.077 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.121 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:323, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.077 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.122 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=323] [conn=3] [category=ddl] [job="ID:323, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.077 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 09:32:00.122 +00:00] [INFO] [column.go:135] ["run add column job"] [category=ddl] [job="ID:323, Type:add column, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:32:00.077 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [columnInfo="{\"id\":64,\"name\":{\"O\":\"c42\",\"L\":\"c42\"},\"offset\":6,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{},\"state\":0,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2}"] [2024/05/06 09:32:00.123 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:323, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.077 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.125 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=747] [neededSchemaVersion=748] ["start time"=721.027µs] [gotSchemaVersion=748] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:32:00.127 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=323] [version=748] [2024/05/06 09:32:00.131 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=748] ["take time"=6.925688ms] [job="ID:323, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.077 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.133 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:323, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.077 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.137 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:323, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.077 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.137 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=323] [conn=3] [category=ddl] [job="ID:323, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.077 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 09:32:00.138 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:323, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.077 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.140 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=748] [neededSchemaVersion=749] ["start time"=450.101µs] [gotSchemaVersion=749] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:32:00.141 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=323] [version=749] [2024/05/06 09:32:00.143 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=749] ["take time"=3.223598ms] [job="ID:323, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.077 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.143 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:323, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.077 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.147 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:323, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.077 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.147 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=323] [conn=3] [category=ddl] [job="ID:323, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.077 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 09:32:00.148 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:323, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.077 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.150 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=749] [neededSchemaVersion=750] ["start time"=512.497µs] [gotSchemaVersion=750] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:32:00.152 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=323] [version=750] [2024/05/06 09:32:00.152 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=750] ["take time"=2.242189ms] [job="ID:323, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.077 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.153 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:323, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.077 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.157 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:323, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.077 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.157 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=323] [conn=3] [category=ddl] [job="ID:323, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.077 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 09:32:00.166 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=323] [conn=3] [category=ddl] [job="ID:323, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.077 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 09:32:00.166 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:323, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.077 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.177 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=750] [neededSchemaVersion=751] ["start time"=581.632µs] [gotSchemaVersion=751] [phyTblIDs="[111]"] [actionTypes="[61]"] [diffTypes="[\"alter table multi-schema change\"]"] [2024/05/06 09:32:00.178 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=323] [version=751] [2024/05/06 09:32:00.183 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=751] ["take time"=7.01019ms] [job="ID:323, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.077 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.184 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:323, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.077 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.188 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:323, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.077 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.188 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:323, Type:alter table multi-schema change, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.077 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.190 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=323] [2024/05/06 09:32:00.191 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:323, Type:alter table multi-schema change, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.077 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.195 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=323] [conn=3] [job="ID:323, Type:alter table multi-schema change, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.077 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.198 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:323, Type:alter table multi-schema change, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.077 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.200 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=323] [2024/05/06 09:32:00.200 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:32:00.201 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=751] [cur_db=test] [sql="alter table t add index drop_columns_idx(c41)"] [user=] [2024/05/06 09:32:00.204 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:324, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:32:00.203 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 09:32:00.204 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:324, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:32:00.203 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add index drop_columns_idx(c41)"] [2024/05/06 09:32:00.216 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:324, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.203 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.216 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=324] [conn=3] [category=ddl] [job="ID:324, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.203 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.216 +00:00] [INFO] [index.go:654] ["run add index job"] [category=ddl] [job="ID:324, Type:add index, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:32:00.203 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [indexInfo="{\"id\":36,\"idx_name\":{\"O\":\"drop_columns_idx\",\"L\":\"drop_columns_idx\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"c41\",\"L\":\"c41\"},\"offset\":5,\"length\":-1}],\"state\":0,\"backfill_state\":0,\"comment\":\"\",\"index_type\":1,\"is_unique\":false,\"is_primary\":false,\"is_invisible\":false,\"is_global\":false,\"mv_index\":false}"] [2024/05/06 09:32:00.217 +00:00] [INFO] [index.go:817] ["fallback to txn-merge backfill process"] [category=ddl] ["lightning env initialized"=false] [2024/05/06 09:32:00.222 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:324, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:32:00.203 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.224 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=751] [neededSchemaVersion=752] ["start time"=443.239µs] [gotSchemaVersion=752] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 09:32:00.225 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=324] [version=752] [2024/05/06 09:32:00.225 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=752] ["take time"=2.053045ms] [job="ID:324, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:32:00.203 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.226 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:324, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:32:00.203 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.233 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:324, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.203 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.233 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=324] [conn=3] [category=ddl] [job="ID:324, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.203 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.234 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:324, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:32:00.203 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.236 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=752] [neededSchemaVersion=753] ["start time"=436.292µs] [gotSchemaVersion=753] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 09:32:00.237 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=324] [version=753] [2024/05/06 09:32:00.237 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=753] ["take time"=2.049185ms] [job="ID:324, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:32:00.203 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.238 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:324, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:32:00.203 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.244 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:324, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.203 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.245 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=324] [conn=3] [category=ddl] [job="ID:324, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.203 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.245 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:324, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:32:00.203 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.247 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=753] [neededSchemaVersion=754] ["start time"=417.418µs] [gotSchemaVersion=754] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 09:32:00.249 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=324] [version=754] [2024/05/06 09:32:00.249 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=754] ["take time"=2.211431ms] [job="ID:324, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:32:00.203 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.250 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:324, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:32:00.203 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.255 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:324, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.203 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.255 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=324] [conn=3] [category=ddl] [job="ID:324, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.203 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.256 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=324] [table=t] ["ingest mode"=false] [index=drop_columns_idx] [2024/05/06 09:32:00.256 +00:00] [INFO] [reorg.go:718] ["job get table range"] [category=ddl] [jobID=324] [physicalTableID=111] [startKey=74800000000000006f5f728000000000000001] [endKey=74800000000000006f5f72800000000000080100] [2024/05/06 09:32:00.258 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:324, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:32:00.203 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573793367588864, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.259 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=324] [2024/05/06 09:32:00.260 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:324, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:32:00.203 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573793367588864, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.267 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:324, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.203 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573793367588864, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.267 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=324] [conn=3] [category=ddl] [job="ID:324, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.203 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573793367588864, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.268 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=324] [table=t] ["ingest mode"=false] [index=drop_columns_idx] [2024/05/06 09:32:00.269 +00:00] [INFO] [index.go:1931] ["start to add table index"] [category=ddl] [job="ID:324, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:32:00.203 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573793367588864, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:36,StartKey:74800000000000006f5f728000000000000001,EndKey:74800000000000006f5f72800000000000080100,First:false,PhysicalTableID:111,Ingest mode:false"] [2024/05/06 09:32:00.270 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=111] ["start key"=74800000000000006f5f728000000000000001] ["end key"=74800000000000006f5f72800000000000080100] [2024/05/06 09:32:00.270 +00:00] [INFO] [backfilling.go:692] ["start backfill workers to reorg record"] [category=ddl] [type="add index"] [workerCnt=1] [regionCnt=1] [startKey=74800000000000006f5f728000000000000001] [endKey=74800000000000006f5f72800000000000080100] [2024/05/06 09:32:00.270 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=111] ["end key"=74800000000000006f5f72800000000000080100] ["current end key"=74800000000000006f5f72800000000000080100] [2024/05/06 09:32:00.279 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 09:32:00.280 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:324, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:32:00.203 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573793367588864, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.280 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=324] [2024/05/06 09:32:00.281 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:324, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:32:00.203 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573793367588864, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.287 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:324, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.203 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573793367588864, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.287 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=324] [conn=3] [category=ddl] [job="ID:324, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.203 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573793367588864, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.287 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=324] [table=t] ["ingest mode"=false] [index=drop_columns_idx] [2024/05/06 09:32:00.301 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 09:32:00.301 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:324, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:32:00.203 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573793367588864, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.302 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=324] [2024/05/06 09:32:00.303 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:324, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:32:00.203 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573793367588864, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.309 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:324, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.203 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573793367588864, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.309 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=324] [conn=3] [category=ddl] [job="ID:324, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.203 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573793367588864, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.309 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=324] [table=t] ["ingest mode"=false] [index=drop_columns_idx] [2024/05/06 09:32:00.322 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 09:32:00.322 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:324, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:32:00.203 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573793367588864, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.323 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=324] [2024/05/06 09:32:00.324 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:324, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:32:00.203 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573793367588864, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.330 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:324, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.203 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573793367588864, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.330 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=324] [conn=3] [category=ddl] [job="ID:324, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.203 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573793367588864, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.330 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=324] [table=t] ["ingest mode"=false] [index=drop_columns_idx] [2024/05/06 09:32:00.342 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 09:32:00.343 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:324, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:32:00.203 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573793367588864, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.344 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=324] [2024/05/06 09:32:00.345 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:324, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:32:00.203 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573793367588864, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.352 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:324, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.203 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573793367588864, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.352 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=324] [conn=3] [category=ddl] [job="ID:324, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.203 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573793367588864, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.353 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=324] [table=t] ["ingest mode"=false] [index=drop_columns_idx] [2024/05/06 09:32:00.365 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 09:32:00.365 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:324, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:32:00.203 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573793367588864, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.366 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=324] [2024/05/06 09:32:00.367 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:324, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:32:00.203 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573793367588864, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.375 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:324, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.203 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573793367588864, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.375 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=324] [conn=3] [category=ddl] [job="ID:324, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.203 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573793367588864, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.376 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=324] [table=t] ["ingest mode"=false] [index=drop_columns_idx] [2024/05/06 09:32:00.428 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=512] [2024/05/06 09:32:00.428 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:324, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:512, ArgLen:6, start time: 2024-05-06 09:32:00.203 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573793367588864, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.430 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=324] [2024/05/06 09:32:00.439 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:324, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:512, ArgLen:6, start time: 2024-05-06 09:32:00.203 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573793367588864, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.442 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp add index"] [task="taskID: 1, physicalTableID: 111, range: [74800000000000006f5f728000000000000001, 74800000000000006f5f72800000000000080100), jobID: 324"] ["added count"=2049] ["scan count"=2049] ["next key"=74800000000000006f5f72800000000000080100] ["take time"=71.634605ms] [2024/05/06 09:32:00.442 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp add index"] [jobID=324] [2024/05/06 09:32:00.442 +00:00] [INFO] [backfilling.go:632] ["backfill workers successfully processed"] [category=ddl] [element=ID:36,TypeKey:_idx_] ["total added count"=2049] ["start key"=74800000000000006f5f728000000000000001] [2024/05/06 09:32:00.446 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:324, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:512, ArgLen:0, start time: 2024-05-06 09:32:00.203 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573793367588864, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.446 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=324] [conn=3] [category=ddl] [job="ID:324, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:512, ArgLen:0, start time: 2024-05-06 09:32:00.203 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573793367588864, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.446 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=324] [table=t] ["ingest mode"=false] [index=drop_columns_idx] [2024/05/06 09:32:00.448 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=2049] [2024/05/06 09:32:00.480 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:324, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:32:00.203 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573793367588864, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.482 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=754] [neededSchemaVersion=755] ["start time"=523.023µs] [gotSchemaVersion=755] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 09:32:00.484 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=324] [version=755] [2024/05/06 09:32:00.494 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=755] ["take time"=12.278302ms] [job="ID:324, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:32:00.203 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573793367588864, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.495 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:324, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:32:00.203 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573793367588864, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.502 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:324, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:32:00.203 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573793367588864, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.502 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=324] [conn=3] [category=ddl] [job="ID:324, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:32:00.203 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573793367588864, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.502 +00:00] [INFO] [index.go:880] ["index backfill state ready to merge"] [category=ddl] ["job ID"=324] [table=t] [index=drop_columns_idx] [2024/05/06 09:32:00.504 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:324, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:32:00.203 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.506 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=755] [neededSchemaVersion=756] ["start time"=483.06µs] [gotSchemaVersion=756] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 09:32:00.508 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=324] [version=756] [2024/05/06 09:32:00.508 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=756] ["take time"=2.320597ms] [job="ID:324, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:32:00.203 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.509 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:324, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:32:00.203 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.515 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:324, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:32:00.203 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.515 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=324] [conn=3] [category=ddl] [job="ID:324, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:32:00.203 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.516 +00:00] [INFO] [reorg.go:718] ["job get table range"] [category=ddl] [jobID=324] [physicalTableID=111] [startKey=74800000000000006f5f69ffff000000000024] [endKey=74800000000000006f5f69ffff000000000024ff] [2024/05/06 09:32:00.518 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:324, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:32:00.203 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573793435746304, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.519 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=324] [2024/05/06 09:32:00.519 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:324, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:32:00.203 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573793435746304, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.529 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:324, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:32:00.203 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573793435746304, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.529 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=324] [conn=3] [category=ddl] [job="ID:324, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:32:00.203 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573793435746304, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.531 +00:00] [INFO] [index.go:1928] ["start to merge temp index"] [category=ddl] [job="ID:324, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:32:00.203 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573793435746304, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:36,StartKey:74800000000000006f5f69ffff000000000024,EndKey:74800000000000006f5f69ffff000000000024ff,First:false,PhysicalTableID:111,Ingest mode:false"] [2024/05/06 09:32:00.532 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=111] ["start key"=74800000000000006f5f69ffff000000000024] ["end key"=74800000000000006f5f69ffff000000000024ff] [2024/05/06 09:32:00.532 +00:00] [INFO] [backfilling.go:692] ["start backfill workers to reorg record"] [category=ddl] [type="merge temporary index"] [workerCnt=1] [regionCnt=1] [startKey=74800000000000006f5f69ffff000000000024] [endKey=74800000000000006f5f69ffff000000000024ff] [2024/05/06 09:32:00.533 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=111] ["end key"=74800000000000006f5f69ffff000000000024ff] ["current end key"=74800000000000006f5f69ffff00000000002400] [2024/05/06 09:32:00.626 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=2049] [2024/05/06 09:32:00.626 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:324, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:32:00.203 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573793435746304, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.626 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=324] [2024/05/06 09:32:00.627 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:324, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:32:00.203 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573793435746304, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.633 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:324, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:32:00.203 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573793435746304, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.633 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=324] [conn=3] [category=ddl] [job="ID:324, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:32:00.203 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573793435746304, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.635 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [task="taskID: 1, physicalTableID: 111, range: [74800000000000006f5f69ffff000000000024, 74800000000000006f5f69ffff00000000002400), jobID: 324"] ["added count"=0] ["scan count"=0] ["next key"=74800000000000006f5f69ffff0000000000240000] ["take time"=174.92µs] [2024/05/06 09:32:00.635 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [jobID=324] [2024/05/06 09:32:00.635 +00:00] [INFO] [backfilling.go:632] ["backfill workers successfully processed"] [category=ddl] [element=ID:36,TypeKey:_idx_] ["total added count"=2049] ["start key"=74800000000000006f5f69ffff000000000024] [2024/05/06 09:32:00.635 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=2049] [2024/05/06 09:32:00.669 +00:00] [INFO] [index.go:781] ["run add index job done"] [category=ddl] [charset=utf8mb4] [collation=utf8mb4_bin] [2024/05/06 09:32:00.669 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:324, Type:add index, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 09:32:00.203 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573793435746304, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.671 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=756] [neededSchemaVersion=757] ["start time"=571.334µs] [gotSchemaVersion=757] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 09:32:00.672 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=324] [version=757] [2024/05/06 09:32:00.675 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=757] ["take time"=4.384428ms] [job="ID:324, Type:add index, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 09:32:00.203 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573793435746304, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.676 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:324, Type:add index, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 09:32:00.203 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573793435746304, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.683 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=324] [tableID=111] [indexIDs="[9223090561878065188]"] [comment="add index: physical table ID(s)"] [2024/05/06 09:32:00.684 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=324] [jobType="add index"] [2024/05/06 09:32:00.684 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=324] [conn=3] [job="ID:324, Type:add index, State:synced, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 09:32:00.203 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573793435746304, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.688 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=324] [elementID=1] [startKey=74800000000000006f5f69ffff000000000024] [endKey=74800000000000006f5f69ffff000000000025] [2024/05/06 09:32:00.689 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:324, Type:add index, State:synced, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 09:32:00.203 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573793435746304, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.691 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=324] [2024/05/06 09:32:00.691 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:32:00.692 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=757] [cur_db=test] [sql="alter table t drop column c41, drop column c42"] [user=] [2024/05/06 09:32:00.694 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:325, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.693 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 09:32:00.694 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:325, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.693 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t drop column c41, drop column c42"] [2024/05/06 09:32:00.701 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:325, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.693 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.701 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=325] [conn=3] [category=ddl] [job="ID:325, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.693 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 09:32:00.701 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:325, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.693 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.702 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=325] [2024/05/06 09:32:00.703 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:325, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.693 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.709 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:325, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.693 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.709 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=325] [conn=3] [category=ddl] [job="ID:325, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.693 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 09:32:00.710 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:325, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.693 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.711 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=325] [2024/05/06 09:32:00.711 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:325, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.693 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.716 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:325, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.693 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.716 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=325] [conn=3] [category=ddl] [job="ID:325, Type:drop column, State:running, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.693 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 09:32:00.717 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=325] [conn=3] [category=ddl] [job="ID:325, Type:drop column, State:running, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.693 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 09:32:00.717 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:325, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.693 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.719 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=757] [neededSchemaVersion=758] ["start time"=561.732µs] [gotSchemaVersion=758] [phyTblIDs="[111]"] [actionTypes="[61]"] [diffTypes="[\"alter table multi-schema change\"]"] [2024/05/06 09:32:00.721 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=325] [version=758] [2024/05/06 09:32:00.724 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=758] ["take time"=5.043162ms] [job="ID:325, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.693 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.725 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:325, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.693 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.729 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:325, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.693 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.729 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=325] [conn=3] [category=ddl] [job="ID:325, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.693 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 09:32:00.730 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:325, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.693 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.732 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=758] [neededSchemaVersion=759] ["start time"=532.629µs] [gotSchemaVersion=759] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 09:32:00.733 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=325] [version=759] [2024/05/06 09:32:00.733 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=759] ["take time"=2.020651ms] [job="ID:325, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.693 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.734 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:325, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.693 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.738 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:325, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.693 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.738 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=325] [conn=3] [category=ddl] [job="ID:325, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.693 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 09:32:00.738 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:325, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.693 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.741 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=759] [neededSchemaVersion=760] ["start time"=571.91µs] [gotSchemaVersion=760] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 09:32:00.742 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=325] [version=760] [2024/05/06 09:32:00.744 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=760] ["take time"=4.257932ms] [job="ID:325, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.693 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.747 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:325, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.693 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.752 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:325, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.693 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.752 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=325] [conn=3] [category=ddl] [job="ID:325, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.693 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 09:32:00.752 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:325, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.693 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.755 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=760] [neededSchemaVersion=761] ["start time"=564.603µs] [gotSchemaVersion=761] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 09:32:00.756 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=325] [version=761] [2024/05/06 09:32:00.759 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=761] ["take time"=4.33934ms] [job="ID:325, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.693 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.762 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:325, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.693 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.770 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:325, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.693 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.770 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=325] [conn=3] [category=ddl] [job="ID:325, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.693 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 09:32:00.771 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:325, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.693 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.773 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=761] [neededSchemaVersion=762] ["start time"=511.142µs] [gotSchemaVersion=762] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 09:32:00.774 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=325] [version=762] [2024/05/06 09:32:00.777 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=762] ["take time"=4.309553ms] [job="ID:325, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.693 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.778 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:325, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.693 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.782 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:325, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.693 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.782 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=325] [conn=3] [category=ddl] [job="ID:325, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.693 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 09:32:00.783 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:325, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.693 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.785 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=762] [neededSchemaVersion=763] ["start time"=517.261µs] [gotSchemaVersion=763] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 09:32:00.787 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=325] [version=763] [2024/05/06 09:32:00.789 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=763] ["take time"=4.423177ms] [job="ID:325, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.693 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.791 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:325, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.693 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.795 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:325, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.693 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.795 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=325] [conn=3] [category=ddl] [job="ID:325, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.693 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 09:32:00.796 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:325, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.693 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.799 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=763] [neededSchemaVersion=764] ["start time"=834.198µs] [gotSchemaVersion=764] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 09:32:00.801 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=325] [version=764] [2024/05/06 09:32:00.802 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=764] ["take time"=4.170512ms] [job="ID:325, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.693 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.803 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:325, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.693 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.810 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:325, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.693 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.811 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:325, Type:alter table multi-schema change, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.693 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.813 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=325] [2024/05/06 09:32:00.814 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:325, Type:alter table multi-schema change, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.693 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.821 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=325] [tableID=111] [indexIDs="[36]"] [comment="drop column: table ID"] [2024/05/06 09:32:00.822 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=325] [jobType="alter table multi-schema change"] [2024/05/06 09:32:00.822 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=325] [conn=3] [job="ID:325, Type:alter table multi-schema change, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.693 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.828 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:325, Type:alter table multi-schema change, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.693 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.831 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=325] [2024/05/06 09:32:00.831 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:32:00.832 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=764] [cur_db=test] [sql="alter table t add column c41 bigint, add column c42 bigint"] [user=] [2024/05/06 09:32:00.835 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:326, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.833 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 09:32:00.835 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:326, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.833 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add column c41 bigint, add column c42 bigint"] [2024/05/06 09:32:00.837 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=325] [elementID=1] [startKey=74800000000000006f5f698000000000000024] [endKey=74800000000000006f5f698000000000000025] [2024/05/06 09:32:00.842 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:326, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.833 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.842 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=326] [conn=3] [category=ddl] [job="ID:326, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.833 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 09:32:00.843 +00:00] [INFO] [column.go:135] ["run add column job"] [category=ddl] [job="ID:326, Type:add column, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:32:00.833 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [columnInfo="{\"id\":65,\"name\":{\"O\":\"c41\",\"L\":\"c41\"},\"offset\":5,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{},\"state\":0,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2}"] [2024/05/06 09:32:00.843 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:326, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.833 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.846 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=764] [neededSchemaVersion=765] ["start time"=560.082µs] [gotSchemaVersion=765] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:32:00.847 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=326] [version=765] [2024/05/06 09:32:00.850 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=765] ["take time"=5.064802ms] [job="ID:326, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.833 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.851 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:326, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.833 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.855 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:326, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.833 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.855 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=326] [conn=3] [category=ddl] [job="ID:326, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.833 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 09:32:00.856 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:326, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.833 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.858 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=765] [neededSchemaVersion=766] ["start time"=558.579µs] [gotSchemaVersion=766] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:32:00.860 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=326] [version=766] [2024/05/06 09:32:00.862 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=766] ["take time"=4.058775ms] [job="ID:326, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.833 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.863 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:326, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.833 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.872 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:326, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.833 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.872 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=326] [conn=3] [category=ddl] [job="ID:326, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.833 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 09:32:00.873 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:326, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.833 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.876 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=766] [neededSchemaVersion=767] ["start time"=688.177µs] [gotSchemaVersion=767] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:32:00.877 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=326] [version=767] [2024/05/06 09:32:00.879 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=767] ["take time"=4.149352ms] [job="ID:326, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.833 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.880 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:326, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.833 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.885 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:326, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.833 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.885 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=326] [conn=3] [category=ddl] [job="ID:326, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.833 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 09:32:00.885 +00:00] [INFO] [column.go:135] ["run add column job"] [category=ddl] [job="ID:326, Type:add column, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 09:32:00.833 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [columnInfo="{\"id\":66,\"name\":{\"O\":\"c42\",\"L\":\"c42\"},\"offset\":6,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{},\"state\":0,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2}"] [2024/05/06 09:32:00.886 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:326, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.833 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.888 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=767] [neededSchemaVersion=768] ["start time"=583.792µs] [gotSchemaVersion=768] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:32:00.889 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=326] [version=768] [2024/05/06 09:32:00.889 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=768] ["take time"=2.23394ms] [job="ID:326, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.833 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.890 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:326, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.833 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.894 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:326, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.833 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.894 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=326] [conn=3] [category=ddl] [job="ID:326, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.833 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 09:32:00.894 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:326, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.833 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.897 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=768] [neededSchemaVersion=769] ["start time"=535.517µs] [gotSchemaVersion=769] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:32:00.898 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=326] [version=769] [2024/05/06 09:32:00.901 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=769] ["take time"=4.893197ms] [job="ID:326, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.833 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.902 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:326, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.833 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.907 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:326, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.833 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.907 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=326] [conn=3] [category=ddl] [job="ID:326, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.833 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 09:32:00.908 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:326, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.833 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.910 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=769] [neededSchemaVersion=770] ["start time"=561.295µs] [gotSchemaVersion=770] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 09:32:00.911 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=326] [version=770] [2024/05/06 09:32:00.914 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=770] ["take time"=4.853481ms] [job="ID:326, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.833 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.915 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:326, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.833 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.923 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:326, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.833 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.924 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=326] [conn=3] [category=ddl] [job="ID:326, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.833 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 09:32:00.925 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=326] [conn=3] [category=ddl] [job="ID:326, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.833 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 09:32:00.926 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:326, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.833 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.929 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=770] [neededSchemaVersion=771] ["start time"=542.793µs] [gotSchemaVersion=771] [phyTblIDs="[111]"] [actionTypes="[61]"] [diffTypes="[\"alter table multi-schema change\"]"] [2024/05/06 09:32:00.930 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=326] [version=771] [2024/05/06 09:32:00.930 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=771] ["take time"=2.51414ms] [job="ID:326, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.833 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.931 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:326, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.833 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.935 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:326, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.833 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.936 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:326, Type:alter table multi-schema change, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.833 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.943 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=326] [2024/05/06 09:32:00.944 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:326, Type:alter table multi-schema change, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.833 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.949 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=326] [conn=3] [job="ID:326, Type:alter table multi-schema change, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.833 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.952 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:326, Type:alter table multi-schema change, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.833 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.954 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=326] [2024/05/06 09:32:00.955 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:32:00.955 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=771] [cur_db=test] [sql="alter table t add index drop_columns_idx(c41)"] [user=] [2024/05/06 09:32:00.959 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:327, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:32:00.956 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 09:32:00.959 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:327, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:32:00.956 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add index drop_columns_idx(c41)"] [2024/05/06 09:32:00.967 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:327, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.956 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.967 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=327] [conn=3] [category=ddl] [job="ID:327, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.956 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.968 +00:00] [INFO] [index.go:654] ["run add index job"] [category=ddl] [job="ID:327, Type:add index, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:32:00.956 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [indexInfo="{\"id\":37,\"idx_name\":{\"O\":\"drop_columns_idx\",\"L\":\"drop_columns_idx\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"c41\",\"L\":\"c41\"},\"offset\":5,\"length\":-1}],\"state\":0,\"backfill_state\":0,\"comment\":\"\",\"index_type\":1,\"is_unique\":false,\"is_primary\":false,\"is_invisible\":false,\"is_global\":false,\"mv_index\":false}"] [2024/05/06 09:32:00.968 +00:00] [INFO] [index.go:817] ["fallback to txn-merge backfill process"] [category=ddl] ["lightning env initialized"=false] [2024/05/06 09:32:00.968 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:327, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:32:00.956 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.970 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=771] [neededSchemaVersion=772] ["start time"=611.847µs] [gotSchemaVersion=772] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 09:32:00.972 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=327] [version=772] [2024/05/06 09:32:00.975 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=772] ["take time"=5.742545ms] [job="ID:327, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:32:00.956 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.977 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:327, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:32:00.956 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.983 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:327, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.956 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.984 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=327] [conn=3] [category=ddl] [job="ID:327, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.956 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.984 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:327, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:32:00.956 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.987 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=772] [neededSchemaVersion=773] ["start time"=630.687µs] [gotSchemaVersion=773] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 09:32:00.988 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=327] [version=773] [2024/05/06 09:32:00.990 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=773] ["take time"=4.573332ms] [job="ID:327, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:32:00.956 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.991 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:327, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:32:00.956 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.998 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:327, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.956 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:00.998 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=327] [conn=3] [category=ddl] [job="ID:327, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.956 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:01.007 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:327, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:32:00.956 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:01.010 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=773] [neededSchemaVersion=774] ["start time"=610.556µs] [gotSchemaVersion=774] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 09:32:01.011 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=327] [version=774] [2024/05/06 09:32:01.013 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=774] ["take time"=4.016121ms] [job="ID:327, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:32:00.956 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:01.014 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:327, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:32:00.956 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:01.019 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:327, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.956 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:01.019 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=327] [conn=3] [category=ddl] [job="ID:327, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.956 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:01.019 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=327] [table=t] ["ingest mode"=false] [index=drop_columns_idx] [2024/05/06 09:32:01.020 +00:00] [INFO] [reorg.go:718] ["job get table range"] [category=ddl] [jobID=327] [physicalTableID=111] [startKey=74800000000000006f5f728000000000000001] [endKey=74800000000000006f5f72800000000000080100] [2024/05/06 09:32:01.022 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:327, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:32:00.956 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573793567604737, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:01.023 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=327] [2024/05/06 09:32:01.023 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:327, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:32:00.956 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573793567604737, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:01.029 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:327, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.956 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573793567604737, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:01.030 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=327] [conn=3] [category=ddl] [job="ID:327, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.956 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573793567604737, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:01.030 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=327] [table=t] ["ingest mode"=false] [index=drop_columns_idx] [2024/05/06 09:32:01.032 +00:00] [INFO] [index.go:1931] ["start to add table index"] [category=ddl] [job="ID:327, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:32:00.956 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573793567604737, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:37,StartKey:74800000000000006f5f728000000000000001,EndKey:74800000000000006f5f72800000000000080100,First:false,PhysicalTableID:111,Ingest mode:false"] [2024/05/06 09:32:01.033 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=111] ["start key"=74800000000000006f5f728000000000000001] ["end key"=74800000000000006f5f72800000000000080100] [2024/05/06 09:32:01.033 +00:00] [INFO] [backfilling.go:692] ["start backfill workers to reorg record"] [category=ddl] [type="add index"] [workerCnt=1] [regionCnt=1] [startKey=74800000000000006f5f728000000000000001] [endKey=74800000000000006f5f72800000000000080100] [2024/05/06 09:32:01.033 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=111] ["end key"=74800000000000006f5f72800000000000080100] ["current end key"=74800000000000006f5f72800000000000080100] [2024/05/06 09:32:01.050 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 09:32:01.050 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:327, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:32:00.956 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573793567604737, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:01.050 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=327] [2024/05/06 09:32:01.051 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:327, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:32:00.956 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573793567604737, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:01.063 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:327, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.956 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573793567604737, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:01.063 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=327] [conn=3] [category=ddl] [job="ID:327, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.956 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573793567604737, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:01.063 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=327] [table=t] ["ingest mode"=false] [index=drop_columns_idx] [2024/05/06 09:32:01.075 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 09:32:01.075 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:327, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:32:00.956 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573793567604737, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:01.076 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=327] [2024/05/06 09:32:01.077 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:327, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:32:00.956 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573793567604737, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:01.083 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:327, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.956 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573793567604737, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:01.083 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=327] [conn=3] [category=ddl] [job="ID:327, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.956 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573793567604737, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:01.084 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=327] [table=t] ["ingest mode"=false] [index=drop_columns_idx] [2024/05/06 09:32:01.096 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 09:32:01.096 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:327, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:32:00.956 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573793567604737, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:01.097 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=327] [2024/05/06 09:32:01.097 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:327, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:32:00.956 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573793567604737, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:01.104 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:327, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.956 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573793567604737, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:01.104 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=327] [conn=3] [category=ddl] [job="ID:327, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.956 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573793567604737, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:01.104 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=327] [table=t] ["ingest mode"=false] [index=drop_columns_idx] [2024/05/06 09:32:01.119 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 09:32:01.119 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:327, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:32:00.956 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573793567604737, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:01.120 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=327] [2024/05/06 09:32:01.120 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:327, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 09:32:00.956 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573793567604737, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:01.127 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:327, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.956 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573793567604737, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:01.127 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=327] [conn=3] [category=ddl] [job="ID:327, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:00.956 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573793567604737, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:01.128 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=327] [table=t] ["ingest mode"=false] [index=drop_columns_idx] [2024/05/06 09:32:01.202 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=96] [2024/05/06 09:32:01.203 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:327, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:96, ArgLen:6, start time: 2024-05-06 09:32:00.956 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573793567604737, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:01.205 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=327] [2024/05/06 09:32:01.206 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:327, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:96, ArgLen:6, start time: 2024-05-06 09:32:00.956 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573793567604737, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:01.212 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:327, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:96, ArgLen:0, start time: 2024-05-06 09:32:00.956 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573793567604737, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:01.212 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=327] [conn=3] [category=ddl] [job="ID:327, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:96, ArgLen:0, start time: 2024-05-06 09:32:00.956 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573793567604737, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:01.213 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=327] [table=t] ["ingest mode"=false] [index=drop_columns_idx] [2024/05/06 09:32:01.221 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp add index"] [task="taskID: 1, physicalTableID: 111, range: [74800000000000006f5f728000000000000001, 74800000000000006f5f72800000000000080100), jobID: 327"] ["added count"=2049] ["scan count"=2049] ["next key"=74800000000000006f5f72800000000000080100] ["take time"=87.60511ms] [2024/05/06 09:32:01.221 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp add index"] [jobID=327] [2024/05/06 09:32:01.221 +00:00] [INFO] [backfilling.go:632] ["backfill workers successfully processed"] [category=ddl] [element=ID:37,TypeKey:_idx_] ["total added count"=2049] ["start key"=74800000000000006f5f728000000000000001] [2024/05/06 09:32:01.221 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=2049] [2024/05/06 09:32:01.260 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:327, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:32:00.956 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573793567604737, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:01.262 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=774] [neededSchemaVersion=775] ["start time"=614.399µs] [gotSchemaVersion=775] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 09:32:01.263 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=327] [version=775] [2024/05/06 09:32:01.265 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=775] ["take time"=4.138403ms] [job="ID:327, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:32:00.956 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573793567604737, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:01.266 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:327, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:32:00.956 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573793567604737, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:01.273 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:327, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:32:00.956 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573793567604737, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:01.273 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=327] [conn=3] [category=ddl] [job="ID:327, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:32:00.956 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573793567604737, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:01.273 +00:00] [INFO] [index.go:880] ["index backfill state ready to merge"] [category=ddl] ["job ID"=327] [table=t] [index=drop_columns_idx] [2024/05/06 09:32:01.274 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:327, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:32:00.956 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:01.276 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=775] [neededSchemaVersion=776] ["start time"=599.955µs] [gotSchemaVersion=776] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 09:32:01.278 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=327] [version=776] [2024/05/06 09:32:01.280 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=776] ["take time"=4.203854ms] [job="ID:327, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:32:00.956 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:01.286 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:327, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:32:00.956 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:01.291 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:327, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:32:00.956 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:01.291 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=327] [conn=3] [category=ddl] [job="ID:327, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:32:00.956 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:01.291 +00:00] [INFO] [reorg.go:718] ["job get table range"] [category=ddl] [jobID=327] [physicalTableID=111] [startKey=74800000000000006f5f69ffff000000000025] [endKey=74800000000000006f5f69ffff000000000025ff] [2024/05/06 09:32:01.293 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:327, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:32:00.956 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573793638907905, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:01.294 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=327] [2024/05/06 09:32:01.295 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:327, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:32:00.956 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573793638907905, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:01.300 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:327, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:32:00.956 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573793638907905, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:01.300 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=327] [conn=3] [category=ddl] [job="ID:327, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:32:00.956 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573793638907905, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:01.302 +00:00] [INFO] [index.go:1928] ["start to merge temp index"] [category=ddl] [job="ID:327, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:32:00.956 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573793638907905, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:37,StartKey:74800000000000006f5f69ffff000000000025,EndKey:74800000000000006f5f69ffff000000000025ff,First:false,PhysicalTableID:111,Ingest mode:false"] [2024/05/06 09:32:01.303 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=111] ["start key"=74800000000000006f5f69ffff000000000025] ["end key"=74800000000000006f5f69ffff000000000025ff] [2024/05/06 09:32:01.303 +00:00] [INFO] [backfilling.go:692] ["start backfill workers to reorg record"] [category=ddl] [type="merge temporary index"] [workerCnt=1] [regionCnt=1] [startKey=74800000000000006f5f69ffff000000000025] [endKey=74800000000000006f5f69ffff000000000025ff] [2024/05/06 09:32:01.303 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=111] ["end key"=74800000000000006f5f69ffff000000000025ff] ["current end key"=74800000000000006f5f69ffff00000000002500] [2024/05/06 09:32:01.349 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=2049] [2024/05/06 09:32:01.349 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:327, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:32:00.956 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573793638907905, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:01.350 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=327] [2024/05/06 09:32:01.350 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:327, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:32:00.956 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573793638907905, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:01.356 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:327, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:32:00.956 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573793638907905, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:01.356 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=327] [conn=3] [category=ddl] [job="ID:327, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:32:00.956 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573793638907905, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:01.400 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=2049] [2024/05/06 09:32:01.400 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:327, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:32:00.956 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573793638907905, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:01.401 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=327] [2024/05/06 09:32:01.402 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:327, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 09:32:00.956 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573793638907905, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:01.404 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [task="taskID: 1, physicalTableID: 111, range: [74800000000000006f5f69ffff000000000025, 74800000000000006f5f69ffff00000000002500), jobID: 327"] ["added count"=0] ["scan count"=0] ["next key"=74800000000000006f5f69ffff0000000000250000] ["take time"=137.468µs] [2024/05/06 09:32:01.404 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [jobID=327] [2024/05/06 09:32:01.404 +00:00] [INFO] [backfilling.go:632] ["backfill workers successfully processed"] [category=ddl] [element=ID:37,TypeKey:_idx_] ["total added count"=2049] ["start key"=74800000000000006f5f69ffff000000000025] [2024/05/06 09:32:01.408 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:327, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:32:00.956 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573793638907905, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:01.408 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=327] [conn=3] [category=ddl] [job="ID:327, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 09:32:00.956 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573793638907905, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:01.410 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=2049] [2024/05/06 09:32:01.445 +00:00] [INFO] [index.go:781] ["run add index job done"] [category=ddl] [charset=utf8mb4] [collation=utf8mb4_bin] [2024/05/06 09:32:01.445 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:327, Type:add index, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 09:32:00.956 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573793638907905, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:01.448 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=776] [neededSchemaVersion=777] ["start time"=417.455µs] [gotSchemaVersion=777] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 09:32:01.449 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=327] [version=777] [2024/05/06 09:32:01.449 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=777] ["take time"=2.072466ms] [job="ID:327, Type:add index, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 09:32:00.956 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573793638907905, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:01.451 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:327, Type:add index, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 09:32:00.956 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573793638907905, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:01.457 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=327] [tableID=111] [indexIDs="[9223090561878065189]"] [comment="add index: physical table ID(s)"] [2024/05/06 09:32:01.458 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=327] [jobType="add index"] [2024/05/06 09:32:01.459 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=327] [conn=3] [job="ID:327, Type:add index, State:synced, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 09:32:00.956 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573793638907905, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:01.461 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=327] [elementID=1] [startKey=74800000000000006f5f69ffff000000000025] [endKey=74800000000000006f5f69ffff000000000026] [2024/05/06 09:32:01.464 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=327] [2024/05/06 09:32:01.464 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:32:01.464 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=777] [cur_db=test] [sql="alter table t drop column c41, drop column c42"] [user=] [2024/05/06 09:32:01.467 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:328, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:01.465 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 09:32:01.467 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:328, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:01.465 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t drop column c41, drop column c42"] [2024/05/06 09:32:01.483 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:327, Type:add index, State:synced, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 09:32:00.956 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573793638907905, LocalMode: false, UniqueWarnings:0"] testutil.go:118: Error Trace: pkg/ddl/testutil/testutil.go:118 Error: not multi-schema change(sql: alter table t drop column c41, drop column c42, cancel state: [none delete only]) Test: TestCancel Messages: use model.SchemaState as the cancel state instead [2024/05/06 09:32:01.490 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:328, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:01.465 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:01.490 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=328] [conn=3] [category=ddl] [job="ID:328, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:01.465 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 09:32:01.491 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:328, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:01.465 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:01.492 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=328] [2024/05/06 09:32:01.492 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:328, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:01.465 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:01.497 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:328, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:01.465 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:01.497 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=328] [conn=3] [category=ddl] [job="ID:328, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:01.465 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 09:32:01.498 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:328, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:01.465 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:01.499 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=328] [2024/05/06 09:32:01.500 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:328, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:01.465 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:01.510 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:328, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:01.465 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:01.511 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=328] [conn=3] [category=ddl] [job="ID:328, Type:drop column, State:running, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:01.465 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 09:32:01.512 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=328] [conn=3] [category=ddl] [job="ID:328, Type:drop column, State:running, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:01.465 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 09:32:01.512 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:328, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:01.465 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:01.514 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=777] [neededSchemaVersion=778] ["start time"=598.22µs] [gotSchemaVersion=778] [phyTblIDs="[111]"] [actionTypes="[61]"] [diffTypes="[\"alter table multi-schema change\"]"] [2024/05/06 09:32:01.515 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=328] [version=778] [2024/05/06 09:32:01.516 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=778] ["take time"=2.35169ms] [job="ID:328, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:01.465 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:01.517 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:328, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:01.465 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:01.521 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:328, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:01.465 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:01.521 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=328] [conn=3] [category=ddl] [job="ID:328, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:01.465 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 09:32:01.522 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:328, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:01.465 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:01.524 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=778] [neededSchemaVersion=779] ["start time"=549.172µs] [gotSchemaVersion=779] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 09:32:01.525 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=328] [version=779] [2024/05/06 09:32:01.525 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=779] ["take time"=2.039344ms] [job="ID:328, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:01.465 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:01.526 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:328, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:01.465 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:01.529 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:328, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:01.465 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:01.529 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=328] [conn=3] [category=ddl] [job="ID:328, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:01.465 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 09:32:01.531 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:328, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:01.465 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:01.533 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=779] [neededSchemaVersion=780] ["start time"=579.061µs] [gotSchemaVersion=780] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 09:32:01.535 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=328] [version=780] [2024/05/06 09:32:01.537 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=780] ["take time"=4.213381ms] [job="ID:328, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:01.465 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:01.538 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:328, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:01.465 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:01.542 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:328, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:01.465 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:01.542 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=328] [conn=3] [category=ddl] [job="ID:328, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:01.465 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 09:32:01.543 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:328, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:01.465 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:01.546 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=780] [neededSchemaVersion=781] ["start time"=667.83µs] [gotSchemaVersion=781] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 09:32:01.547 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=328] [version=781] [2024/05/06 09:32:01.559 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=781] ["take time"=14.021228ms] [job="ID:328, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:01.465 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:01.560 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:328, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:01.465 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:01.564 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:328, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:01.465 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:01.564 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=328] [conn=3] [category=ddl] [job="ID:328, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:01.465 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 09:32:01.565 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:328, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:01.465 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:01.569 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=781] [neededSchemaVersion=782] ["start time"=873.365µs] [gotSchemaVersion=782] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 09:32:01.570 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=328] [version=782] [2024/05/06 09:32:01.572 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=782] ["take time"=4.708007ms] [job="ID:328, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:01.465 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:01.573 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:328, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:01.465 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:01.579 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:328, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:01.465 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:01.579 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=328] [conn=3] [category=ddl] [job="ID:328, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:01.465 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 09:32:01.580 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:328, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:01.465 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:01.583 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=782] [neededSchemaVersion=783] ["start time"=387.087µs] [gotSchemaVersion=783] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 09:32:01.584 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=328] [version=783] [2024/05/06 09:32:01.585 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=783] ["take time"=2.908788ms] [job="ID:328, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:01.465 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:01.586 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:328, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:01.465 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:01.590 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:328, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:01.465 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:01.590 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=328] [conn=3] [category=ddl] [job="ID:328, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:01.465 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 09:32:01.591 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:328, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:01.465 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:01.593 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=783] [neededSchemaVersion=784] ["start time"=560.651µs] [gotSchemaVersion=784] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 09:32:01.595 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=328] [version=784] [2024/05/06 09:32:01.598 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=784] ["take time"=4.950572ms] [job="ID:328, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:01.465 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:01.599 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:328, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:01.465 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:01.603 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:328, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:01.465 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:01.603 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:328, Type:alter table multi-schema change, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:01.465 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:01.605 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=328] [2024/05/06 09:32:01.605 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:328, Type:alter table multi-schema change, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:01.465 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:01.609 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=328] [tableID=111] [indexIDs="[37]"] [comment="drop column: table ID"] [2024/05/06 09:32:01.617 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=328] [jobType="alter table multi-schema change"] [2024/05/06 09:32:01.618 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=328] [conn=3] [job="ID:328, Type:alter table multi-schema change, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:01.465 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:01.621 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:328, Type:alter table multi-schema change, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 09:32:01.465 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:32:01.623 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=328] [2024/05/06 09:32:01.623 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:32:01.632 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=328] [elementID=1] [startKey=74800000000000006f5f698000000000000025] [endKey=74800000000000006f5f698000000000000026] -- Test timed out at 2024-05-06 09:36:31 UTC -- ================================================================================ [12,679 / 13,244] 303 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 60s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,685 / 13,244] 303 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 14 of 19); 56s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,692 / 13,244] 304 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 14 of 19); 57s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,693 / 13,244] 304 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 14 of 19); 58s remote-cache, linux-sandbox ... (70 actions running) [12,698 / 13,250] 304 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 14 of 19); 59s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,709 / 13,250] 304 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 14 of 19); 61s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,714 / 13,298] 304 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 14 of 19); 62s remote-cache, linux-sandbox ... (70 actions running) [12,716 / 13,298] 305 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 14 of 19); 64s remote-cache, linux-sandbox ... (70 actions running) [12,718 / 13,298] 305 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 14 of 19); 65s remote-cache, linux-sandbox ... (70 actions running) [12,722 / 13,298] 305 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 14 of 19); 66s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,732 / 13,298] 305 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 14 of 19); 67s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,733 / 13,325] 305 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 14 of 19); 68s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,741 / 13,325] 306 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 14 of 19); 70s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,745 / 13,325] 307 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 14 of 19); 71s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,752 / 13,325] 308 / 411 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 16 of 28); 36s remote-cache, linux-sandbox ... (67 actions, 66 running) [12,756 / 13,325] 308 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 6 of 19); 32s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,760 / 13,325] 308 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 6 of 19); 33s remote-cache, linux-sandbox ... (70 actions running) [12,764 / 13,325] 309 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 6 of 19); 34s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,769 / 13,325] 309 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 6 of 19); 35s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,774 / 13,325] 309 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 6 of 19); 36s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,778 / 13,325] 310 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 6 of 19); 37s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,781 / 13,325] 310 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 6 of 19); 39s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,787 / 13,325] 311 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 6 of 19); 40s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,788 / 13,325] 311 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 6 of 19); 41s remote-cache, linux-sandbox ... (70 actions running) [12,789 / 13,325] 311 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 6 of 19); 43s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,790 / 13,325] 311 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 6 of 19); 44s remote-cache, linux-sandbox ... (70 actions running) [12,796 / 13,325] 311 / 411 tests; Testing //pkg/ddl/tests/indexmerge:indexmerge_test (shard 7 of 20); 37s remote-cache, linux-sandbox ... (70 actions running) [12,803 / 13,331] 312 / 411 tests; Testing //pkg/statistics/handle/handletest/statstest:statstest_test (shard 7 of 12); 38s remote-cache, linux-sandbox ... (70 actions running) [12,807 / 13,331] 313 / 411 tests; Testing //pkg/statistics/handle/handletest/statstest:statstest_test (shard 7 of 12); 39s remote-cache, linux-sandbox ... (70 actions running) [12,809 / 13,335] 313 / 411 tests; Testing //pkg/statistics/handle/handletest/statstest:statstest_test (shard 7 of 12); 40s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,811 / 13,335] 313 / 411 tests; Testing //pkg/statistics/handle/handletest/statstest:statstest_test (shard 7 of 12); 41s remote-cache, linux-sandbox ... (67 actions, 66 running) [12,815 / 13,335] 313 / 411 tests; Testing //pkg/statistics/handle/handletest/statstest:statstest_test (shard 7 of 12); 43s remote-cache, linux-sandbox ... (70 actions running) [12,816 / 13,335] 313 / 411 tests; Testing //pkg/statistics/handle/handletest/statstest:statstest_test (shard 7 of 12); 44s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,817 / 13,335] 313 / 411 tests; Testing //pkg/statistics/handle/handletest/statstest:statstest_test (shard 7 of 12); 46s remote-cache, linux-sandbox ... (70 actions running) [12,824 / 13,335] 313 / 411 tests; Testing //pkg/statistics/handle/handletest/statstest:statstest_test (shard 7 of 12); 48s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,824 / 13,335] 313 / 411 tests; Testing //pkg/statistics/handle/handletest/statstest:statstest_test (shard 7 of 12); 49s remote-cache, linux-sandbox ... (70 actions running) [12,827 / 13,335] 313 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 7 of 19); 40s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,830 / 13,335] 313 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 7 of 19); 42s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,836 / 13,339] 313 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 7 of 19); 43s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,840 / 13,339] 313 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 7 of 19); 44s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,842 / 13,339] 313 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 7 of 19); 45s remote-cache, linux-sandbox ... (70 actions running) [12,844 / 13,339] 314 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 7 of 19); 46s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,848 / 13,339] 314 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 7 of 19); 48s remote-cache, linux-sandbox ... (70 actions running) [12,856 / 13,339] 315 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 42 of 42); 46s remote-cache, linux-sandbox ... (70 actions running) [12,859 / 13,339] 316 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 42 of 42); 48s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,862 / 13,339] 317 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 42 of 42); 49s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,863 / 13,339] 317 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 42 of 42); 50s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,863 / 13,339] 317 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 42 of 42); 51s remote-cache, linux-sandbox ... (70 actions running) [12,864 / 13,339] 317 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 42 of 42); 53s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,865 / 13,339] 317 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 42 of 42); 54s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,869 / 13,348] 317 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 42 of 42); 55s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,870 / 13,348] 317 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 42 of 42); 56s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,871 / 13,348] 317 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 42 of 42); 57s remote-cache, linux-sandbox ... (70 actions running) [12,871 / 13,348] 318 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 42 of 42); 59s remote-cache, linux-sandbox ... (70 actions running) [12,879 / 13,350] 318 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 8 of 19); 36s remote-cache, linux-sandbox ... (70 actions running) [12,883 / 13,350] 318 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 8 of 19); 37s remote-cache, linux-sandbox ... (70 actions running) [12,886 / 13,350] 319 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 8 of 19); 39s remote-cache, linux-sandbox ... (70 actions running) [12,887 / 13,350] 320 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 8 of 19); 40s remote-cache, linux-sandbox ... (70 actions running) [12,888 / 13,350] 320 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 8 of 19); 41s remote-cache, linux-sandbox ... (70 actions running) [12,889 / 13,350] 321 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 8 of 19); 42s remote-cache, linux-sandbox ... (69 actions running) [12,893 / 13,350] 321 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 8 of 19); 43s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,896 / 13,350] 322 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 8 of 19); 45s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,898 / 13,350] 322 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 8 of 19); 46s remote-cache, linux-sandbox ... (70 actions running) [12,898 / 13,350] 322 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 8 of 19); 50s remote-cache, linux-sandbox ... (70 actions running) [12,899 / 13,350] 322 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 8 of 19); 51s remote-cache, linux-sandbox ... (70 actions running) [12,903 / 13,389] 322 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 8 of 19); 52s remote-cache, linux-sandbox ... (70 actions running) [12,903 / 13,389] 322 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 8 of 19); 54s remote-cache, linux-sandbox ... (70 actions running) [12,903 / 13,389] 322 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 8 of 19); 55s remote-cache, linux-sandbox ... (70 actions running) [12,904 / 13,395] 322 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 8 of 19); 56s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,906 / 13,395] 323 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 8 of 19); 57s remote-cache, linux-sandbox ... (70 actions running) [12,912 / 13,425] 323 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 8 of 19); 58s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,918 / 13,459] 323 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 8 of 19); 60s remote-cache, linux-sandbox ... (70 actions running) [12,921 / 13,459] 323 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 8 of 19); 61s remote-cache, linux-sandbox ... (70 actions running) [12,922 / 13,459] 323 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 8 of 19); 62s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,924 / 13,459] 324 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 8 of 19); 64s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,933 / 13,459] 325 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 8 of 19); 65s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,934 / 13,459] 325 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 8 of 19); 66s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,936 / 13,459] 325 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 8 of 19); 67s remote-cache, linux-sandbox ... (70 actions running) [12,939 / 13,459] 325 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 8 of 19); 68s remote-cache, linux-sandbox ... (70 actions running) [12,941 / 13,459] 325 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 8 of 19); 69s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,945 / 13,459] 325 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 8 of 19); 70s remote-cache, linux-sandbox ... (68 actions, 66 running) [12,948 / 13,459] 325 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 8 of 19); 71s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,951 / 13,459] 325 / 411 tests; Testing //pkg/planner/core/casetest/cbotest:cbotest_test (shard 7 of 17); 51s remote-cache, linux-sandbox ... (70 actions running) [12,953 / 13,459] 326 / 411 tests; Testing //pkg/planner/core/casetest/cbotest:cbotest_test (shard 7 of 17); 53s remote-cache, linux-sandbox ... (70 actions running) [12,955 / 13,459] 326 / 411 tests; Testing //pkg/planner/core/casetest/cbotest:cbotest_test (shard 7 of 17); 55s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,965 / 13,474] 326 / 411 tests; Testing //pkg/planner/core/casetest/cbotest:cbotest_test (shard 7 of 17); 56s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,967 / 13,474] 326 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 41 of 42); 43s remote-cache, linux-sandbox ... (70 actions running) [12,969 / 13,474] 326 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 41 of 42); 45s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,969 / 13,474] 326 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 41 of 42); 46s remote-cache, linux-sandbox ... (70 actions running) [12,972 / 13,474] 326 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 41 of 42); 48s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,976 / 13,474] 326 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 41 of 42); 49s remote-cache, linux-sandbox ... (70 actions running) [12,977 / 13,474] 326 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 41 of 42); 51s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,979 / 13,474] 326 / 411 tests; Testing //pkg/statistics/handle/handletest/analyze:analyze_test (shard 5 of 5); 31s remote-cache, linux-sandbox ... (70 actions running) [12,980 / 13,474] 326 / 411 tests; Testing //pkg/statistics/handle/handletest/analyze:analyze_test (shard 5 of 5); 32s remote-cache, linux-sandbox ... (70 actions running) [12,981 / 13,474] 326 / 411 tests; Testing //pkg/statistics/handle/handletest/analyze:analyze_test (shard 5 of 5); 34s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,987 / 13,476] 326 / 411 tests; Testing //pkg/statistics/handle/handletest/analyze:analyze_test (shard 5 of 5); 35s remote-cache, linux-sandbox ... (70 actions running) [12,990 / 13,476] 326 / 411 tests; Testing //pkg/planner/core/casetest/cbotest:cbotest_test (shard 13 of 17); 35s remote-cache, linux-sandbox ... (70 actions running) [12,992 / 13,476] 326 / 411 tests; Testing //pkg/planner/core/casetest/cbotest:cbotest_test (shard 13 of 17); 36s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,993 / 13,476] 326 / 411 tests; Testing //pkg/planner/core/casetest/cbotest:cbotest_test (shard 13 of 17); 38s remote-cache, linux-sandbox ... (70 actions running) [12,995 / 13,476] 326 / 411 tests; Testing //pkg/planner/core/casetest/cbotest:cbotest_test (shard 13 of 17); 39s remote-cache, linux-sandbox ... (70 actions running) [12,999 / 13,476] 327 / 411 tests; Testing //pkg/planner/core/casetest/cbotest:cbotest_test (shard 13 of 17); 41s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,003 / 13,476] 327 / 411 tests; Testing //pkg/planner/core/casetest/cbotest:cbotest_test (shard 13 of 17); 42s remote-cache, linux-sandbox ... (70 actions running) [13,007 / 13,476] 327 / 411 tests; Testing //pkg/statistics/handle/handletest/statstest:statstest_test (shard 5 of 12); 41s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,007 / 13,476] 327 / 411 tests; Testing //pkg/statistics/handle/handletest/statstest:statstest_test (shard 5 of 12); 43s remote-cache, linux-sandbox ... (70 actions running) [13,007 / 13,476] 327 / 411 tests; Testing //pkg/statistics/handle/handletest/statstest:statstest_test (shard 5 of 12); 44s remote-cache, linux-sandbox ... (70 actions running) [13,020 / 13,476] 327 / 411 tests; Testing //pkg/statistics/handle/handletest/statstest:statstest_test (shard 5 of 12); 45s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,027 / 13,476] 328 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 10 of 19); 45s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,032 / 13,476] 329 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 10 of 19); 46s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,036 / 13,476] 329 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 10 of 19); 47s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,036 / 13,476] 329 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 10 of 19); 49s remote-cache, linux-sandbox ... (70 actions running) [13,036 / 13,476] 329 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 10 of 19); 50s remote-cache, linux-sandbox ... (70 actions running) [13,037 / 13,476] 329 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 10 of 19); 51s remote-cache, linux-sandbox ... (70 actions running) [13,039 / 13,476] 329 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 10 of 19); 52s remote-cache, linux-sandbox ... (70 actions running) [13,045 / 13,494] 329 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 10 of 19); 53s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,048 / 13,494] 329 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 10 of 19); 54s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,050 / 13,494] 329 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 10 of 19); 56s remote-cache, linux-sandbox ... (70 actions running) [13,051 / 13,494] 329 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 10 of 19); 57s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,057 / 13,494] 329 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 10 of 19); 58s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,061 / 13,498] 329 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 10 of 19); 60s remote-cache, linux-sandbox ... (70 actions running) [13,063 / 13,498] 329 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 10 of 19); 61s remote-cache, linux-sandbox ... (68 actions running) [13,066 / 13,498] 329 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 10 of 19); 63s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,070 / 13,498] 330 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 10 of 19); 64s remote-cache, linux-sandbox ... (70 actions running) [13,072 / 13,498] 330 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 10 of 19); 66s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,077 / 13,498] 331 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 10 of 19); 67s remote-cache, linux-sandbox ... (70 actions running) [13,079 / 13,498] 331 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 10 of 19); 68s remote-cache, linux-sandbox ... (70 actions running) [13,084 / 13,498] 331 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 10 of 19); 69s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,088 / 13,498] 331 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 10 of 19); 71s remote-cache, linux-sandbox ... (70 actions running) [13,091 / 13,498] 332 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 10 of 19); 72s remote-cache, linux-sandbox ... (70 actions running) [13,092 / 13,498] 332 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 10 of 19); 73s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,093 / 13,498] 332 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 10 of 19); 75s remote-cache, linux-sandbox ... (70 actions running) [13,094 / 13,498] 332 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 10 of 19); 77s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,099 / 13,498] 332 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 11 of 19); 69s remote-cache, linux-sandbox ... (70 actions running) [13,101 / 13,498] 332 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 11 of 19); 70s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,108 / 13,500] 332 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 11 of 19); 72s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,109 / 13,500] 332 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 11 of 19); 73s remote-cache, linux-sandbox ... (70 actions running) [13,112 / 13,505] 332 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 11 of 19); 74s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,118 / 13,505] 333 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 11 of 19); 75s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,124 / 13,529] 333 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 11 of 19); 76s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,126 / 13,529] 333 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 11 of 19); 77s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,127 / 13,529] 333 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 11 of 19); 79s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,130 / 13,529] 333 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 11 of 19); 80s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,133 / 13,529] 333 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 11 of 19); 81s remote-cache, linux-sandbox ... (70 actions running) [13,133 / 13,529] 333 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 11 of 19); 84s remote-cache, linux-sandbox ... (70 actions running) [13,136 / 13,529] 333 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 11 of 19); 86s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,136 / 13,529] 334 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 11 of 19); 87s remote-cache, linux-sandbox ... (70 actions running) [13,143 / 13,529] 334 / 411 tests; Testing //pkg/executor:executor_test (shard 9 of 50); 53s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,144 / 13,529] 334 / 411 tests; Testing //pkg/executor:executor_test (shard 9 of 50); 54s remote-cache, linux-sandbox ... (70 actions running) [13,150 / 13,535] 335 / 411 tests; Testing //pkg/executor:executor_test (shard 9 of 50); 55s remote-cache, linux-sandbox ... (70 actions running) [13,153 / 13,535] 335 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 10 of 42); 47s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,159 / 13,535] 335 / 411 tests; Testing //pkg/planner/core/casetest/physicalplantest:physicalplantest_test (shard 16 of 32); 34s remote-cache, linux-sandbox ... (70 actions running) [13,159 / 13,535] 335 / 411 tests; Testing //pkg/planner/core/casetest/physicalplantest:physicalplantest_test (shard 16 of 32); 35s remote-cache, linux-sandbox ... (70 actions running) [13,162 / 13,535] 336 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 12 of 42); 33s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,163 / 13,535] 336 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 12 of 42); 35s remote-cache, linux-sandbox ... (70 actions running) [13,164 / 13,535] 336 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 12 of 42); 36s remote-cache, linux-sandbox ... (70 actions running) [13,166 / 13,535] 336 / 411 tests; Testing //pkg/statistics/handle/handletest/analyze:analyze_test (shard 3 of 5); 37s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,167 / 13,535] 336 / 411 tests; Testing //pkg/statistics/handle/handletest/analyze:analyze_test (shard 3 of 5); 39s remote-cache, linux-sandbox ... (70 actions running) [13,170 / 13,546] 336 / 411 tests; Testing //pkg/statistics/handle/handletest/analyze:analyze_test (shard 3 of 5); 40s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,173 / 13,546] 336 / 411 tests; Testing //pkg/statistics/handle/handletest/analyze:analyze_test (shard 3 of 5); 42s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,179 / 13,554] 336 / 411 tests; Testing //pkg/statistics/handle/handletest/analyze:analyze_test (shard 3 of 5); 43s remote-cache, linux-sandbox ... (70 actions running) [13,182 / 13,554] 336 / 411 tests; Testing //pkg/statistics/handle/handletest/analyze:analyze_test (shard 3 of 5); 44s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,186 / 13,554] 336 / 411 tests; Testing //pkg/statistics/handle/handletest/analyze:analyze_test (shard 3 of 5); 45s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,191 / 13,605] 337 / 411 tests; Testing //pkg/statistics/handle/handletest/analyze:analyze_test (shard 3 of 5); 47s remote-cache, linux-sandbox ... (70 actions running) [13,198 / 13,605] 337 / 411 tests; Testing //pkg/statistics/handle/handletest/analyze:analyze_test (shard 3 of 5); 48s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,203 / 13,605] 337 / 411 tests; Testing //pkg/statistics/handle/handletest/analyze:analyze_test (shard 3 of 5); 49s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,206 / 13,605] 337 / 411 tests; Testing //pkg/statistics/handle/handletest/analyze:analyze_test (shard 3 of 5); 50s remote-cache, linux-sandbox ... (70 actions running) [13,207 / 13,605] 337 / 411 tests; Testing //pkg/statistics/handle/handletest/analyze:analyze_test (shard 3 of 5); 51s remote-cache, linux-sandbox ... (70 actions running) [13,210 / 13,605] 337 / 411 tests; Testing //pkg/statistics/handle/handletest/analyze:analyze_test (shard 3 of 5); 52s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,214 / 13,605] 337 / 411 tests; Testing //pkg/statistics/handle/handletest/analyze:analyze_test (shard 3 of 5); 54s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,219 / 13,605] 337 / 411 tests; Testing //pkg/statistics/handle/handletest/analyze:analyze_test (shard 3 of 5); 55s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,219 / 13,605] 337 / 411 tests; Testing //pkg/statistics/handle/handletest/analyze:analyze_test (shard 3 of 5); 56s remote-cache, linux-sandbox ... (70 actions running) [13,223 / 13,605] 338 / 411 tests; Testing //pkg/statistics/handle/handletest/analyze:analyze_test (shard 3 of 5); 57s remote-cache, linux-sandbox ... (70 actions running) [13,229 / 13,605] 338 / 411 tests; Testing //pkg/statistics/handle/handletest/analyze:analyze_test (shard 2 of 5); 39s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,232 / 13,605] 338 / 411 tests; Testing //pkg/statistics/handle/handletest/analyze:analyze_test (shard 2 of 5); 40s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,234 / 13,605] 338 / 411 tests; Testing //pkg/statistics/handle/handletest/analyze:analyze_test (shard 2 of 5); 42s remote-cache, linux-sandbox ... (70 actions running) [13,234 / 13,605] 338 / 411 tests; Testing //pkg/statistics/handle/handletest/analyze:analyze_test (shard 2 of 5); 43s remote-cache, linux-sandbox ... (70 actions running) [13,238 / 13,605] 339 / 411 tests; Testing //pkg/statistics/handle/handletest/analyze:analyze_test (shard 2 of 5); 44s remote-cache, linux-sandbox ... (70 actions running) [13,241 / 13,619] 339 / 411 tests; Testing //pkg/statistics/handle/handletest/analyze:analyze_test (shard 2 of 5); 46s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,247 / 13,619] 339 / 411 tests; Testing //pkg/statistics/handle/handletest/analyze:analyze_test (shard 2 of 5); 47s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,247 / 13,619] 339 / 411 tests; Testing //pkg/statistics/handle/handletest/analyze:analyze_test (shard 2 of 5); 48s remote-cache, linux-sandbox ... (70 actions running) [13,251 / 13,619] 339 / 411 tests; Testing //pkg/statistics/handle/handletest/analyze:analyze_test (shard 2 of 5); 49s remote-cache, linux-sandbox ... (70 actions running) [13,252 / 13,619] 339 / 411 tests; Testing //pkg/statistics/handle/handletest/analyze:analyze_test (shard 2 of 5); 50s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,258 / 13,619] 340 / 411 tests; Testing //pkg/statistics/handle/handletest/analyze:analyze_test (shard 2 of 5); 51s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,263 / 13,619] 340 / 411 tests; Testing //pkg/statistics/handle/handletest/analyze:analyze_test (shard 2 of 5); 52s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,268 / 13,638] 340 / 411 tests; Testing //pkg/statistics/handle/handletest/analyze:analyze_test (shard 2 of 5); 53s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,269 / 13,638] 340 / 411 tests; Testing //pkg/statistics/handle/handletest/analyze:analyze_test (shard 2 of 5); 55s remote-cache, linux-sandbox ... (70 actions running) [13,274 / 13,638] 342 / 411 tests; Testing //pkg/statistics/handle/handletest/analyze:analyze_test (shard 2 of 5); 57s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,279 / 13,638] 342 / 411 tests; Testing //pkg/statistics/handle/handletest/analyze:analyze_test (shard 2 of 5); 58s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,282 / 13,638] 342 / 411 tests; Testing //pkg/statistics/handle/handletest/analyze:analyze_test (shard 2 of 5); 59s remote-cache, linux-sandbox ... (70 actions running) [13,284 / 13,638] 342 / 411 tests; Testing //pkg/statistics/handle/handletest/analyze:analyze_test (shard 2 of 5); 61s remote-cache, linux-sandbox ... (70 actions running) [13,295 / 13,644] 342 / 411 tests; Testing //pkg/statistics/handle/handletest/analyze:analyze_test (shard 2 of 5); 63s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,296 / 13,644] 342 / 411 tests; Testing //pkg/statistics/handle/handletest/analyze:analyze_test (shard 2 of 5); 64s remote-cache, linux-sandbox ... (70 actions running) [13,304 / 13,695] 343 / 411 tests; Testing //pkg/statistics/handle/handletest/analyze:analyze_test (shard 2 of 5); 65s remote-cache, linux-sandbox ... (70 actions running) [13,308 / 13,695] 343 / 411 tests; Testing //pkg/statistics/handle/handletest/analyze:analyze_test (shard 2 of 5); 66s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,311 / 13,695] 343 / 411 tests; Testing //pkg/statistics/handle/handletest/analyze:analyze_test (shard 2 of 5); 68s remote-cache, linux-sandbox ... (70 actions running) [13,318 / 13,695] 343 / 411 tests; Testing //pkg/statistics/handle/handletest/analyze:analyze_test (shard 2 of 5); 69s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,320 / 13,695] 343 / 411 tests; Testing //pkg/statistics/handle/handletest/analyze:analyze_test (shard 2 of 5); 71s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,324 / 13,695] 345 / 411 tests; Testing //pkg/statistics/handle/handletest/analyze:analyze_test (shard 2 of 5); 72s remote-cache, linux-sandbox ... (70 actions running) [13,329 / 13,695] 345 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 19 of 42); 48s remote-cache, linux-sandbox ... (67 actions, 66 running) [13,332 / 13,764] 345 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 19 of 42); 50s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,333 / 13,764] 345 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 19 of 42); 51s remote-cache, linux-sandbox ... (70 actions running) [13,335 / 13,764] 345 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 19 of 42); 52s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,346 / 13,764] 345 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 19 of 42); 53s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,349 / 13,764] 345 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 19 of 42); 55s remote-cache, linux-sandbox ... (70 actions running) [13,351 / 13,764] 345 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 19 of 42); 56s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,357 / 13,789] 345 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 19 of 42); 57s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,360 / 13,835] 345 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 19 of 42); 59s remote-cache, linux-sandbox ... (70 actions running) [13,362 / 13,835] 345 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 19 of 42); 60s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,368 / 13,888] 345 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 19 of 42); 61s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,374 / 13,888] 345 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 19 of 42); 62s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,376 / 13,888] 345 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 19 of 42); 64s remote-cache, linux-sandbox ... (70 actions running) [13,376 / 13,888] 345 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 19 of 42); 66s remote-cache, linux-sandbox ... (70 actions running) [13,378 / 13,906] 345 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 19 of 42); 67s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,390 / 13,906] 345 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 19 of 42); 68s remote-cache, linux-sandbox ... (69 actions running) [13,394 / 13,908] 345 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 19 of 42); 69s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,397 / 13,908] 345 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 19 of 42); 70s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,398 / 13,908] 346 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 19 of 42); 71s remote-cache, linux-sandbox ... (70 actions running) [13,404 / 13,908] 347 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 19 of 42); 72s remote-cache, linux-sandbox ... (70 actions running) [13,410 / 13,908] 348 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 19 of 42); 74s remote-cache, linux-sandbox ... (70 actions running) [13,416 / 13,908] 348 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 19 of 42); 75s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,422 / 13,908] 348 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 19 of 42); 76s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,424 / 13,908] 348 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 19 of 42); 78s remote-cache, linux-sandbox ... (70 actions running) [13,428 / 13,908] 348 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 19 of 42); 79s remote-cache, linux-sandbox ... (70 actions running) [13,435 / 13,908] 348 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 19 of 42); 80s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,439 / 13,933] 348 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 19 of 42); 81s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,443 / 13,933] 349 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 19 of 42); 82s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,449 / 13,933] 349 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 19 of 42); 83s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,454 / 13,933] 349 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 23 of 42); 60s remote-cache, linux-sandbox ... (70 actions running) [13,456 / 13,933] 349 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 23 of 42); 61s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,459 / 13,933] 349 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 23 of 42); 62s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,466 / 13,961] 349 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 23 of 42); 64s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,468 / 13,984] 349 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 23 of 42); 65s remote-cache, linux-sandbox ... (70 actions running) [13,475 / 13,984] 349 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 23 of 42); 66s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,480 / 13,984] 349 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 23 of 42); 68s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,483 / 13,984] 349 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 23 of 42); 69s remote-cache, linux-sandbox ... (70 actions running) [13,486 / 13,984] 350 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 23 of 42); 71s remote-cache, linux-sandbox ... (70 actions running) [13,489 / 13,984] 350 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 23 of 42); 72s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,496 / 13,993] 350 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 37 of 42); 61s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,504 / 13,993] 350 / 411 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 17 of 33); 28s remote-cache, linux-sandbox ... (70 actions running) [13,507 / 13,993] 350 / 411 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 17 of 33); 29s remote-cache, linux-sandbox ... (70 actions running) [13,512 / 13,993] 350 / 411 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 17 of 33); 30s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,512 / 13,993] 350 / 411 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 17 of 33); 32s remote-cache, linux-sandbox ... (70 actions running) [13,513 / 13,993] 350 / 411 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 17 of 33); 33s remote-cache, linux-sandbox ... (70 actions running) [13,528 / 13,993] 350 / 411 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 17 of 33); 34s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,529 / 13,993] 350 / 411 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 17 of 33); 36s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,531 / 13,993] 350 / 411 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 17 of 33); 37s remote-cache, linux-sandbox ... (70 actions running) [13,540 / 13,993] 350 / 411 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 17 of 33); 38s remote-cache, linux-sandbox ... (70 actions running) [13,548 / 13,993] 350 / 411 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 17 of 33); 39s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,552 / 13,993] 350 / 411 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 17 of 33); 40s remote-cache, linux-sandbox ... (67 actions, 66 running) [13,557 / 13,993] 350 / 411 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 18 of 33); 41s remote-cache, linux-sandbox ... (68 actions, 67 running) [13,563 / 13,993] 350 / 411 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 18 of 33); 42s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,566 / 13,993] 350 / 411 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 18 of 33); 43s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,572 / 13,993] 351 / 411 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 18 of 33); 45s remote-cache, linux-sandbox ... (70 actions running) [13,582 / 13,993] 352 / 411 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 18 of 33); 46s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,589 / 13,993] 352 / 411 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 18 of 33); 47s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,594 / 13,993] 352 / 411 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 18 of 33); 48s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,597 / 13,993] 352 / 411 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 18 of 33); 49s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,601 / 13,993] 352 / 411 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 18 of 33); 50s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,615 / 14,003] 354 / 411 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 18 of 33); 52s remote-cache, linux-sandbox ... (70 actions running) [13,627 / 14,054] 354 / 411 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 18 of 33); 53s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,641 / 14,054] 355 / 411 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 18 of 33); 54s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,642 / 14,054] 356 / 411 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 18 of 33); 55s remote-cache, linux-sandbox ... (70 actions running) [13,657 / 14,054] 356 / 411 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 18 of 33); 56s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,670 / 14,056] 356 / 411 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 18 of 33); 57s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,673 / 14,056] 356 / 411 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 18 of 33); 59s remote-cache, linux-sandbox ... (70 actions running) [13,675 / 14,056] 357 / 411 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 18 of 33); 60s remote-cache, linux-sandbox ... (69 actions, 68 running) FAIL: //pkg/ddl/tests/partition:partition_test (shard 32 of 45) (see /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/tests/partition/partition_test/shard_32_of_45/test_attempts/attempt_1.log) [13,688 / 14,056] 357 / 411 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 18 of 33); 61s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,692 / 14,056] 357 / 411 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 18 of 33); 62s remote-cache, linux-sandbox ... (68 actions, 66 running) [13,696 / 14,056] 357 / 411 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 18 of 33); 63s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,698 / 14,061] 357 / 411 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 18 of 33); 65s remote-cache, linux-sandbox ... (70 actions running) INFO: From Testing //pkg/ddl/tests/partition:partition_test (shard 32 of 45): ==================== Test output for //pkg/ddl/tests/partition:partition_test (shard 32 of 45): === RUN TestPartitionErrorCode [2024/05/06 09:43:10.091 +00:00] [INFO] [store_cache.go:510] ["change store resolve state"] [store=1] [addr=store1] [from=unresolved] [to=resolved] [liveness-state=reachable] [2024/05/06 09:43:10.092 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 09:43:10.092 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 09:43:10.093 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 09:43:10.093 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 09:43:10.093 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 09:43:10.095 +00:00] [INFO] [tidb.go:80] ["new domain"] [store=b0c13a30-89cc-4ced-ab9a-7f56bee3bfa0] ["ddl lease"=500ms] ["stats lease"=-1ns] [2024/05/06 09:43:10.106 +00:00] [WARN] [controller.go:198] ["[resource group controller] server does not save config, load config failed"] [2024/05/06 09:43:10.106 +00:00] [INFO] [controller.go:185] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":10,\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\"}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":10,\"DegradedModeWaitDuration\":0}"] [2024/05/06 09:43:10.106 +00:00] [WARN] [domain.go:245] ["failed to get schema version"] [error="There is no Write MVCC info for the schema version"] [errorVerbose="There is no Write MVCC info for the schema version\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:335\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:242\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:606\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init\n\tpkg/domain/domain.go:1260\ngithub.com/pingcap/tidb/pkg/session.(*domainMap).Get.func1\n\tpkg/session/tidb.go:92\ngithub.com/pingcap/tidb/pkg/util.RunWithRetry\n\tpkg/util/misc.go:70\ngithub.com/pingcap/tidb/pkg/session.(*domainMap).Get\n\tpkg/session/tidb.go:79\ngithub.com/pingcap/tidb/pkg/session.createSessionWithOpt\n\tpkg/session/session.go:3620\ngithub.com/pingcap/tidb/pkg/session.createSession\n\tpkg/session/session.go:3612\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3562\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3346\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3312\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:294\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomain\n\tpkg/testkit/mockstore.go:265\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStore\n\tpkg/testkit/mockstore.go:72\npkg/ddl/tests/partition/partition_test.TestPartitionErrorCode\n\tpkg/ddl/tests/partition/db_partition_test.go:2612\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=0] [2024/05/06 09:43:10.109 +00:00] [INFO] [domain.go:315] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=0] ["start time"=2.636137ms] [2024/05/06 09:43:10.109 +00:00] [INFO] [domain.go:635] ["full load and reset schema validator"] [2024/05/06 09:43:10.109 +00:00] [INFO] [ddl.go:818] ["start DDL"] [category=ddl] [ID=216957c3-b8dc-4174-b708-a7592d371815] [runWorker=true] [2024/05/06 09:43:10.109 +00:00] [INFO] [ddl.go:777] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=true] [2024/05/06 09:43:10.109 +00:00] [WARN] [env.go:51] ["initialize environment failed"] [category=ddl-ingest] ["storage limitation"="only support TiKV storage"] ["current storage"=unistore] ["lightning is initialized"=false] [2024/05/06 09:43:10.109 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2024/05/06 09:43:10.109 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=mdlCheckLoop] [2024/05/06 09:43:10.109 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2024/05/06 09:43:10.110 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2024/05/06 09:43:10.110 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/06 09:43:10.110 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayStartLoop] [2024/05/06 09:43:10.110 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/06 09:43:10.110 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2024/05/06 09:43:10.110 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/06 09:43:10.110 +00:00] [WARN] [domain.go:1326] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/06 09:43:10.110 +00:00] [INFO] [delete_range.go:172] ["start delRange emulator"] [category=ddl] [2024/05/06 09:43:10.110 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/06 09:43:10.111 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/06 09:43:10.111 +00:00] [INFO] [runaway.go:149] ["try to start runaway manager loop"] [2024/05/06 09:43:10.111 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=0] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS test"] [user=] [2024/05/06 09:43:10.116 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:43:10.115 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:43:10.116 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:43:10.115 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE DATABASE IF NOT EXISTS test"] [2024/05/06 09:43:10.161 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/06 09:43:10.161 +00:00] [INFO] [job_table.go:349] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2024/05/06 09:43:10.168 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=3] [category=ddl] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:43:10.115 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:10.175 +00:00] [INFO] [domain.go:315] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=1] ["start time"=4.152263ms] [2024/05/06 09:43:10.175 +00:00] [INFO] [domain.go:635] ["full load and reset schema validator"] [2024/05/06 09:43:10.177 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:43:10.177 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=3] [version=1] [2024/05/06 09:43:10.179 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=1] ["take time"=8.107415ms] [job="ID:3, Type:create schema, State:done, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:43:10.115 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:10.185 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=3] [job="ID:3, Type:create schema, State:synced, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:43:10.115 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:10.188 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=3] [2024/05/06 09:43:10.188 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:43:10.188 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS `mysql`"] [user=] [2024/05/06 09:43:10.189 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.user (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tauthentication_string\tTEXT,\n\t\tplugin\t\t\t\t\tCHAR(64),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tProcess_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_db_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tSuper_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_user_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_slave_priv\t \tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_client_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_role_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_role_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAccount_locked\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShutdown_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReload_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tFILE_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tConfig_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_reuse_history smallint unsigned DEFAULT NULL,\n\t\tPassword_reuse_time smallint unsigned DEFAULT NULL,\n\t\tUser_attributes\t\t\tjson,\n\t\tToken_issuer\t\t\tVARCHAR(255),\n\t\tPassword_expired\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_last_changed\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP(),\n\t\tPassword_lifetime\t\tSMALLINT UNSIGNED DEFAULT NULL,\n\t\tPRIMARY KEY (Host, User));"] [user=] [2024/05/06 09:43:10.194 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-06 09:43:10.191 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:43:10.194 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-06 09:43:10.191 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.user (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tauthentication_string\tTEXT,\n\t\tplugin\t\t\t\t\tCHAR(64),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tProcess_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_db_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tSuper_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_user_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_slave_priv\t \tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_client_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_role_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_role_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAccount_locked\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShutdown_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReload_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tFILE_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tConfig_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_reuse_history smallint unsigned DEFAULT NULL,\n\t\tPassword_reuse_time smallint unsigned DEFAULT NULL,\n\t\tUser_attributes\t\t\tjson,\n\t\tToken_issuer\t\t\tVARCHAR(255),\n\t\tPassword_expired\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_last_changed\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP(),\n\t\tPassword_lifetime\t\tSMALLINT UNSIGNED DEFAULT NULL,\n\t\tPRIMARY KEY (Host, User));"] [2024/05/06 09:43:10.200 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=5] [category=ddl] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2024-05-06 09:43:10.191 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:10.208 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=1] [neededSchemaVersion=2] ["start time"=745.698µs] [gotSchemaVersion=2] [phyTblIDs="[4]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:43:10.209 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:43:10.209 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=5] [version=2] [2024/05/06 09:43:10.217 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=2] ["take time"=9.611121ms] [job="ID:5, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-06 09:43:10.191 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:10.227 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=5] [job="ID:5, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2024-05-06 09:43:10.191 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:10.233 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=5] [2024/05/06 09:43:10.233 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:43:10.233 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=2] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.password_history (\n Host char(255) NOT NULL DEFAULT '',\n User char(32) NOT NULL DEFAULT '',\n Password_timestamp timestamp(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n Password text,\n PRIMARY KEY (Host,User,Password_timestamp )\n ) COMMENT='Password history for user accounts' "] [user=] [2024/05/06 09:43:10.235 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-06 09:43:10.234 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:43:10.236 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-06 09:43:10.234 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.password_history (\n Host char(255) NOT NULL DEFAULT '',\n User char(32) NOT NULL DEFAULT '',\n Password_timestamp timestamp(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n Password text,\n PRIMARY KEY (Host,User,Password_timestamp )\n ) COMMENT='Password history for user accounts' "] [2024/05/06 09:43:10.243 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=7] [category=ddl] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2024-05-06 09:43:10.234 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:10.246 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=2] [neededSchemaVersion=3] ["start time"=201.803µs] [gotSchemaVersion=3] [phyTblIDs="[6]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:43:10.247 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:43:10.247 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=7] [version=3] [2024/05/06 09:43:10.249 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=3] ["take time"=2.883143ms] [job="ID:7, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-06 09:43:10.234 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:10.255 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=7] [job="ID:7, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2024-05-06 09:43:10.234 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:10.259 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=7] [2024/05/06 09:43:10.259 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:43:10.259 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=3] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.global_priv (Host CHAR(255) NOT NULL DEFAULT '',User CHAR(80) NOT NULL DEFAULT '',Priv LONGTEXT NOT NULL DEFAULT '',PRIMARY KEY (Host, User))"] [user=] [2024/05/06 09:43:10.262 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-06 09:43:10.261 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:43:10.262 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-06 09:43:10.261 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.global_priv (Host CHAR(255) NOT NULL DEFAULT '',User CHAR(80) NOT NULL DEFAULT '',Priv LONGTEXT NOT NULL DEFAULT '',PRIMARY KEY (Host, User))"] [2024/05/06 09:43:10.281 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=9] [category=ddl] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2024-05-06 09:43:10.261 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:10.284 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=3] [neededSchemaVersion=4] ["start time"=247.9µs] [gotSchemaVersion=4] [phyTblIDs="[8]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:43:10.285 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:43:10.286 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=9] [version=4] [2024/05/06 09:43:10.286 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=4] ["take time"=2.232365ms] [job="ID:9, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-06 09:43:10.261 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:10.294 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=9] [job="ID:9, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2024-05-06 09:43:10.261 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:10.297 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=9] [2024/05/06 09:43:10.297 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:43:10.297 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=4] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.db (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tDB\t\t\t\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv \t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (Host, DB, User));"] [user=] [2024/05/06 09:43:10.301 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-06 09:43:10.299 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:43:10.301 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-06 09:43:10.299 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.db (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tDB\t\t\t\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv \t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (Host, DB, User));"] [2024/05/06 09:43:10.306 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=11] [category=ddl] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2024-05-06 09:43:10.299 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:10.313 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=4] [neededSchemaVersion=5] ["start time"=572.923µs] [gotSchemaVersion=5] [phyTblIDs="[10]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:43:10.314 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:43:10.314 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=11] [version=5] [2024/05/06 09:43:10.316 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=5] ["take time"=4.063395ms] [job="ID:11, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-06 09:43:10.299 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:10.331 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=11] [job="ID:11, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2024-05-06 09:43:10.299 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:10.335 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=11] [2024/05/06 09:43:10.335 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:43:10.336 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=5] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tables_priv (\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tGrantor\t\tCHAR(77),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tTable_priv\tSET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'),\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name));"] [user=] [2024/05/06 09:43:10.339 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-06 09:43:10.337 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:43:10.339 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-06 09:43:10.337 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tables_priv (\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tGrantor\t\tCHAR(77),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tTable_priv\tSET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'),\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name));"] [2024/05/06 09:43:10.349 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=13] [category=ddl] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2024-05-06 09:43:10.337 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:10.353 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=5] [neededSchemaVersion=6] ["start time"=446.837µs] [gotSchemaVersion=6] [phyTblIDs="[12]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:43:10.355 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:43:10.355 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=13] [version=6] [2024/05/06 09:43:10.357 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=6] ["take time"=4.780393ms] [job="ID:13, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-06 09:43:10.337 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:10.363 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=13] [job="ID:13, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2024-05-06 09:43:10.337 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:10.366 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=13] [2024/05/06 09:43:10.366 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:43:10.367 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=6] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.columns_priv(\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tColumn_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name, Column_name));"] [user=] [2024/05/06 09:43:10.371 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-06 09:43:10.368 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:43:10.371 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-06 09:43:10.368 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.columns_priv(\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tColumn_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name, Column_name));"] [2024/05/06 09:43:10.378 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=15] [category=ddl] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2024-05-06 09:43:10.368 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:10.382 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=7] ["start time"=352.134µs] [gotSchemaVersion=7] [phyTblIDs="[14]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:43:10.384 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:43:10.384 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=15] [version=7] [2024/05/06 09:43:10.384 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=7] ["take time"=2.04108ms] [job="ID:15, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-06 09:43:10.368 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:10.389 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=15] [job="ID:15, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2024-05-06 09:43:10.368 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:10.393 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=15] [2024/05/06 09:43:10.393 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:43:10.393 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=7] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.GLOBAL_VARIABLES(\n\t\tVARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE VARCHAR(16383) DEFAULT NULL);"] [user=] [2024/05/06 09:43:10.398 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-06 09:43:10.396 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:43:10.398 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-06 09:43:10.396 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.GLOBAL_VARIABLES(\n\t\tVARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE VARCHAR(16383) DEFAULT NULL);"] [2024/05/06 09:43:10.404 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=17] [category=ddl] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2024-05-06 09:43:10.396 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:10.406 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=7] [neededSchemaVersion=8] ["start time"=191.981µs] [gotSchemaVersion=8] [phyTblIDs="[16]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:43:10.407 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:43:10.408 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=17] [version=8] [2024/05/06 09:43:10.408 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=8] ["take time"=2.261868ms] [job="ID:17, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-06 09:43:10.396 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:10.413 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=17] [job="ID:17, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2024-05-06 09:43:10.396 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:10.421 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=17] [2024/05/06 09:43:10.421 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:43:10.421 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=8] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb(\n\t\tVARIABLE_NAME \tVARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE \tVARCHAR(1024) DEFAULT NULL,\n\t\tCOMMENT \t\tVARCHAR(1024));"] [user=] [2024/05/06 09:43:10.425 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-06 09:43:10.423 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:43:10.425 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-06 09:43:10.423 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb(\n\t\tVARIABLE_NAME \tVARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE \tVARCHAR(1024) DEFAULT NULL,\n\t\tCOMMENT \t\tVARCHAR(1024));"] [2024/05/06 09:43:10.434 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=19] [category=ddl] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2024-05-06 09:43:10.423 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:10.437 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=8] [neededSchemaVersion=9] ["start time"=183.983µs] [gotSchemaVersion=9] [phyTblIDs="[18]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:43:10.438 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:43:10.438 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=19] [version=9] [2024/05/06 09:43:10.440 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=9] ["take time"=2.967659ms] [job="ID:19, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-06 09:43:10.423 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:10.448 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=19] [job="ID:19, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2024-05-06 09:43:10.423 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:10.451 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=19] [2024/05/06 09:43:10.451 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:43:10.452 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=9] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.help_topic (\n \t\thelp_topic_id \t\tINT(10) UNSIGNED NOT NULL,\n \t\tname \t\t\t\tCHAR(64) NOT NULL,\n \t\thelp_category_id \tSMALLINT(5) UNSIGNED NOT NULL,\n \t\tdescription \t\tTEXT NOT NULL,\n \t\texample \t\t\tTEXT NOT NULL,\n \t\turl \t\t\t\tTEXT NOT NULL,\n \t\tPRIMARY KEY (help_topic_id) clustered,\n \t\tUNIQUE KEY name (name)\n\t\t) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] [user=] [2024/05/06 09:43:10.455 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-06 09:43:10.453 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:43:10.455 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-06 09:43:10.453 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.help_topic (\n \t\thelp_topic_id \t\tINT(10) UNSIGNED NOT NULL,\n \t\tname \t\t\t\tCHAR(64) NOT NULL,\n \t\thelp_category_id \tSMALLINT(5) UNSIGNED NOT NULL,\n \t\tdescription \t\tTEXT NOT NULL,\n \t\texample \t\t\tTEXT NOT NULL,\n \t\turl \t\t\t\tTEXT NOT NULL,\n \t\tPRIMARY KEY (help_topic_id) clustered,\n \t\tUNIQUE KEY name (name)\n\t\t) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] [2024/05/06 09:43:10.466 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=21] [category=ddl] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2024-05-06 09:43:10.453 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:10.470 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=9] [neededSchemaVersion=10] ["start time"=481.538µs] [gotSchemaVersion=10] [phyTblIDs="[20]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:43:10.472 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:43:10.472 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=21] [version=10] [2024/05/06 09:43:10.477 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=10] ["take time"=7.311386ms] [job="ID:21, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-06 09:43:10.453 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:10.483 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=21] [job="ID:21, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2024-05-06 09:43:10.453 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:10.488 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=21] [2024/05/06 09:43:10.488 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:43:10.488 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=10] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_meta (\n\t\tversion \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\ttable_id \t\tBIGINT(64) NOT NULL,\n\t\tmodify_count\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcount \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tsnapshot BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tINDEX idx_ver(version),\n\t\tUNIQUE INDEX tbl(table_id)\n\t);"] [user=] [2024/05/06 09:43:10.491 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-06 09:43:10.489 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:43:10.491 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-06 09:43:10.489 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_meta (\n\t\tversion \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\ttable_id \t\tBIGINT(64) NOT NULL,\n\t\tmodify_count\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcount \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tsnapshot BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tINDEX idx_ver(version),\n\t\tUNIQUE INDEX tbl(table_id)\n\t);"] [2024/05/06 09:43:10.497 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=23] [category=ddl] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2024-05-06 09:43:10.489 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:10.501 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=10] [neededSchemaVersion=11] ["start time"=373.488µs] [gotSchemaVersion=11] [phyTblIDs="[22]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:43:10.503 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:43:10.503 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=23] [version=11] [2024/05/06 09:43:10.504 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=11] ["take time"=4.259858ms] [job="ID:23, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-06 09:43:10.489 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:10.510 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=23] [job="ID:23, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2024-05-06 09:43:10.489 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:10.514 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=23] [2024/05/06 09:43:10.514 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:43:10.515 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=11] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_histograms (\n\t\ttable_id \t\t\tBIGINT(64) NOT NULL,\n\t\tis_index \t\t\tTINYINT(2) NOT NULL,\n\t\thist_id \t\t\tBIGINT(64) NOT NULL,\n\t\tdistinct_count \t\tBIGINT(64) NOT NULL,\n\t\tnull_count \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\ttot_col_size \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tmodify_count \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tversion \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tcm_sketch \t\t\tBLOB(6291456),\n\t\tstats_ver \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tflag \t\t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcorrelation \t\tDOUBLE NOT NULL DEFAULT 0,\n\t\tlast_analyze_pos \tLONGBLOB DEFAULT NULL,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] [2024/05/06 09:43:10.515 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(6291456) to MEDIUMBLOB"] [category=ddl] [2024/05/06 09:43:10.519 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-06 09:43:10.516 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:43:10.519 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-06 09:43:10.516 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_histograms (\n\t\ttable_id \t\t\tBIGINT(64) NOT NULL,\n\t\tis_index \t\t\tTINYINT(2) NOT NULL,\n\t\thist_id \t\t\tBIGINT(64) NOT NULL,\n\t\tdistinct_count \t\tBIGINT(64) NOT NULL,\n\t\tnull_count \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\ttot_col_size \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tmodify_count \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tversion \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tcm_sketch \t\t\tBLOB(6291456),\n\t\tstats_ver \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tflag \t\t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcorrelation \t\tDOUBLE NOT NULL DEFAULT 0,\n\t\tlast_analyze_pos \tLONGBLOB DEFAULT NULL,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id)\n\t);"] [2024/05/06 09:43:10.526 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=25] [category=ddl] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2024-05-06 09:43:10.516 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:10.530 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=11] [neededSchemaVersion=12] ["start time"=396.69µs] [gotSchemaVersion=12] [phyTblIDs="[24]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:43:10.532 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:43:10.532 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=25] [version=12] [2024/05/06 09:43:10.534 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=12] ["take time"=4.509016ms] [job="ID:25, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-06 09:43:10.516 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:10.541 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=25] [job="ID:25, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2024-05-06 09:43:10.516 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:10.545 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=25] [2024/05/06 09:43:10.545 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:43:10.545 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=12] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_buckets (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tbucket_id \tBIGINT(64) NOT NULL,\n\t\tcount \t\tBIGINT(64) NOT NULL,\n\t\trepeats \tBIGINT(64) NOT NULL,\n\t\tupper_bound LONGBLOB NOT NULL,\n\t\tlower_bound LONGBLOB ,\n\t\tndv BIGINT NOT NULL DEFAULT 0,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id)\n\t);"] [user=] [2024/05/06 09:43:10.548 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-06 09:43:10.547 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:43:10.548 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-06 09:43:10.547 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_buckets (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tbucket_id \tBIGINT(64) NOT NULL,\n\t\tcount \t\tBIGINT(64) NOT NULL,\n\t\trepeats \tBIGINT(64) NOT NULL,\n\t\tupper_bound LONGBLOB NOT NULL,\n\t\tlower_bound LONGBLOB ,\n\t\tndv BIGINT NOT NULL DEFAULT 0,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id)\n\t);"] [2024/05/06 09:43:10.556 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=27] [category=ddl] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2024-05-06 09:43:10.547 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:10.559 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=12] [neededSchemaVersion=13] ["start time"=239.644µs] [gotSchemaVersion=13] [phyTblIDs="[26]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:43:10.560 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:43:10.560 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=27] [version=13] [2024/05/06 09:43:10.561 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=13] ["take time"=2.892214ms] [job="ID:27, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-06 09:43:10.547 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:10.572 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=27] [job="ID:27, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2024-05-06 09:43:10.547 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:10.575 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=27] [2024/05/06 09:43:10.575 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:43:10.576 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=13] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_index (job_id, element_id)\n\t);"] [user=] [2024/05/06 09:43:10.578 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-06 09:43:10.577 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:43:10.578 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-06 09:43:10.577 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_index (job_id, element_id)\n\t);"] [2024/05/06 09:43:10.586 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=29] [category=ddl] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2024-05-06 09:43:10.577 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:10.590 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=13] [neededSchemaVersion=14] ["start time"=254.951µs] [gotSchemaVersion=14] [phyTblIDs="[28]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:43:10.591 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:43:10.591 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=29] [version=14] [2024/05/06 09:43:10.592 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=14] ["take time"=2.637341ms] [job="ID:29, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-06 09:43:10.577 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:10.596 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=29] [job="ID:29, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2024-05-06 09:43:10.577 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:10.599 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=29] [2024/05/06 09:43:10.599 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:43:10.600 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=14] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_done_index (job_id, element_id)\n\t);"] [user=] [2024/05/06 09:43:10.605 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-06 09:43:10.603 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:43:10.605 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-06 09:43:10.603 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_done_index (job_id, element_id)\n\t);"] [2024/05/06 09:43:10.610 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=31] [category=ddl] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2024-05-06 09:43:10.603 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:10.613 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=14] [neededSchemaVersion=15] ["start time"=207.538µs] [gotSchemaVersion=15] [phyTblIDs="[30]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:43:10.614 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:43:10.615 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=31] [version=15] [2024/05/06 09:43:10.615 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=15] ["take time"=2.042063ms] [job="ID:31, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-06 09:43:10.603 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:10.620 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=31] [job="ID:31, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2024-05-06 09:43:10.603 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:10.624 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=31] [2024/05/06 09:43:10.624 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:43:10.624 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=15] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_feedback (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tfeedback \tBLOB NOT NULL,\n\t\tINDEX hist(table_id, is_index, hist_id)\n\t);"] [user=] [2024/05/06 09:43:10.627 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-06 09:43:10.626 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:43:10.627 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-06 09:43:10.626 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_feedback (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tfeedback \tBLOB NOT NULL,\n\t\tINDEX hist(table_id, is_index, hist_id)\n\t);"] [2024/05/06 09:43:10.636 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=33] [category=ddl] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2024-05-06 09:43:10.626 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:10.639 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=15] [neededSchemaVersion=16] ["start time"=263.043µs] [gotSchemaVersion=16] [phyTblIDs="[32]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:43:10.641 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:43:10.641 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=33] [version=16] [2024/05/06 09:43:10.641 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=16] ["take time"=2.110614ms] [job="ID:33, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-06 09:43:10.626 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:10.646 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=33] [job="ID:33, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2024-05-06 09:43:10.626 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:10.649 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=33] [2024/05/06 09:43:10.650 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:43:10.650 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=16] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.role_edges (\n\t\tFROM_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tFROM_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tWITH_ADMIN_OPTION \tENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER)\n\t);"] [user=] [2024/05/06 09:43:10.653 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-06 09:43:10.651 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:43:10.653 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-06 09:43:10.651 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.role_edges (\n\t\tFROM_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tFROM_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tWITH_ADMIN_OPTION \tENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER)\n\t);"] [2024/05/06 09:43:10.673 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=35] [category=ddl] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2024-05-06 09:43:10.651 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:10.676 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=16] [neededSchemaVersion=17] ["start time"=284.111µs] [gotSchemaVersion=17] [phyTblIDs="[34]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:43:10.677 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:43:10.677 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=35] [version=17] [2024/05/06 09:43:10.678 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=17] ["take time"=2.438523ms] [job="ID:35, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-06 09:43:10.651 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:10.687 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=35] [job="ID:35, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2024-05-06 09:43:10.651 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:10.690 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=35] [2024/05/06 09:43:10.690 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:43:10.691 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=17] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.default_roles (\n\t\tHOST \t\t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tUSER \t\t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tDEFAULT_ROLE_HOST \tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%',\n\t\tDEFAULT_ROLE_USER \tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tPRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER)\n\t)"] [user=] [2024/05/06 09:43:10.694 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-06 09:43:10.692 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:43:10.694 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-06 09:43:10.692 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.default_roles (\n\t\tHOST \t\t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tUSER \t\t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tDEFAULT_ROLE_HOST \tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%',\n\t\tDEFAULT_ROLE_USER \tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tPRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER)\n\t)"] [2024/05/06 09:43:10.702 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=37] [category=ddl] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2024-05-06 09:43:10.692 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:10.705 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=18] ["start time"=298.552µs] [gotSchemaVersion=18] [phyTblIDs="[36]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:43:10.706 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:43:10.706 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=37] [version=18] [2024/05/06 09:43:10.709 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=18] ["take time"=4.773439ms] [job="ID:37, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-06 09:43:10.692 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:10.714 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=37] [job="ID:37, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2024-05-06 09:43:10.692 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:10.717 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=37] [2024/05/06 09:43:10.717 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:43:10.717 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=18] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql TEXT NOT NULL,\n\t\tbind_sql TEXT NOT NULL,\n\t\tdefault_db TEXT NOT NULL,\n\t\tstatus TEXT NOT NULL,\n\t\tcreate_time TIMESTAMP(3) NOT NULL,\n\t\tupdate_time TIMESTAMP(3) NOT NULL,\n\t\tcharset TEXT NOT NULL,\n\t\tcollation TEXT NOT NULL,\n\t\tsource VARCHAR(10) NOT NULL DEFAULT 'unknown',\n\t\tsql_digest varchar(64),\n\t\tplan_digest varchar(64),\n\t\tINDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\",\n\t\tINDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2024/05/06 09:43:10.720 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-06 09:43:10.719 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:43:10.720 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-06 09:43:10.719 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql TEXT NOT NULL,\n\t\tbind_sql TEXT NOT NULL,\n\t\tdefault_db TEXT NOT NULL,\n\t\tstatus TEXT NOT NULL,\n\t\tcreate_time TIMESTAMP(3) NOT NULL,\n\t\tupdate_time TIMESTAMP(3) NOT NULL,\n\t\tcharset TEXT NOT NULL,\n\t\tcollation TEXT NOT NULL,\n\t\tsource VARCHAR(10) NOT NULL DEFAULT 'unknown',\n\t\tsql_digest varchar(64),\n\t\tplan_digest varchar(64),\n\t\tINDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\",\n\t\tINDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2024/05/06 09:43:10.735 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=39] [category=ddl] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2024-05-06 09:43:10.719 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:10.738 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=18] [neededSchemaVersion=19] ["start time"=434.376µs] [gotSchemaVersion=19] [phyTblIDs="[38]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:43:10.740 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:43:10.740 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=39] [version=19] [2024/05/06 09:43:10.742 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=19] ["take time"=4.517759ms] [job="ID:39, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-06 09:43:10.719 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:10.748 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=39] [job="ID:39, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2024-05-06 09:43:10.719 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:10.751 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=39] [2024/05/06 09:43:10.751 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:43:10.752 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=19] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_top_n (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tcount \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] [2024/05/06 09:43:10.756 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-06 09:43:10.754 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:43:10.756 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-06 09:43:10.754 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_top_n (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tcount \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [2024/05/06 09:43:10.771 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=41] [category=ddl] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2024-05-06 09:43:10.754 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:10.779 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=19] [neededSchemaVersion=20] ["start time"=534.925µs] [gotSchemaVersion=20] [phyTblIDs="[40]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:43:10.781 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:43:10.781 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=41] [version=20] [2024/05/06 09:43:10.783 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=20] ["take time"=4.744229ms] [job="ID:41, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-06 09:43:10.754 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:10.790 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=41] [job="ID:41, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2024-05-06 09:43:10.754 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:10.795 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=41] [2024/05/06 09:43:10.795 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:43:10.796 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=20] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.expr_pushdown_blacklist (\n\t\tname \t\tCHAR(100) NOT NULL,\n\t\tstore_type \tCHAR(100) NOT NULL DEFAULT 'tikv,tiflash,tidb',\n\t\treason \t\tVARCHAR(200)\n\t);"] [user=] [2024/05/06 09:43:10.801 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-06 09:43:10.799 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:43:10.801 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-06 09:43:10.799 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.expr_pushdown_blacklist (\n\t\tname \t\tCHAR(100) NOT NULL,\n\t\tstore_type \tCHAR(100) NOT NULL DEFAULT 'tikv,tiflash,tidb',\n\t\treason \t\tVARCHAR(200)\n\t);"] [2024/05/06 09:43:10.812 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=43] [category=ddl] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2024-05-06 09:43:10.799 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:10.815 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=20] [neededSchemaVersion=21] ["start time"=351.951µs] [gotSchemaVersion=21] [phyTblIDs="[42]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:43:10.817 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:43:10.817 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=43] [version=21] [2024/05/06 09:43:10.818 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=21] ["take time"=4.026262ms] [job="ID:43, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-06 09:43:10.799 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:10.825 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=43] [job="ID:43, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2024-05-06 09:43:10.799 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:10.828 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=43] [2024/05/06 09:43:10.828 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:43:10.829 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=21] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] [user=] [2024/05/06 09:43:10.831 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-06 09:43:10.83 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:43:10.831 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-06 09:43:10.83 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] [2024/05/06 09:43:10.839 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=45] [category=ddl] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2024-05-06 09:43:10.83 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:10.842 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=21] [neededSchemaVersion=22] ["start time"=169.946µs] [gotSchemaVersion=22] [phyTblIDs="[44]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:43:10.843 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:43:10.843 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=45] [version=22] [2024/05/06 09:43:10.845 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=22] ["take time"=2.997205ms] [job="ID:45, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-06 09:43:10.83 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:10.850 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=45] [job="ID:45, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2024-05-06 09:43:10.83 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:10.852 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=45] [2024/05/06 09:43:10.852 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:43:10.853 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=22] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_extended (\n\t\tname varchar(32) NOT NULL,\n\t\ttype tinyint(4) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcolumn_ids varchar(32) NOT NULL,\n\t\tstats blob DEFAULT NULL,\n\t\tversion bigint(64) unsigned NOT NULL,\n\t\tstatus tinyint(4) NOT NULL,\n\t\tPRIMARY KEY(name, table_id),\n\t\tKEY idx_1 (table_id, status, version),\n\t\tKEY idx_2 (status, version)\n\t);"] [user=] [2024/05/06 09:43:10.855 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-06 09:43:10.854 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:43:10.855 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-06 09:43:10.854 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_extended (\n\t\tname varchar(32) NOT NULL,\n\t\ttype tinyint(4) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcolumn_ids varchar(32) NOT NULL,\n\t\tstats blob DEFAULT NULL,\n\t\tversion bigint(64) unsigned NOT NULL,\n\t\tstatus tinyint(4) NOT NULL,\n\t\tPRIMARY KEY(name, table_id),\n\t\tKEY idx_1 (table_id, status, version),\n\t\tKEY idx_2 (status, version)\n\t);"] [2024/05/06 09:43:10.861 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=47] [category=ddl] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2024-05-06 09:43:10.854 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:10.864 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=22] [neededSchemaVersion=23] ["start time"=407.205µs] [gotSchemaVersion=23] [phyTblIDs="[46]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:43:10.866 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:43:10.866 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=47] [version=23] [2024/05/06 09:43:10.866 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=23] ["take time"=2.045148ms] [job="ID:47, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-06 09:43:10.854 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:10.873 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=47] [job="ID:47, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2024-05-06 09:43:10.854 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:10.878 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=47] [2024/05/06 09:43:10.878 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:43:10.878 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=23] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] [2024/05/06 09:43:10.880 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-06 09:43:10.879 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:43:10.880 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-06 09:43:10.879 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [2024/05/06 09:43:10.887 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=49] [category=ddl] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2024-05-06 09:43:10.879 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:10.889 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=23] [neededSchemaVersion=24] ["start time"=218.877µs] [gotSchemaVersion=24] [phyTblIDs="[48]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:43:10.890 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:43:10.890 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=49] [version=24] [2024/05/06 09:43:10.891 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=24] ["take time"=2.051963ms] [job="ID:49, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-06 09:43:10.879 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:10.895 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=49] [job="ID:49, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2024-05-06 09:43:10.879 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:10.897 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=49] [2024/05/06 09:43:10.897 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:43:10.898 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=24] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.global_grants (\n\t\tUSER char(32) NOT NULL DEFAULT '',\n\t\tHOST char(255) NOT NULL DEFAULT '',\n\t\tPRIV char(32) NOT NULL DEFAULT '',\n\t\tWITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (USER,HOST,PRIV)\n\t);"] [user=] [2024/05/06 09:43:10.900 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-06 09:43:10.899 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:43:10.900 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-06 09:43:10.899 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.global_grants (\n\t\tUSER char(32) NOT NULL DEFAULT '',\n\t\tHOST char(255) NOT NULL DEFAULT '',\n\t\tPRIV char(32) NOT NULL DEFAULT '',\n\t\tWITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (USER,HOST,PRIV)\n\t);"] [2024/05/06 09:43:10.908 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=51] [category=ddl] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2024-05-06 09:43:10.899 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:10.911 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=24] [neededSchemaVersion=25] ["start time"=294.892µs] [gotSchemaVersion=25] [phyTblIDs="[50]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:43:10.912 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:43:10.912 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=51] [version=25] [2024/05/06 09:43:10.913 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=25] ["take time"=2.092818ms] [job="ID:51, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-06 09:43:10.899 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:10.930 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=51] [job="ID:51, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2024-05-06 09:43:10.899 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:10.938 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=51] [2024/05/06 09:43:10.938 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:43:10.939 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=25] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist (\n\t\tid bigint(64) auto_increment,\n\t\tfilter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\",\n\t\tfilter_value varchar(32) NOT NULL,\n\t\tkey idx(filter_type),\n\t\tprimary key(id)\n\t);"] [user=] [2024/05/06 09:43:10.942 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-06 09:43:10.94 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:43:10.942 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-06 09:43:10.94 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist (\n\t\tid bigint(64) auto_increment,\n\t\tfilter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\",\n\t\tfilter_value varchar(32) NOT NULL,\n\t\tkey idx(filter_type),\n\t\tprimary key(id)\n\t);"] [2024/05/06 09:43:10.957 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=53] [category=ddl] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2024-05-06 09:43:10.94 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:10.959 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=25] [neededSchemaVersion=26] ["start time"=251.189µs] [gotSchemaVersion=26] [phyTblIDs="[52]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:43:10.960 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:43:10.960 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=53] [version=26] [2024/05/06 09:43:10.961 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=26] ["take time"=2.159274ms] [job="ID:53, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-06 09:43:10.94 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:10.971 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=53] [job="ID:53, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2024-05-06 09:43:10.94 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:10.974 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=53] [2024/05/06 09:43:10.974 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:43:10.974 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=26] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.column_stats_usage (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tcolumn_id BIGINT(64) NOT NULL,\n\t\tlast_used_at TIMESTAMP,\n\t\tlast_analyzed_at TIMESTAMP,\n\t\tPRIMARY KEY (table_id, column_id) CLUSTERED\n\t);"] [user=] [2024/05/06 09:43:10.977 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-06 09:43:10.976 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:43:10.977 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-06 09:43:10.976 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.column_stats_usage (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tcolumn_id BIGINT(64) NOT NULL,\n\t\tlast_used_at TIMESTAMP,\n\t\tlast_analyzed_at TIMESTAMP,\n\t\tPRIMARY KEY (table_id, column_id) CLUSTERED\n\t);"] [2024/05/06 09:43:10.984 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=55] [category=ddl] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2024-05-06 09:43:10.976 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:10.988 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=26] [neededSchemaVersion=27] ["start time"=340.016µs] [gotSchemaVersion=27] [phyTblIDs="[54]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:43:10.989 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:43:10.989 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=55] [version=27] [2024/05/06 09:43:10.992 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=27] ["take time"=4.620781ms] [job="ID:55, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-06 09:43:10.976 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:10.997 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=55] [job="ID:55, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2024-05-06 09:43:10.976 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:10.999 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=55] [2024/05/06 09:43:10.999 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:43:11.000 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=27] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.table_cache_meta (\n\t\ttid bigint(11) NOT NULL DEFAULT 0,\n\t\tlock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE',\n\t\tlease bigint(20) NOT NULL DEFAULT 0,\n\t\toldReadLease bigint(20) NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (tid)\n\t);"] [user=] [2024/05/06 09:43:11.002 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-06 09:43:11.001 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:43:11.003 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-06 09:43:11.001 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.table_cache_meta (\n\t\ttid bigint(11) NOT NULL DEFAULT 0,\n\t\tlock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE',\n\t\tlease bigint(20) NOT NULL DEFAULT 0,\n\t\toldReadLease bigint(20) NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (tid)\n\t);"] [2024/05/06 09:43:11.011 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=57] [category=ddl] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2024-05-06 09:43:11.001 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:11.015 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=27] [neededSchemaVersion=28] ["start time"=308.371µs] [gotSchemaVersion=28] [phyTblIDs="[56]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:43:11.017 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:43:11.017 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=57] [version=28] [2024/05/06 09:43:11.020 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=28] ["take time"=4.613267ms] [job="ID:57, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-06 09:43:11.001 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:11.024 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=57] [job="ID:57, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2024-05-06 09:43:11.001 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:11.028 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=57] [2024/05/06 09:43:11.028 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:43:11.028 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=28] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_options (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tsample_num BIGINT(64) NOT NULL DEFAULT 0,\n\t\tsample_rate DOUBLE NOT NULL DEFAULT -1,\n\t\tbuckets BIGINT(64) NOT NULL DEFAULT 0,\n\t\ttopn BIGINT(64) NOT NULL DEFAULT -1,\n\t\tcolumn_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT',\n\t\tcolumn_ids TEXT(19372),\n\t\tPRIMARY KEY (table_id) CLUSTERED\n\t);"] [user=] [2024/05/06 09:43:11.029 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(19372) to MEDIUMBLOB"] [category=ddl] [2024/05/06 09:43:11.032 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-06 09:43:11.03 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:43:11.032 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-06 09:43:11.03 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.analyze_options (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tsample_num BIGINT(64) NOT NULL DEFAULT 0,\n\t\tsample_rate DOUBLE NOT NULL DEFAULT -1,\n\t\tbuckets BIGINT(64) NOT NULL DEFAULT 0,\n\t\ttopn BIGINT(64) NOT NULL DEFAULT -1,\n\t\tcolumn_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT',\n\t\tcolumn_ids TEXT(19372),\n\t\tPRIMARY KEY (table_id) CLUSTERED\n\t);"] [2024/05/06 09:43:11.038 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=59] [category=ddl] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2024-05-06 09:43:11.03 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:11.041 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=28] [neededSchemaVersion=29] ["start time"=195.739µs] [gotSchemaVersion=29] [phyTblIDs="[58]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:43:11.042 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:43:11.042 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=59] [version=29] [2024/05/06 09:43:11.044 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=29] ["take time"=2.986011ms] [job="ID:59, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-06 09:43:11.03 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:11.048 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=59] [job="ID:59, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2024-05-06 09:43:11.03 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:11.052 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=59] [2024/05/06 09:43:11.052 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:43:11.052 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=29] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tstats_data longblob NOT NULL,\n\t\tseq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice',\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version_seq (table_id, version, seq_no),\n\t\tKEY table_create_time (table_id, create_time, seq_no),\n \tKEY idx_create_time (create_time)\n\t);"] [user=] [2024/05/06 09:43:11.056 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-06 09:43:11.054 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:43:11.056 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-06 09:43:11.054 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tstats_data longblob NOT NULL,\n\t\tseq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice',\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version_seq (table_id, version, seq_no),\n\t\tKEY table_create_time (table_id, create_time, seq_no),\n \tKEY idx_create_time (create_time)\n\t);"] [2024/05/06 09:43:11.064 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=61] [category=ddl] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2024-05-06 09:43:11.054 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:11.067 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=29] [neededSchemaVersion=30] ["start time"=233.051µs] [gotSchemaVersion=30] [phyTblIDs="[60]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:43:11.068 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:43:11.068 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=61] [version=30] [2024/05/06 09:43:11.069 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=30] ["take time"=2.013988ms] [job="ID:61, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-06 09:43:11.054 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:11.073 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=61] [job="ID:61, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2024-05-06 09:43:11.054 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:11.076 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=61] [2024/05/06 09:43:11.076 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:43:11.076 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=30] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_meta_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL,\n\t\tcount bigint(64) NOT NULL,\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n \tsource varchar(40) NOT NULL,\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version (table_id, version),\n\t\tKEY table_create_time (table_id, create_time),\n \tKEY idx_create_time (create_time)\n\t);"] [user=] [2024/05/06 09:43:11.079 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-06 09:43:11.078 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:43:11.079 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-06 09:43:11.078 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_meta_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL,\n\t\tcount bigint(64) NOT NULL,\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n \tsource varchar(40) NOT NULL,\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version (table_id, version),\n\t\tKEY table_create_time (table_id, create_time),\n \tKEY idx_create_time (create_time)\n\t);"] [2024/05/06 09:43:11.084 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=63] [category=ddl] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2024-05-06 09:43:11.078 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:11.087 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=30] [neededSchemaVersion=31] ["start time"=229.162µs] [gotSchemaVersion=31] [phyTblIDs="[62]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:43:11.088 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:43:11.088 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=63] [version=31] [2024/05/06 09:43:11.089 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=31] ["take time"=2.863654ms] [job="ID:63, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-06 09:43:11.078 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:11.093 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=63] [job="ID:63, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2024-05-06 09:43:11.078 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:11.096 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=63] [2024/05/06 09:43:11.096 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:43:11.097 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=31] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_jobs (\n\t\tid BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\ttable_schema CHAR(64) NOT NULL DEFAULT '',\n\t\ttable_name CHAR(64) NOT NULL DEFAULT '',\n\t\tpartition_name CHAR(64) NOT NULL DEFAULT '',\n\t\tjob_info TEXT NOT NULL,\n\t\tprocessed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tstart_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tstate ENUM('pending', 'running', 'finished', 'failed') NOT NULL,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job',\n\t\tprocess_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job',\n\t\tPRIMARY KEY (id),\n\t\tKEY (update_time)\n\t);"] [user=] [2024/05/06 09:43:11.100 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-06 09:43:11.098 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:43:11.100 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-06 09:43:11.098 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.analyze_jobs (\n\t\tid BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\ttable_schema CHAR(64) NOT NULL DEFAULT '',\n\t\ttable_name CHAR(64) NOT NULL DEFAULT '',\n\t\tpartition_name CHAR(64) NOT NULL DEFAULT '',\n\t\tjob_info TEXT NOT NULL,\n\t\tprocessed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tstart_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tstate ENUM('pending', 'running', 'finished', 'failed') NOT NULL,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job',\n\t\tprocess_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job',\n\t\tPRIMARY KEY (id),\n\t\tKEY (update_time)\n\t);"] [2024/05/06 09:43:11.106 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=65] [category=ddl] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2024-05-06 09:43:11.098 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:11.110 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=31] [neededSchemaVersion=32] ["start time"=432.56µs] [gotSchemaVersion=32] [phyTblIDs="[64]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:43:11.111 +00:00] [WARN] [runaway.go:166] ["failed to start runaway manager loop, please check whether the bootstrap or update is finished"] [error="[schema:1146]Table 'mysql.tidb_runaway_watch' doesn't exist"] [errorVerbose="[schema:1146]Table 'mysql.tidb_runaway_watch' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:141\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:67\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2089\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternalStmt\n\tpkg/session/session.go:1993\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL.func1\n\tpkg/session/session.go:1958\ngithub.com/pingcap/tidb/pkg/session.(*session).withRestrictedSQLExecutor\n\tpkg/session/session.go:1944\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL\n\tpkg/session/session.go:1948\ngithub.com/pingcap/tidb/pkg/domain.(*SystemTableReader).Read\n\tpkg/domain/runaway.go:655\ngithub.com/pingcap/tidb/pkg/domain.getRunawayWatchRecord\n\tpkg/domain/runaway.go:543\ngithub.com/pingcap/tidb/pkg/domain.(*runawaySyncer).getWatchRecord\n\tpkg/domain/runaway.go:526\ngithub.com/pingcap/tidb/pkg/domain.(*runawaySyncer).getNewWatchRecords\n\tpkg/domain/runaway.go:509\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).updateNewAndDoneWatch\n\tpkg/domain/runaway.go:177\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).runawayStartLoop\n\tpkg/domain/runaway.go:156\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:99\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [2024/05/06 09:43:11.111 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:43:11.111 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=65] [version=32] [2024/05/06 09:43:11.111 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=32] ["take time"=2.188525ms] [job="ID:65, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-06 09:43:11.098 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:11.121 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=65] [job="ID:65, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2024-05-06 09:43:11.098 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:11.129 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=65] [2024/05/06 09:43:11.129 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:43:11.130 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=32] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] [user=] [2024/05/06 09:43:11.133 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-06 09:43:11.131 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:43:11.133 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-06 09:43:11.131 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] [2024/05/06 09:43:11.144 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=67] [category=ddl] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2024-05-06 09:43:11.131 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:11.147 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=259.565µs] [gotSchemaVersion=33] [phyTblIDs="[66]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:43:11.149 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:43:11.149 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=67] [version=33] [2024/05/06 09:43:11.152 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=33] ["take time"=4.563767ms] [job="ID:67, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-06 09:43:11.131 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:11.157 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=67] [job="ID:67, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2024-05-06 09:43:11.131 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:11.163 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=67] [2024/05/06 09:43:11.163 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:43:11.169 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2024-05-06 09:43:11.168 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:43:11.169 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2024-05-06 09:43:11.168 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE OR REPLACE VIEW mysql.tidb_mdl_view as (\n\t\tSELECT tidb_mdl_info.job_id,\n\t\t\tJSON_UNQUOTE(JSON_EXTRACT(cast(cast(job_meta as char) as json), \"$.schema_name\")) as db_name,\n\t\t\tJSON_UNQUOTE(JSON_EXTRACT(cast(cast(job_meta as char) as json), \"$.table_name\")) as table_name,\n\t\t\tJSON_UNQUOTE(JSON_EXTRACT(cast(cast(job_meta as char) as json), \"$.query\")) as query,\n\t\t\tsession_id,\n\t\t\tcluster_tidb_trx.start_time,\n\t\t\ttidb_decode_sql_digests(all_sql_digests, 4096) AS SQL_DIGESTS\n\t\tFROM mysql.tidb_ddl_job,\n\t\t\tmysql.tidb_mdl_info,\n\t\t\tinformation_schema.cluster_tidb_trx\n\t\tWHERE tidb_ddl_job.job_id=tidb_mdl_info.job_id\n\t\t\tAND CONCAT(',', tidb_mdl_info.table_ids, ',') REGEXP CONCAT(',', REPLACE(cluster_tidb_trx.related_table_ids, ',', '|'), ',') != 0\n\t);"] [2024/05/06 09:43:11.195 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=69] [category=ddl] [job="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2024-05-06 09:43:11.168 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:11.203 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=33] [neededSchemaVersion=34] ["start time"=467.438µs] [gotSchemaVersion=34] [phyTblIDs="[68]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2024/05/06 09:43:11.216 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:43:11.216 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=69] [version=34] [2024/05/06 09:43:11.216 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=34] ["take time"=14.352015ms] [job="ID:69, Type:create view, State:done, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2024-05-06 09:43:11.168 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:11.230 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=69] [job="ID:69, Type:create view, State:synced, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2024-05-06 09:43:11.168 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:11.237 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=69] [2024/05/06 09:43:11.237 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:43:11.238 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=34] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_status (\n\t\tsql_digest VARCHAR(128),\n\t\tplan_digest VARCHAR(128),\n\t\torigin_sql TEXT,\n\t\ttoken VARCHAR(128),\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the plan replayer job');"] [user=] [2024/05/06 09:43:11.241 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:2, start time: 2024-05-06 09:43:11.239 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:43:11.241 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:2, start time: 2024-05-06 09:43:11.239 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_status (\n\t\tsql_digest VARCHAR(128),\n\t\tplan_digest VARCHAR(128),\n\t\torigin_sql TEXT,\n\t\ttoken VARCHAR(128),\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the plan replayer job');"] [2024/05/06 09:43:11.250 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=71] [category=ddl] [job="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:0, start time: 2024-05-06 09:43:11.239 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:11.253 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=34] [neededSchemaVersion=35] ["start time"=335.926µs] [gotSchemaVersion=35] [phyTblIDs="[70]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:43:11.254 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:43:11.254 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=71] [version=35] [2024/05/06 09:43:11.254 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=35] ["take time"=2.040325ms] [job="ID:71, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:2, start time: 2024-05-06 09:43:11.239 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:11.259 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=71] [job="ID:71, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:0, start time: 2024-05-06 09:43:11.239 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:11.263 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=71] [2024/05/06 09:43:11.263 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:43:11.263 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=35] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_task (\n\t\tsql_digest VARCHAR(128) NOT NULL,\n\t\tplan_digest VARCHAR(128) NOT NULL,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tPRIMARY KEY (sql_digest,plan_digest));"] [user=] [2024/05/06 09:43:11.266 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-06 09:43:11.265 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:43:11.267 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-06 09:43:11.265 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_task (\n\t\tsql_digest VARCHAR(128) NOT NULL,\n\t\tplan_digest VARCHAR(128) NOT NULL,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tPRIMARY KEY (sql_digest,plan_digest));"] [2024/05/06 09:43:11.274 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=73] [category=ddl] [job="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:0, start time: 2024-05-06 09:43:11.265 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:11.278 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=35] [neededSchemaVersion=36] ["start time"=368.047µs] [gotSchemaVersion=36] [phyTblIDs="[72]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:43:11.279 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:43:11.279 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=73] [version=36] [2024/05/06 09:43:11.283 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=36] ["take time"=5.81949ms] [job="ID:73, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-06 09:43:11.265 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:11.290 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=73] [job="ID:73, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:0, start time: 2024-05-06 09:43:11.265 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:11.302 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=73] [2024/05/06 09:43:11.302 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:43:11.302 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=36] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_table_locked(\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL DEFAULT 0,\n\t\tcount bigint(64) NOT NULL DEFAULT 0,\n\t\tversion bigint(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (table_id));"] [user=] [2024/05/06 09:43:11.309 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-06 09:43:11.307 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:43:11.309 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-06 09:43:11.307 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_table_locked(\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL DEFAULT 0,\n\t\tcount bigint(64) NOT NULL DEFAULT 0,\n\t\tversion bigint(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (table_id));"] [2024/05/06 09:43:11.321 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=75] [category=ddl] [job="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:0, start time: 2024-05-06 09:43:11.307 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:11.324 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=36] [neededSchemaVersion=37] ["start time"=196.344µs] [gotSchemaVersion=37] [phyTblIDs="[74]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:43:11.325 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:43:11.325 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=75] [version=37] [2024/05/06 09:43:11.334 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=37] ["take time"=9.943451ms] [job="ID:75, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-06 09:43:11.307 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:11.339 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=75] [job="ID:75, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:0, start time: 2024-05-06 09:43:11.307 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:11.343 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=75] [2024/05/06 09:43:11.343 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:43:11.343 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=37] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_table_status (\n\t\ttable_id bigint(64) PRIMARY KEY,\n parent_table_id bigint(64),\n table_statistics text DEFAULT NULL,\n\t\tlast_job_id varchar(64) DEFAULT NULL,\n\t\tlast_job_start_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_finish_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_ttl_expire timestamp NULL DEFAULT NULL,\n last_job_summary text DEFAULT NULL,\n\t\tcurrent_job_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_addr varchar(256) DEFAULT NULL,\n\t\tcurrent_job_owner_hb_time timestamp,\n\t\tcurrent_job_start_time timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_ttl_expire timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_state text DEFAULT NULL,\n\t\tcurrent_job_status varchar(64) DEFAULT NULL,\n \t\tcurrent_job_status_update_time timestamp NULL DEFAULT NULL);"] [user=] [2024/05/06 09:43:11.348 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-06 09:43:11.345 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:43:11.348 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-06 09:43:11.345 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_table_status (\n\t\ttable_id bigint(64) PRIMARY KEY,\n parent_table_id bigint(64),\n table_statistics text DEFAULT NULL,\n\t\tlast_job_id varchar(64) DEFAULT NULL,\n\t\tlast_job_start_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_finish_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_ttl_expire timestamp NULL DEFAULT NULL,\n last_job_summary text DEFAULT NULL,\n\t\tcurrent_job_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_addr varchar(256) DEFAULT NULL,\n\t\tcurrent_job_owner_hb_time timestamp,\n\t\tcurrent_job_start_time timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_ttl_expire timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_state text DEFAULT NULL,\n\t\tcurrent_job_status varchar(64) DEFAULT NULL,\n \t\tcurrent_job_status_update_time timestamp NULL DEFAULT NULL);"] [2024/05/06 09:43:11.355 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=77] [category=ddl] [job="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:0, start time: 2024-05-06 09:43:11.345 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:11.359 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=37] [neededSchemaVersion=38] ["start time"=456.149µs] [gotSchemaVersion=38] [phyTblIDs="[76]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:43:11.360 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:43:11.360 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=77] [version=38] [2024/05/06 09:43:11.360 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=38] ["take time"=2.055415ms] [job="ID:77, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-06 09:43:11.345 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:11.367 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=77] [job="ID:77, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:0, start time: 2024-05-06 09:43:11.345 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:11.371 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=77] [2024/05/06 09:43:11.371 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:43:11.371 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=38] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_task (\n\t\tjob_id varchar(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tscan_id int NOT NULL,\n\t\tscan_range_start BLOB,\n\t\tscan_range_end BLOB,\n\t\texpire_time timestamp NOT NULL,\n\t\towner_id varchar(64) DEFAULT NULL,\n\t\towner_addr varchar(64) DEFAULT NULL,\n\t\towner_hb_time timestamp DEFAULT NULL,\n\t\tstatus varchar(64) DEFAULT 'waiting',\n\t\tstatus_update_time timestamp NULL DEFAULT NULL,\n\t\tstate text,\n\t\tcreated_time timestamp NOT NULL,\n\t\tprimary key(job_id, scan_id),\n\t\tkey(created_time));"] [user=] [2024/05/06 09:43:11.374 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-06 09:43:11.373 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:43:11.374 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-06 09:43:11.373 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_task (\n\t\tjob_id varchar(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tscan_id int NOT NULL,\n\t\tscan_range_start BLOB,\n\t\tscan_range_end BLOB,\n\t\texpire_time timestamp NOT NULL,\n\t\towner_id varchar(64) DEFAULT NULL,\n\t\towner_addr varchar(64) DEFAULT NULL,\n\t\towner_hb_time timestamp DEFAULT NULL,\n\t\tstatus varchar(64) DEFAULT 'waiting',\n\t\tstatus_update_time timestamp NULL DEFAULT NULL,\n\t\tstate text,\n\t\tcreated_time timestamp NOT NULL,\n\t\tprimary key(job_id, scan_id),\n\t\tkey(created_time));"] [2024/05/06 09:43:11.383 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=79] [category=ddl] [job="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:0, start time: 2024-05-06 09:43:11.373 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:11.387 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=38] [neededSchemaVersion=39] ["start time"=436.228µs] [gotSchemaVersion=39] [phyTblIDs="[78]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:43:11.388 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:43:11.389 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=79] [version=39] [2024/05/06 09:43:11.393 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=39] ["take time"=6.550223ms] [job="ID:79, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-06 09:43:11.373 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:11.398 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=79] [job="ID:79, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:0, start time: 2024-05-06 09:43:11.373 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:11.402 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=79] [2024/05/06 09:43:11.402 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:43:11.402 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=39] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_job_history (\n\t\tjob_id varchar(64) PRIMARY KEY,\n\t\ttable_id bigint(64) NOT NULL,\n parent_table_id bigint(64) NOT NULL,\n \ttable_schema varchar(64) NOT NULL,\n\t\ttable_name varchar(64) NOT NULL,\n \tpartition_name varchar(64) DEFAULT NULL,\n\t\tcreate_time timestamp NOT NULL,\n\t\tfinish_time timestamp NOT NULL,\n\t\tttl_expire timestamp NOT NULL,\n summary_text text,\n\t\texpired_rows bigint(64) DEFAULT NULL,\n \tdeleted_rows bigint(64) DEFAULT NULL,\n \terror_delete_rows bigint(64) DEFAULT NULL,\n \tstatus varchar(64) NOT NULL,\n \tkey(table_schema, table_name, create_time),\n \tkey(parent_table_id, create_time),\n \tkey(create_time)\n\t);"] [user=] [2024/05/06 09:43:11.405 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-06 09:43:11.404 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:43:11.405 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-06 09:43:11.404 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_job_history (\n\t\tjob_id varchar(64) PRIMARY KEY,\n\t\ttable_id bigint(64) NOT NULL,\n parent_table_id bigint(64) NOT NULL,\n \ttable_schema varchar(64) NOT NULL,\n\t\ttable_name varchar(64) NOT NULL,\n \tpartition_name varchar(64) DEFAULT NULL,\n\t\tcreate_time timestamp NOT NULL,\n\t\tfinish_time timestamp NOT NULL,\n\t\tttl_expire timestamp NOT NULL,\n summary_text text,\n\t\texpired_rows bigint(64) DEFAULT NULL,\n \tdeleted_rows bigint(64) DEFAULT NULL,\n \terror_delete_rows bigint(64) DEFAULT NULL,\n \tstatus varchar(64) NOT NULL,\n \tkey(table_schema, table_name, create_time),\n \tkey(parent_table_id, create_time),\n \tkey(create_time)\n\t);"] [2024/05/06 09:43:11.412 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=81] [category=ddl] [job="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:80, RowCount:0, ArgLen:0, start time: 2024-05-06 09:43:11.404 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:11.417 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=39] [neededSchemaVersion=40] ["start time"=443.979µs] [gotSchemaVersion=40] [phyTblIDs="[80]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:43:11.419 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:43:11.419 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=81] [version=40] [2024/05/06 09:43:11.420 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=40] ["take time"=3.007757ms] [job="ID:81, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-06 09:43:11.404 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:11.425 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=81] [job="ID:81, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:80, RowCount:0, ArgLen:0, start time: 2024-05-06 09:43:11.404 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:11.429 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=81] [2024/05/06 09:43:11.429 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:43:11.429 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=40] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(261),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tpriority INT DEFAULT 1,\n\t\tcreate_time TIMESTAMP,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\ttarget_scope VARCHAR(256) DEFAULT \"\",\n\t\terror BLOB,\n\t\tkey(state),\n \tUNIQUE KEY task_key(task_key)\n\t);"] [user=] [2024/05/06 09:43:11.433 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-06 09:43:11.431 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:43:11.433 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-06 09:43:11.431 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(261),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tpriority INT DEFAULT 1,\n\t\tcreate_time TIMESTAMP,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\ttarget_scope VARCHAR(256) DEFAULT \"\",\n\t\terror BLOB,\n\t\tkey(state),\n \tUNIQUE KEY task_key(task_key)\n\t);"] [2024/05/06 09:43:11.441 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=83] [category=ddl] [job="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:82, RowCount:0, ArgLen:0, start time: 2024-05-06 09:43:11.431 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:11.445 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=40] [neededSchemaVersion=41] ["start time"=457.003µs] [gotSchemaVersion=41] [phyTblIDs="[82]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:43:11.446 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:43:11.446 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=83] [version=41] [2024/05/06 09:43:11.446 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=41] ["take time"=2.035952ms] [job="ID:83, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-06 09:43:11.431 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:11.457 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=83] [job="ID:83, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:82, RowCount:0, ArgLen:0, start time: 2024-05-06 09:43:11.431 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:11.464 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=83] [2024/05/06 09:43:11.464 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:43:11.464 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=41] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task_history (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(261),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tpriority INT DEFAULT 1,\n\t\tcreate_time TIMESTAMP,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\ttarget_scope VARCHAR(256) DEFAULT \"\",\n\t\terror BLOB,\n\t\tkey(state),\n \tUNIQUE KEY task_key(task_key)\n\t);"] [user=] [2024/05/06 09:43:11.467 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:85, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:84, RowCount:0, ArgLen:2, start time: 2024-05-06 09:43:11.466 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:43:11.467 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:85, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:84, RowCount:0, ArgLen:2, start time: 2024-05-06 09:43:11.466 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task_history (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(261),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tpriority INT DEFAULT 1,\n\t\tcreate_time TIMESTAMP,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\ttarget_scope VARCHAR(256) DEFAULT \"\",\n\t\terror BLOB,\n\t\tkey(state),\n \tUNIQUE KEY task_key(task_key)\n\t);"] [2024/05/06 09:43:11.476 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=85] [category=ddl] [job="ID:85, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:84, RowCount:0, ArgLen:0, start time: 2024-05-06 09:43:11.466 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:11.480 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=41] [neededSchemaVersion=42] ["start time"=366.791µs] [gotSchemaVersion=42] [phyTblIDs="[84]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:43:11.482 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:43:11.482 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=85] [version=42] [2024/05/06 09:43:11.482 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=42] ["take time"=2.275093ms] [job="ID:85, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:84, RowCount:0, ArgLen:2, start time: 2024-05-06 09:43:11.466 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:11.488 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=85] [job="ID:85, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:84, RowCount:0, ArgLen:0, start time: 2024-05-06 09:43:11.466 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:11.495 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=85] [2024/05/06 09:43:11.495 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:43:11.496 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=42] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_import_jobs (\n\t\tid bigint(64) NOT NULL AUTO_INCREMENT,\n\t\tcreate_time TIMESTAMP(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n\t\tstart_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tupdate_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tend_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\ttable_schema VARCHAR(64) NOT NULL,\n\t\ttable_name VARCHAR(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcreated_by VARCHAR(300) NOT NULL,\n\t\tparameters text NOT NULL,\n\t\tsource_file_size bigint(64) NOT NULL,\n\t\tstatus VARCHAR(64) NOT NULL,\n\t\tstep VARCHAR(64) NOT NULL,\n\t\tsummary text DEFAULT NULL,\n\t\terror_message TEXT DEFAULT NULL,\n\t\tPRIMARY KEY (id),\n\t\tKEY (created_by),\n\t\tKEY (status));"] [user=] [2024/05/06 09:43:11.500 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:87, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:86, RowCount:0, ArgLen:2, start time: 2024-05-06 09:43:11.498 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:43:11.500 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:87, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:86, RowCount:0, ArgLen:2, start time: 2024-05-06 09:43:11.498 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_import_jobs (\n\t\tid bigint(64) NOT NULL AUTO_INCREMENT,\n\t\tcreate_time TIMESTAMP(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n\t\tstart_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tupdate_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tend_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\ttable_schema VARCHAR(64) NOT NULL,\n\t\ttable_name VARCHAR(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcreated_by VARCHAR(300) NOT NULL,\n\t\tparameters text NOT NULL,\n\t\tsource_file_size bigint(64) NOT NULL,\n\t\tstatus VARCHAR(64) NOT NULL,\n\t\tstep VARCHAR(64) NOT NULL,\n\t\tsummary text DEFAULT NULL,\n\t\terror_message TEXT DEFAULT NULL,\n\t\tPRIMARY KEY (id),\n\t\tKEY (created_by),\n\t\tKEY (status));"] [2024/05/06 09:43:11.510 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=87] [category=ddl] [job="ID:87, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:86, RowCount:0, ArgLen:0, start time: 2024-05-06 09:43:11.498 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:11.516 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=42] [neededSchemaVersion=43] ["start time"=706.954µs] [gotSchemaVersion=43] [phyTblIDs="[86]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:43:11.518 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:43:11.518 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=87] [version=43] [2024/05/06 09:43:11.519 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=43] ["take time"=4.028704ms] [job="ID:87, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:86, RowCount:0, ArgLen:2, start time: 2024-05-06 09:43:11.498 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:11.528 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=87] [job="ID:87, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:86, RowCount:0, ArgLen:0, start time: 2024-05-06 09:43:11.498 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:11.533 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=87] [2024/05/06 09:43:11.533 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:43:11.533 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=43] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tINDEX sql_index(resource_group_name,watch_text(700)) COMMENT \"accelerate the speed when select quarantined query\",\n\t\tINDEX time_index(end_time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2024/05/06 09:43:11.536 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:89, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:88, RowCount:0, ArgLen:2, start time: 2024-05-06 09:43:11.535 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:43:11.536 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:89, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:88, RowCount:0, ArgLen:2, start time: 2024-05-06 09:43:11.535 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tINDEX sql_index(resource_group_name,watch_text(700)) COMMENT \"accelerate the speed when select quarantined query\",\n\t\tINDEX time_index(end_time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2024/05/06 09:43:11.546 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=89] [category=ddl] [job="ID:89, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:88, RowCount:0, ArgLen:0, start time: 2024-05-06 09:43:11.535 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:11.550 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=43] [neededSchemaVersion=44] ["start time"=286.903µs] [gotSchemaVersion=44] [phyTblIDs="[88]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:43:11.551 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:43:11.551 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=89] [version=44] [2024/05/06 09:43:11.552 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=44] ["take time"=2.335682ms] [job="ID:89, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:88, RowCount:0, ArgLen:2, start time: 2024-05-06 09:43:11.535 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:11.557 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=89] [job="ID:89, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:88, RowCount:0, ArgLen:0, start time: 2024-05-06 09:43:11.535 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:11.561 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=89] [2024/05/06 09:43:11.561 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:43:11.561 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=44] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_queries (\n\t\tresource_group_name varchar(32) not null,\n\t\ttime TIMESTAMP NOT NULL,\n\t\tmatch_type varchar(12) NOT NULL,\n\t\taction varchar(12) NOT NULL,\n\t\toriginal_sql TEXT NOT NULL,\n\t\tplan_digest TEXT NOT NULL,\n\t\ttidb_server varchar(512),\n\t\tINDEX plan_index(plan_digest(64)) COMMENT \"accelerate the speed when select runaway query\",\n\t\tINDEX time_index(time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2024/05/06 09:43:11.564 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:91, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:90, RowCount:0, ArgLen:2, start time: 2024-05-06 09:43:11.563 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:43:11.564 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:91, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:90, RowCount:0, ArgLen:2, start time: 2024-05-06 09:43:11.563 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_queries (\n\t\tresource_group_name varchar(32) not null,\n\t\ttime TIMESTAMP NOT NULL,\n\t\tmatch_type varchar(12) NOT NULL,\n\t\taction varchar(12) NOT NULL,\n\t\toriginal_sql TEXT NOT NULL,\n\t\tplan_digest TEXT NOT NULL,\n\t\ttidb_server varchar(512),\n\t\tINDEX plan_index(plan_digest(64)) COMMENT \"accelerate the speed when select runaway query\",\n\t\tINDEX time_index(time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2024/05/06 09:43:11.572 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=91] [category=ddl] [job="ID:91, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:90, RowCount:0, ArgLen:0, start time: 2024-05-06 09:43:11.563 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:11.575 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=44] [neededSchemaVersion=45] ["start time"=253.33µs] [gotSchemaVersion=45] [phyTblIDs="[90]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:43:11.576 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:43:11.576 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=91] [version=45] [2024/05/06 09:43:11.577 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=45] ["take time"=2.456807ms] [job="ID:91, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:90, RowCount:0, ArgLen:2, start time: 2024-05-06 09:43:11.563 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:11.585 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=91] [job="ID:91, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:90, RowCount:0, ArgLen:0, start time: 2024-05-06 09:43:11.563 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:11.589 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=91] [2024/05/06 09:43:11.589 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:43:11.590 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=45] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS `mysql`.`tidb_timers` (\n\t\tID BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tNAMESPACE VARCHAR(256) NOT NULL,\n\t\tTIMER_KEY VARCHAR(256) NOT NULL,\n\t\tTIMER_DATA BLOB,\n\t\tTIMEZONE VARCHAR(64) NOT NULL,\n\t\tSCHED_POLICY_TYPE VARCHAR(32) NOT NULL,\n\t\tSCHED_POLICY_EXPR VARCHAR(256) NOT NULL,\n\t\tHOOK_CLASS VARCHAR(64) NOT NULL,\n\t\tWATERMARK TIMESTAMP DEFAULT NULL,\n\t\tENABLE TINYINT(2) NOT NULL,\n\t\tTIMER_EXT JSON NOT NULL,\n\t\tEVENT_STATUS VARCHAR(32) NOT NULL,\n\t\tEVENT_ID VARCHAR(64) NOT NULL,\n\t\tEVENT_DATA BLOB,\n\t\tEVENT_START TIMESTAMP DEFAULT NULL,\n\t\tSUMMARY_DATA BLOB,\n\t\tCREATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,\n\t\tUPDATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tVERSION BIGINT(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (ID),\n\t\tUNIQUE KEY timer_key(NAMESPACE, TIMER_KEY),\n\t\tKEY hook_class(HOOK_CLASS)\n\t)"] [user=] [2024/05/06 09:43:11.593 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:93, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:92, RowCount:0, ArgLen:2, start time: 2024-05-06 09:43:11.591 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:43:11.593 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:93, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:92, RowCount:0, ArgLen:2, start time: 2024-05-06 09:43:11.591 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS `mysql`.`tidb_timers` (\n\t\tID BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tNAMESPACE VARCHAR(256) NOT NULL,\n\t\tTIMER_KEY VARCHAR(256) NOT NULL,\n\t\tTIMER_DATA BLOB,\n\t\tTIMEZONE VARCHAR(64) NOT NULL,\n\t\tSCHED_POLICY_TYPE VARCHAR(32) NOT NULL,\n\t\tSCHED_POLICY_EXPR VARCHAR(256) NOT NULL,\n\t\tHOOK_CLASS VARCHAR(64) NOT NULL,\n\t\tWATERMARK TIMESTAMP DEFAULT NULL,\n\t\tENABLE TINYINT(2) NOT NULL,\n\t\tTIMER_EXT JSON NOT NULL,\n\t\tEVENT_STATUS VARCHAR(32) NOT NULL,\n\t\tEVENT_ID VARCHAR(64) NOT NULL,\n\t\tEVENT_DATA BLOB,\n\t\tEVENT_START TIMESTAMP DEFAULT NULL,\n\t\tSUMMARY_DATA BLOB,\n\t\tCREATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,\n\t\tUPDATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tVERSION BIGINT(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (ID),\n\t\tUNIQUE KEY timer_key(NAMESPACE, TIMER_KEY),\n\t\tKEY hook_class(HOOK_CLASS)\n\t)"] [2024/05/06 09:43:11.601 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=93] [category=ddl] [job="ID:93, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:92, RowCount:0, ArgLen:0, start time: 2024-05-06 09:43:11.591 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:11.606 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=45] [neededSchemaVersion=46] ["start time"=380.278µs] [gotSchemaVersion=46] [phyTblIDs="[92]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:43:11.607 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:43:11.607 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=93] [version=46] [2024/05/06 09:43:11.608 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=46] ["take time"=3.064484ms] [job="ID:93, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:2, start time: 2024-05-06 09:43:11.591 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:11.617 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=93] [job="ID:93, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:0, start time: 2024-05-06 09:43:11.591 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:11.622 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=93] [2024/05/06 09:43:11.622 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:43:11.622 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=46] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch_done (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\trecord_id BIGINT(20) not null,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tdone_time TIMESTAMP(6) NOT NULL\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2024/05/06 09:43:11.625 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:95, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:94, RowCount:0, ArgLen:2, start time: 2024-05-06 09:43:11.624 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:43:11.625 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:95, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:94, RowCount:0, ArgLen:2, start time: 2024-05-06 09:43:11.624 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch_done (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\trecord_id BIGINT(20) not null,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tdone_time TIMESTAMP(6) NOT NULL\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2024/05/06 09:43:11.633 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=95] [category=ddl] [job="ID:95, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:94, RowCount:0, ArgLen:0, start time: 2024-05-06 09:43:11.624 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:11.636 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=46] [neededSchemaVersion=47] ["start time"=328.222µs] [gotSchemaVersion=47] [phyTblIDs="[94]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:43:11.638 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:43:11.638 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=95] [version=47] [2024/05/06 09:43:11.640 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=47] ["take time"=3.898209ms] [job="ID:95, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:94, RowCount:0, ArgLen:2, start time: 2024-05-06 09:43:11.624 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:11.656 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=95] [job="ID:95, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:94, RowCount:0, ArgLen:0, start time: 2024-05-06 09:43:11.624 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:11.664 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=95] [2024/05/06 09:43:11.664 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:43:11.665 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=47] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.dist_framework_meta (\n host VARCHAR(261) NOT NULL PRIMARY KEY,\n role VARCHAR(64),\n cpu_count int default 0,\n keyspace_id bigint(8) NOT NULL DEFAULT -1\n );"] [user=] [2024/05/06 09:43:11.668 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:97, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:96, RowCount:0, ArgLen:2, start time: 2024-05-06 09:43:11.666 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:43:11.668 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:97, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:96, RowCount:0, ArgLen:2, start time: 2024-05-06 09:43:11.666 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.dist_framework_meta (\n host VARCHAR(261) NOT NULL PRIMARY KEY,\n role VARCHAR(64),\n cpu_count int default 0,\n keyspace_id bigint(8) NOT NULL DEFAULT -1\n );"] [2024/05/06 09:43:11.676 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=97] [category=ddl] [job="ID:97, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:96, RowCount:0, ArgLen:0, start time: 2024-05-06 09:43:11.666 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:11.680 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=47] [neededSchemaVersion=48] ["start time"=259.137µs] [gotSchemaVersion=48] [phyTblIDs="[96]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:43:11.681 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:43:11.681 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=97] [version=48] [2024/05/06 09:43:11.682 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=48] ["take time"=3.012467ms] [job="ID:97, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:96, RowCount:0, ArgLen:2, start time: 2024-05-06 09:43:11.666 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:11.687 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=97] [job="ID:97, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:96, RowCount:0, ArgLen:0, start time: 2024-05-06 09:43:11.666 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:11.690 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=97] [2024/05/06 09:43:11.690 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:43:11.691 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=48] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.request_unit_by_group (\n\t\tstart_time TIMESTAMP(6) NOT NULL,\n\t\tend_time TIMESTAMP(6) NOT NULL,\n\t\tresource_group VARCHAR(32) NOT null,\n\t\ttotal_ru bigint(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (start_time, end_time, resource_group),\n\t\tKEY (resource_group)\n\t);"] [user=] [2024/05/06 09:43:11.693 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:99, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:98, RowCount:0, ArgLen:2, start time: 2024-05-06 09:43:11.692 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:43:11.693 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:99, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:98, RowCount:0, ArgLen:2, start time: 2024-05-06 09:43:11.692 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.request_unit_by_group (\n\t\tstart_time TIMESTAMP(6) NOT NULL,\n\t\tend_time TIMESTAMP(6) NOT NULL,\n\t\tresource_group VARCHAR(32) NOT null,\n\t\ttotal_ru bigint(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (start_time, end_time, resource_group),\n\t\tKEY (resource_group)\n\t);"] [2024/05/06 09:43:11.703 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=99] [category=ddl] [job="ID:99, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:98, RowCount:0, ArgLen:0, start time: 2024-05-06 09:43:11.692 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:11.706 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=48] [neededSchemaVersion=49] ["start time"=311.193µs] [gotSchemaVersion=49] [phyTblIDs="[98]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:43:11.708 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:43:11.708 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=99] [version=49] [2024/05/06 09:43:11.708 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=49] ["take time"=2.060309ms] [job="ID:99, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:98, RowCount:0, ArgLen:2, start time: 2024-05-06 09:43:11.692 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:11.713 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=99] [job="ID:99, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:98, RowCount:0, ArgLen:0, start time: 2024-05-06 09:43:11.692 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:11.716 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=99] [2024/05/06 09:43:11.716 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:43:11.717 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=49] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS sys;"] [user=] [2024/05/06 09:43:11.722 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:101, Type:create schema, State:queueing, SchemaState:none, SchemaID:100, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:43:11.72 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:43:11.722 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:101, Type:create schema, State:queueing, SchemaState:none, SchemaID:100, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:43:11.72 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE DATABASE IF NOT EXISTS sys;"] [2024/05/06 09:43:11.728 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=101] [category=ddl] [job="ID:101, Type:create schema, State:queueing, SchemaState:none, SchemaID:100, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:43:11.72 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:11.730 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=49] [neededSchemaVersion=50] ["start time"=56.725µs] [gotSchemaVersion=50] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2024/05/06 09:43:11.731 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:43:11.731 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=101] [version=50] [2024/05/06 09:43:11.732 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=50] ["take time"=2.656566ms] [job="ID:101, Type:create schema, State:done, SchemaState:public, SchemaID:100, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:43:11.72 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:11.736 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=101] [job="ID:101, Type:create schema, State:synced, SchemaState:public, SchemaID:100, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:43:11.72 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:11.739 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=101] [2024/05/06 09:43:11.739 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:43:11.743 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:103, Type:create view, State:queueing, SchemaState:none, SchemaID:100, TableID:102, RowCount:0, ArgLen:3, start time: 2024-05-06 09:43:11.741 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:43:11.743 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:103, Type:create view, State:queueing, SchemaState:none, SchemaID:100, TableID:102, RowCount:0, ArgLen:3, start time: 2024-05-06 09:43:11.741 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE OR REPLACE VIEW sys.schema_unused_indexes AS\n\t\tSELECT\n\t\t\ttable_schema as object_schema,\n\t\t\ttable_name as object_name,\n\t\t\tindex_name\n\t\tFROM information_schema.cluster_tidb_index_usage\n\t\tWHERE\n\t\t\ttable_schema not in ('sys', 'mysql', 'INFORMATION_SCHEMA', 'PERFORMANCE_SCHEMA') and\n\t\t\tindex_name != 'PRIMARY'\n\t\tGROUP BY table_schema, table_name, index_name\n\t\tHAVING\n\t\t\tsum(last_access_time) is null;"] [2024/05/06 09:43:11.753 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=103] [category=ddl] [job="ID:103, Type:create view, State:queueing, SchemaState:none, SchemaID:100, TableID:102, RowCount:0, ArgLen:0, start time: 2024-05-06 09:43:11.741 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:11.755 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=50] [neededSchemaVersion=51] ["start time"=191.518µs] [gotSchemaVersion=51] [phyTblIDs="[102]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2024/05/06 09:43:11.756 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 09:43:11.757 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=103] [version=51] [2024/05/06 09:43:11.757 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=51] ["take time"=2.241505ms] [job="ID:103, Type:create view, State:done, SchemaState:public, SchemaID:100, TableID:102, RowCount:0, ArgLen:3, start time: 2024-05-06 09:43:11.741 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:11.761 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=103] [job="ID:103, Type:create view, State:synced, SchemaState:public, SchemaID:100, TableID:102, RowCount:0, ArgLen:0, start time: 2024-05-06 09:43:11.741 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:11.764 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=103] [2024/05/06 09:43:11.764 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:43:11.805 +00:00] [INFO] [bootstrap.go:745] ["bootstrap successful"] ["take time"=1.695101713s] [2024/05/06 09:43:11.806 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=216957c3-b8dc-4174-b708-a7592d371815] [ownerKey=/tidb/ddl/fg/owner] [2024/05/06 09:43:11.806 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/06 09:43:11.806 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 4, tp add index"] [category=ddl] ["take time"=1.757µs] [2024/05/06 09:43:11.806 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 5, tp add index"] [category=ddl] ["take time"=1.31µs] [2024/05/06 09:43:11.806 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 2, tp add index"] [category=ddl] ["take time"=1.32µs] [2024/05/06 09:43:11.806 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 3, tp add index"] [category=ddl] ["take time"=1.21µs] [2024/05/06 09:43:11.806 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/06 09:43:11.807 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 1, tp general"] [category=ddl] ["take time"=1.269µs] [2024/05/06 09:43:11.807 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/06 09:43:11.807 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2024/05/06 09:43:11.807 +00:00] [INFO] [session_pool.go:99] ["closing session pool"] [category=ddl] [2024/05/06 09:43:11.809 +00:00] [INFO] [ddl.go:951] ["DDL closed"] [category=ddl] [ID=216957c3-b8dc-4174-b708-a7592d371815] ["take time"=3.126222ms] [2024/05/06 09:43:11.809 +00:00] [INFO] [ddl.go:769] ["stop DDL"] [category=ddl] [ID=216957c3-b8dc-4174-b708-a7592d371815] [2024/05/06 09:43:11.810 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayStartLoop] [2024/05/06 09:43:11.810 +00:00] [INFO] [domain.go:761] ["topologySyncerKeeper exited."] [2024/05/06 09:43:11.809 +00:00] [INFO] [domain.go:907] ["loadSchemaInLoop exited."] [2024/05/06 09:43:11.810 +00:00] [INFO] [domain.go:737] ["globalConfigSyncerKeeper exited."] [2024/05/06 09:43:11.810 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2024/05/06 09:43:11.810 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2024/05/06 09:43:11.810 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/06 09:43:11.810 +00:00] [INFO] [domain.go:711] ["infoSyncerKeeper exited."] [2024/05/06 09:43:11.810 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2024/05/06 09:43:11.810 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2024/05/06 09:43:11.810 +00:00] [INFO] [domain.go:683] ["topNSlowQueryLoop exited."] [2024/05/06 09:43:11.810 +00:00] [INFO] [domain.go:1361] ["closestReplicaReadCheckLoop exited."] [2024/05/06 09:43:11.810 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2024/05/06 09:43:11.810 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/06 09:43:11.810 +00:00] [INFO] [domain.go:1074] ["domain closed"] ["take time"=3.371983ms] [2024/05/06 09:43:11.810 +00:00] [INFO] [tidb.go:80] ["new domain"] [store=b0c13a30-89cc-4ced-ab9a-7f56bee3bfa0] ["ddl lease"=500ms] ["stats lease"=-1ns] [2024/05/06 09:43:11.816 +00:00] [WARN] [controller.go:198] ["[resource group controller] server does not save config, load config failed"] [2024/05/06 09:43:11.816 +00:00] [INFO] [controller.go:185] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":10,\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\"}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":10,\"DegradedModeWaitDuration\":0}"] [2024/05/06 09:43:11.828 +00:00] [INFO] [domain.go:315] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=51] ["start time"=11.511526ms] [2024/05/06 09:43:11.828 +00:00] [INFO] [domain.go:635] ["full load and reset schema validator"] [2024/05/06 09:43:11.828 +00:00] [INFO] [ddl.go:818] ["start DDL"] [category=ddl] [ID=cfc872cc-6dc5-4282-a391-fe662d07022c] [runWorker=true] [2024/05/06 09:43:11.828 +00:00] [INFO] [ddl.go:777] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=true] [2024/05/06 09:43:11.828 +00:00] [WARN] [env.go:51] ["initialize environment failed"] [category=ddl-ingest] ["storage limitation"="only support TiKV storage"] ["current storage"=unistore] ["lightning is initialized"=false] [2024/05/06 09:43:11.828 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2024/05/06 09:43:11.828 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=mdlCheckLoop] [2024/05/06 09:43:11.829 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2024/05/06 09:43:11.829 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2024/05/06 09:43:11.829 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/06 09:43:11.829 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayStartLoop] [2024/05/06 09:43:11.829 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/06 09:43:11.829 +00:00] [INFO] [delete_range.go:172] ["start delRange emulator"] [category=ddl] [2024/05/06 09:43:11.829 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2024/05/06 09:43:11.829 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/06 09:43:11.829 +00:00] [INFO] [runaway.go:149] ["try to start runaway manager loop"] [2024/05/06 09:43:11.829 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/06 09:43:11.829 +00:00] [WARN] [domain.go:1326] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/06 09:43:11.829 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/06 09:43:11.829 +00:00] [INFO] [job_table.go:349] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2024/05/06 09:43:11.832 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2024/05/06 09:43:11.832 +00:00] [WARN] [sysvar_cache.go:49] ["sysvar cache is empty, triggering rebuild"] [2024/05/06 09:43:11.834 +00:00] [INFO] [sysvar.go:2748] ["set resource control"] [enable=true] [2024/05/06 09:43:11.835 +00:00] [INFO] [controller.go:447] ["[resource group controller] create resource group cost controller"] [name=default] [2024/05/06 09:43:11.844 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2024/05/06 09:43:11.846 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2024/05/06 09:43:11.848 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2024/05/06 09:43:11.848 +00:00] [INFO] [domain.go:2070] ["dumpFileGcChecker started"] [2024/05/06 09:43:11.849 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=indexUsageWorker] [2024/05/06 09:43:11.849 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=quitStatsOwner] [2024/05/06 09:43:11.849 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2024/05/06 09:43:11.850 +00:00] [INFO] [manager.go:113] ["build task executor manager"] [server-id=:4000] [total-cpu=16] [total-mem=342.3GiB] [2024/05/06 09:43:11.850 +00:00] [INFO] [task_manager.go:217] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=0] [newCount=4] [2024/05/06 09:43:11.850 +00:00] [INFO] [task_manager.go:217] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=0] [newCount=4] [2024/05/06 09:43:11.852 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2024/05/06 09:43:11.853 +00:00] [INFO] [manager.go:146] ["task executor manager start"] [server-id=:4000] [2024/05/06 09:43:11.853 +00:00] [INFO] [domain.go:1525] ["dist task executor manager started"] [2024/05/06 09:43:11.853 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=1] [schemaVersion=51] [cur_db=] [sql="drop database if exists test_db_with_partition"] [user=] [2024/05/06 09:43:11.854 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=1] [schemaVersion=51] [cur_db=] [sql="create database test_db_with_partition"] [user=] [2024/05/06 09:43:11.856 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:105, Type:create schema, State:queueing, SchemaState:none, SchemaID:104, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:43:11.855 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:43:11.856 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:105, Type:create schema, State:queueing, SchemaState:none, SchemaID:104, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:43:11.855 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create database test_db_with_partition"] [2024/05/06 09:43:11.863 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=105] [conn=1] [category=ddl] [job="ID:105, Type:create schema, State:queueing, SchemaState:none, SchemaID:104, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:43:11.855 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:11.868 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=51] [neededSchemaVersion=52] ["start time"=75.454µs] [gotSchemaVersion=52] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2024/05/06 09:43:11.870 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=105] [version=52] [2024/05/06 09:43:11.870 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=52] ["take time"=2.347574ms] [job="ID:105, Type:create schema, State:done, SchemaState:public, SchemaID:104, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:43:11.855 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:11.875 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=105] [conn=1] [job="ID:105, Type:create schema, State:synced, SchemaState:public, SchemaID:104, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:43:11.855 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:11.878 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=105] [2024/05/06 09:43:11.878 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:43:11.878 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=1] [schemaVersion=52] [cur_db=test_db_with_partition] [sql="create table employees (\n\t\tid int not null,\n\t\tfname varchar(30),\n\t\tlname varchar(30),\n\t\thired date not null default '1970-01-01',\n\t\tseparated date not null default '9999-12-31',\n\t\tjob_code int,\n\t\tstore_id int\n\t)\n\tpartition by hash(store_id)\n\tpartitions 4;"] [user=] [2024/05/06 09:43:11.882 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:111, Type:create table, State:queueing, SchemaState:none, SchemaID:104, TableID:106, RowCount:0, ArgLen:2, start time: 2024-05-06 09:43:11.88 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:43:11.882 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:111, Type:create table, State:queueing, SchemaState:none, SchemaID:104, TableID:106, RowCount:0, ArgLen:2, start time: 2024-05-06 09:43:11.88 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table employees (\n\t\tid int not null,\n\t\tfname varchar(30),\n\t\tlname varchar(30),\n\t\thired date not null default '1970-01-01',\n\t\tseparated date not null default '9999-12-31',\n\t\tjob_code int,\n\t\tstore_id int\n\t)\n\tpartition by hash(store_id)\n\tpartitions 4;"] [2024/05/06 09:43:11.888 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=111] [conn=1] [category=ddl] [job="ID:111, Type:create table, State:queueing, SchemaState:none, SchemaID:104, TableID:106, RowCount:0, ArgLen:0, start time: 2024-05-06 09:43:11.88 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:11.893 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=52] [neededSchemaVersion=53] ["start time"=799.203µs] [gotSchemaVersion=53] [phyTblIDs="[106,107,108,109,110]"] [actionTypes="[3,3,3,3,3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:43:11.894 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=111] [version=53] [2024/05/06 09:43:11.897 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=53] ["take time"=4.949478ms] [job="ID:111, Type:create table, State:done, SchemaState:public, SchemaID:104, TableID:106, RowCount:0, ArgLen:2, start time: 2024-05-06 09:43:11.88 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:11.902 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=111] [conn=1] [job="ID:111, Type:create table, State:synced, SchemaState:public, SchemaID:104, TableID:106, RowCount:0, ArgLen:0, start time: 2024-05-06 09:43:11.88 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:11.905 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=111] [2024/05/06 09:43:11.905 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:43:11.906 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=1] [schemaVersion=53] [cur_db=test_db_with_partition] [sql="alter table employees add partition partitions 8"] [user=] [2024/05/06 09:43:11.908 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:124, Type:alter table reorganize partition, State:queueing, SchemaState:none, SchemaID:104, TableID:106, RowCount:0, ArgLen:2, start time: 2024-05-06 09:43:11.907 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 09:43:11.909 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:124, Type:alter table reorganize partition, State:queueing, SchemaState:none, SchemaID:104, TableID:106, RowCount:0, ArgLen:2, start time: 2024-05-06 09:43:11.907 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table employees add partition partitions 8"] [2024/05/06 09:43:11.914 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=124] [conn=1] [category=ddl] [job="ID:124, Type:alter table reorganize partition, State:queueing, SchemaState:none, SchemaID:104, TableID:106, RowCount:0, ArgLen:0, start time: 2024-05-06 09:43:11.907 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:43:11.914 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=1] ["batch count"=1] ["first batch, region ID"=2] ["first split key"=748000000000000070] [2024/05/06 09:43:11.915 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=2] ["first at"=748000000000000070] ["first new region left"="{Id:2 StartKey: EndKey:7480000000000000ff7000000000000000f8 RegionEpoch:{ConfVer:1 Version:2} Peers:[id:3 store_id:1 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=1] [2024/05/06 09:43:11.915 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=2] [2024/05/06 09:43:11.915 +00:00] [INFO] [split_region.go:199] ["batch split regions, scatter region complete"] ["batch region ID"=2] [at=748000000000000070] ["new region left"="{Id:2 StartKey: EndKey:7480000000000000ff7000000000000000f8 RegionEpoch:{ConfVer:1 Version:2} Peers:[id:3 store_id:1 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2024/05/06 09:43:11.915 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=1] ["region IDs"="[2]"] [2024/05/06 09:43:11.915 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=1] ["batch count"=1] ["first batch, region ID"=2] ["first split key"=748000000000000071] [2024/05/06 09:43:11.918 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=4] ["first at"=748000000000000071] ["first new region left"="{Id:4 StartKey:7480000000000000ff7000000000000000f8 EndKey:7480000000000000ff7100000000000000f8 RegionEpoch:{ConfVer:1 Version:2} Peers:[id:5 store_id:1 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=1] [2024/05/06 09:43:11.918 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=4] [2024/05/06 09:43:11.918 +00:00] [INFO] [split_region.go:199] ["batch split regions, scatter region complete"] ["batch region ID"=4] [at=748000000000000071] ["new region left"="{Id:4 StartKey:7480000000000000ff7000000000000000f8 EndKey:7480000000000000ff7100000000000000f8 RegionEpoch:{ConfVer:1 Version:2} Peers:[id:5 store_id:1 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2024/05/06 09:43:11.918 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=1] ["region IDs"="[4]"] [2024/05/06 09:43:11.918 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=1] ["batch count"=1] ["first batch, region ID"=4] ["first split key"=748000000000000072] [2024/05/06 09:43:11.929 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=6] ["first at"=748000000000000072] ["first new region left"="{Id:6 StartKey:7480000000000000ff7100000000000000f8 EndKey:7480000000000000ff7200000000000000f8 RegionEpoch:{ConfVer:1 Version:2} Peers:[id:7 store_id:1 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=1] [2024/05/06 09:43:11.929 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=6] [2024/05/06 09:43:11.929 +00:00] [INFO] [split_region.go:199] ["batch split regions, scatter region complete"] ["batch region ID"=6] [at=748000000000000072] ["new region left"="{Id:6 StartKey:7480000000000000ff7100000000000000f8 EndKey:7480000000000000ff7200000000000000f8 RegionEpoch:{ConfVer:1 Version:2} Peers:[id:7 store_id:1 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2024/05/06 09:43:11.929 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=1] ["region IDs"="[6]"] [2024/05/06 09:43:11.929 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=1] ["batch count"=1] ["first batch, region ID"=8] ["first split key"=748000000000000073] [2024/05/06 09:43:11.929 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=8] ["first at"=748000000000000073] ["first new region left"="{Id:8 StartKey:7480000000000000ff7200000000000000f8 EndKey:7480000000000000ff7300000000000000f8 RegionEpoch:{ConfVer:1 Version:2} Peers:[id:9 store_id:1 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=1] [2024/05/06 09:43:11.930 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=8] [2024/05/06 09:43:11.930 +00:00] [INFO] [split_region.go:199] ["batch split regions, scatter region complete"] ["batch region ID"=8] [at=748000000000000073] ["new region left"="{Id:8 StartKey:7480000000000000ff7200000000000000f8 EndKey:7480000000000000ff7300000000000000f8 RegionEpoch:{ConfVer:1 Version:2} Peers:[id:9 store_id:1 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2024/05/06 09:43:11.930 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=1] ["region IDs"="[8]"] [2024/05/06 09:43:11.930 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=1] ["batch count"=1] ["first batch, region ID"=8] ["first split key"=748000000000000074] [2024/05/06 09:43:11.940 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=10] ["first at"=748000000000000074] ["first new region left"="{Id:10 StartKey:7480000000000000ff7300000000000000f8 EndKey:7480000000000000ff7400000000000000f8 RegionEpoch:{ConfVer:1 Version:2} Peers:[id:11 store_id:1 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=1] [2024/05/06 09:43:11.940 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=10] [2024/05/06 09:43:11.940 +00:00] [INFO] [split_region.go:199] ["batch split regions, scatter region complete"] ["batch region ID"=10] [at=748000000000000074] ["new region left"="{Id:10 StartKey:7480000000000000ff7300000000000000f8 EndKey:7480000000000000ff7400000000000000f8 RegionEpoch:{ConfVer:1 Version:2} Peers:[id:11 store_id:1 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2024/05/06 09:43:11.940 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=1] ["region IDs"="[10]"] [2024/05/06 09:43:11.940 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=1] ["batch count"=1] ["first batch, region ID"=10] ["first split key"=748000000000000075] [2024/05/06 09:43:11.951 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=12] ["first at"=748000000000000075] ["first new region left"="{Id:12 StartKey:7480000000000000ff7400000000000000f8 EndKey:7480000000000000ff7500000000000000f8 RegionEpoch:{ConfVer:1 Version:2} Peers:[id:13 store_id:1 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=1] [2024/05/06 09:43:11.951 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=12] [2024/05/06 09:43:11.951 +00:00] [INFO] [split_region.go:199] ["batch split regions, scatter region complete"] ["batch region ID"=12] [at=748000000000000075] ["new region left"="{Id:12 StartKey:7480000000000000ff7400000000000000f8 EndKey:7480000000000000ff7500000000000000f8 RegionEpoch:{ConfVer:1 Version:2} Peers:[id:13 store_id:1 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2024/05/06 09:43:11.951 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=1] ["region IDs"="[12]"] [2024/05/06 09:43:11.951 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=1] ["batch count"=1] ["first batch, region ID"=12] ["first split key"=748000000000000076] [2024/05/06 09:43:11.954 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=14] ["first at"=748000000000000076] ["first new region left"="{Id:14 StartKey:7480000000000000ff7500000000000000f8 EndKey:7480000000000000ff7600000000000000f8 RegionEpoch:{ConfVer:1 Version:2} Peers:[id:15 store_id:1 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=1] [2024/05/06 09:43:11.955 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=14] [2024/05/06 09:43:11.955 +00:00] [INFO] [split_region.go:199] ["batch split regions, scatter region complete"] ["batch region ID"=14] [at=748000000000000076] ["new region left"="{Id:14 StartKey:7480000000000000ff7500000000000000f8 EndKey:7480000000000000ff7600000000000000f8 RegionEpoch:{ConfVer:1 Version:2} Peers:[id:15 store_id:1 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2024/05/06 09:43:11.955 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=1] ["region IDs"="[14]"] [2024/05/06 09:43:11.955 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=1] ["batch count"=1] ["first batch, region ID"=14] ["first split key"=748000000000000077] [2024/05/06 09:43:11.958 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=16] ["first at"=748000000000000077] ["first new region left"="{Id:16 StartKey:7480000000000000ff7600000000000000f8 EndKey:7480000000000000ff7700000000000000f8 RegionEpoch:{ConfVer:1 Version:2} Peers:[id:17 store_id:1 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=1] [2024/05/06 09:43:11.958 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=16] [2024/05/06 09:43:11.958 +00:00] [INFO] [split_region.go:199] ["batch split regions, scatter region complete"] ["batch region ID"=16] [at=748000000000000077] ["new region left"="{Id:16 StartKey:7480000000000000ff7600000000000000f8 EndKey:7480000000000000ff7700000000000000f8 RegionEpoch:{ConfVer:1 Version:2} Peers:[id:17 store_id:1 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2024/05/06 09:43:11.958 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=1] ["region IDs"="[16]"] [2024/05/06 09:43:11.958 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=1] ["batch count"=1] ["first batch, region ID"=16] ["first split key"=748000000000000078] [2024/05/06 09:43:11.961 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=18] ["first at"=748000000000000078] ["first new region left"="{Id:18 StartKey:7480000000000000ff7700000000000000f8 EndKey:7480000000000000ff7800000000000000f8 RegionEpoch:{ConfVer:1 Version:2} Peers:[id:19 store_id:1 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=1] [2024/05/06 09:43:11.961 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=18] [2024/05/06 09:43:11.961 +00:00] [INFO] [split_region.go:199] ["batch split regions, scatter region complete"] ["batch region ID"=18] [at=748000000000000078] ["new region left"="{Id:18 StartKey:7480000000000000ff7700000000000000f8 EndKey:7480000000000000ff7800000000000000f8 RegionEpoch:{ConfVer:1 Version:2} Peers:[id:19 store_id:1 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2024/05/06 09:43:11.961 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=1] ["region IDs"="[18]"] [2024/05/06 09:43:11.961 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=1] ["batch count"=1] ["first batch, region ID"=18] ["first split key"=748000000000000079] [2024/05/06 09:43:11.964 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=20] ["first at"=748000000000000079] ["first new region left"="{Id:20 StartKey:7480000000000000ff7800000000000000f8 EndKey:7480000000000000ff7900000000000000f8 RegionEpoch:{ConfVer:1 Version:2} Peers:[id:21 store_id:1 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=1] [2024/05/06 09:43:11.964 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=20] [2024/05/06 09:43:11.964 +00:00] [INFO] [split_region.go:199] ["batch split regions, scatter region complete"] ["batch region ID"=20] [at=748000000000000079] ["new region left"="{Id:20 StartKey:7480000000000000ff7800000000000000f8 EndKey:7480000000000000ff7900000000000000f8 RegionEpoch:{ConfVer:1 Version:2} Peers:[id:21 store_id:1 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2024/05/06 09:43:11.964 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=1] ["region IDs"="[20]"] [2024/05/06 09:43:11.964 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=1] ["batch count"=1] ["first batch, region ID"=20] ["first split key"=74800000000000007a] [2024/05/06 09:43:11.967 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=22] ["first at"=74800000000000007a] ["first new region left"="{Id:22 StartKey:7480000000000000ff7900000000000000f8 EndKey:7480000000000000ff7a00000000000000f8 RegionEpoch:{ConfVer:1 Version:2} Peers:[id:23 store_id:1 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=1] [2024/05/06 09:43:11.967 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=22] [2024/05/06 09:43:11.967 +00:00] [INFO] [split_region.go:199] ["batch split regions, scatter region complete"] ["batch region ID"=22] [at=74800000000000007a] ["new region left"="{Id:22 StartKey:7480000000000000ff7900000000000000f8 EndKey:7480000000000000ff7a00000000000000f8 RegionEpoch:{ConfVer:1 Version:2} Peers:[id:23 store_id:1 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2024/05/06 09:43:11.967 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=1] ["region IDs"="[22]"] [2024/05/06 09:43:11.967 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=1] ["batch count"=1] ["first batch, region ID"=22] ["first split key"=74800000000000007b] [2024/05/06 09:43:11.970 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=24] ["first at"=74800000000000007b] ["first new region left"="{Id:24 StartKey:7480000000000000ff7a00000000000000f8 EndKey:7480000000000000ff7b00000000000000f8 RegionEpoch:{ConfVer:1 Version:2} Peers:[id:25 store_id:1 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=1] [2024/05/06 09:43:11.970 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=24] [2024/05/06 09:43:11.970 +00:00] [INFO] [split_region.go:199] ["batch split regions, scatter region complete"] ["batch region ID"=24] [at=74800000000000007b] ["new region left"="{Id:24 StartKey:7480000000000000ff7a00000000000000f8 EndKey:7480000000000000ff7b00000000000000f8 RegionEpoch:{ConfVer:1 Version:2} Peers:[id:25 store_id:1 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2024/05/06 09:43:11.970 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=1] ["region IDs"="[24]"] [2024/05/06 09:43:11.970 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=2] [backoff(ms)=120000] [2024/05/06 09:43:11.970 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=2] [2024/05/06 09:43:11.970 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=4] [backoff(ms)=120000] [2024/05/06 09:43:11.970 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=4] [2024/05/06 09:43:11.970 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=6] [backoff(ms)=120000] [2024/05/06 09:43:11.970 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=6] [2024/05/06 09:43:11.970 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=8] [backoff(ms)=120000] [2024/05/06 09:43:11.970 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=8] [2024/05/06 09:43:11.970 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=10] [backoff(ms)=120000] [2024/05/06 09:43:11.970 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=10] [2024/05/06 09:43:11.970 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=12] [backoff(ms)=120000] [2024/05/06 09:43:11.970 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=12] [2024/05/06 09:43:11.970 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=14] [backoff(ms)=120000] [2024/05/06 09:43:11.970 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=14] [2024/05/06 09:43:11.970 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=16] [backoff(ms)=120000] [2024/05/06 09:43:11.970 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=16] [2024/05/06 09:43:11.970 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=18] [backoff(ms)=120000] [2024/05/06 09:43:11.970 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=18] [2024/05/06 09:43:11.970 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=20] [backoff(ms)=120000] [2024/05/06 09:43:11.970 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=20] [2024/05/06 09:43:11.970 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=22] [backoff(ms)=120000] [2024/05/06 09:43:11.970 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=22] [2024/05/06 09:43:11.970 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=24] [backoff(ms)=120000] [2024/05/06 09:43:11.970 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=24] [2024/05/06 09:43:11.973 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=53] [neededSchemaVersion=54] ["start time"=448.182µs] [gotSchemaVersion=54] [phyTblIDs="[106,107,108,109,110]"] [actionTypes="[64,64,64,64,64]"] [diffTypes="[\"alter table reorganize partition\"]"] [2024/05/06 09:43:11.975 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=124] [version=54] [2024/05/06 09:43:11.975 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=54] ["take time"=2.024474ms] [job="ID:124, Type:alter table reorganize partition, State:running, SchemaState:delete only, SchemaID:104, TableID:106, RowCount:0, ArgLen:2, start time: 2024-05-06 09:43:11.907 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:43:11.982 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=124] [conn=1] [category=ddl] [job="ID:124, Type:alter table reorganize partition, State:running, SchemaState:delete only, SchemaID:104, TableID:106, RowCount:0, ArgLen:0, start time: 2024-05-06 09:43:11.907 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:43:11.989 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=54] [neededSchemaVersion=55] ["start time"=402.04µs] [gotSchemaVersion=55] [phyTblIDs="[106,107,108,109,110]"] [actionTypes="[64,64,64,64,64]"] [diffTypes="[\"alter table reorganize partition\"]"] [2024/05/06 09:43:11.990 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=124] [version=55] [2024/05/06 09:43:11.990 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=55] ["take time"=2.241826ms] [job="ID:124, Type:alter table reorganize partition, State:running, SchemaState:write only, SchemaID:104, TableID:106, RowCount:0, ArgLen:2, start time: 2024-05-06 09:43:11.907 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:43:11.997 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=124] [conn=1] [category=ddl] [job="ID:124, Type:alter table reorganize partition, State:running, SchemaState:write only, SchemaID:104, TableID:106, RowCount:0, ArgLen:0, start time: 2024-05-06 09:43:11.907 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:43:12.000 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=55] [neededSchemaVersion=56] ["start time"=496.583µs] [gotSchemaVersion=56] [phyTblIDs="[106,107,108,109,110]"] [actionTypes="[64,64,64,64,64]"] [diffTypes="[\"alter table reorganize partition\"]"] [2024/05/06 09:43:12.002 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=124] [version=56] [2024/05/06 09:43:12.002 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=56] ["take time"=2.430024ms] [job="ID:124, Type:alter table reorganize partition, State:running, SchemaState:write reorganization, SchemaID:104, TableID:106, RowCount:0, ArgLen:2, start time: 2024-05-06 09:43:11.907 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:43:12.008 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=124] [conn=1] [category=ddl] [job="ID:124, Type:alter table reorganize partition, State:running, SchemaState:write reorganization, SchemaID:104, TableID:106, RowCount:0, ArgLen:0, start time: 2024-05-06 09:43:11.907 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:43:12.009 +00:00] [INFO] [reorg.go:642] ["get noop table range"] [category=ddl] [table="&{106 employees utf8mb4 utf8mb4_bin [0xc007412c60 0xc007412dc0 0xc007412f20 0xc007413080 0xc0074131e0 0xc007413340 0xc0074134a0] [] [] [] public false false 0 0 0 0 0 7 0 0 0 449573969460461568 0 0 0 0 0 0 0xc008fa8c00 5 false disable 3 104}"] ["table/partition ID"=107] ["start key"=] ["end key"=] ["is empty table"=true] [2024/05/06 09:43:12.009 +00:00] [INFO] [reorg.go:798] ["job get table range"] [category=ddl] ["job ID"=124] ["physical table ID"=107] ["start key"=] ["end key"=] [2024/05/06 09:43:12.011 +00:00] [INFO] [column.go:1076] ["start to update table row"] [category=ddl] [job="ID:124, Type:alter table reorganize partition, State:running, SchemaState:write reorganization, SchemaID:104, TableID:106, RowCount:0, ArgLen:2, start time: 2024-05-06 09:43:11.907 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573969463607296, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_col_,CurrElementID:1,StartKey:,EndKey:,First:true,PhysicalTableID:107,Ingest mode:false"] [2024/05/06 09:43:12.012 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=107] ["start key"=] ["end key"=] [2024/05/06 09:43:12.013 +00:00] [INFO] [backfilling.go:421] ["split table range from PD, get noop table range"] [category=ddl] [physicalTableID=107] [2024/05/06 09:43:12.013 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp reorganize partition"] [jobID=124] [2024/05/06 09:43:12.013 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp reorganize partition"] [jobID=124] [2024/05/06 09:43:12.013 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp reorganize partition"] [jobID=124] [2024/05/06 09:43:12.013 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp reorganize partition"] [jobID=124] [2024/05/06 09:43:12.013 +00:00] [INFO] [backfilling.go:632] ["backfill workers successfully processed"] [category=ddl] [element=ID:1,TypeKey:_col_] ["total added count"=0] ["start key"=] [2024/05/06 09:43:12.013 +00:00] [INFO] [reorg.go:642] ["get noop table range"] [category=ddl] [table="&{106 employees utf8mb4 utf8mb4_bin [0xc007412c60 0xc007412dc0 0xc007412f20 0xc007413080 0xc0074131e0 0xc007413340 0xc0074134a0] [] [] [] public false false 0 0 0 0 0 7 0 0 0 449573969460461568 0 0 0 0 0 0 0xc008fa8c00 5 false disable 3 104}"] ["table/partition ID"=108] ["start key"=] ["end key"=] ["is empty table"=true] [2024/05/06 09:43:12.013 +00:00] [INFO] [index.go:2351] ["job update reorgInfo"] [category=ddl] [jobID=124] [element=ID:1,TypeKey:_col_] [partitionTableID=108] [startKey=] [endKey=] [] [2024/05/06 09:43:12.014 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=108] ["start key"=] ["end key"=] [2024/05/06 09:43:12.014 +00:00] [INFO] [backfilling.go:421] ["split table range from PD, get noop table range"] [category=ddl] [physicalTableID=108] [2024/05/06 09:43:12.014 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp reorganize partition"] [jobID=124] [2024/05/06 09:43:12.014 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp reorganize partition"] [jobID=124] [2024/05/06 09:43:12.014 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp reorganize partition"] [jobID=124] [2024/05/06 09:43:12.014 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp reorganize partition"] [jobID=124] [2024/05/06 09:43:12.014 +00:00] [INFO] [backfilling.go:632] ["backfill workers successfully processed"] [category=ddl] [element=ID:1,TypeKey:_col_] ["total added count"=0] ["start key"=] [2024/05/06 09:43:12.014 +00:00] [INFO] [reorg.go:642] ["get noop table range"] [category=ddl] [table="&{106 employees utf8mb4 utf8mb4_bin [0xc007412c60 0xc007412dc0 0xc007412f20 0xc007413080 0xc0074131e0 0xc007413340 0xc0074134a0] [] [] [] public false false 0 0 0 0 0 7 0 0 0 449573969460461568 0 0 0 0 0 0 0xc008fa8c00 5 false disable 3 104}"] ["table/partition ID"=109] ["start key"=] ["end key"=] ["is empty table"=true] [2024/05/06 09:43:12.014 +00:00] [INFO] [index.go:2351] ["job update reorgInfo"] [category=ddl] [jobID=124] [element=ID:1,TypeKey:_col_] [partitionTableID=109] [startKey=] [endKey=] [] [2024/05/06 09:43:12.015 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=109] ["start key"=] ["end key"=] [2024/05/06 09:43:12.015 +00:00] [INFO] [backfilling.go:421] ["split table range from PD, get noop table range"] [category=ddl] [physicalTableID=109] [2024/05/06 09:43:12.015 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp reorganize partition"] [jobID=124] [2024/05/06 09:43:12.015 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp reorganize partition"] [jobID=124] [2024/05/06 09:43:12.015 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp reorganize partition"] [jobID=124] [2024/05/06 09:43:12.015 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp reorganize partition"] [jobID=124] [2024/05/06 09:43:12.015 +00:00] [INFO] [backfilling.go:632] ["backfill workers successfully processed"] [category=ddl] [element=ID:1,TypeKey:_col_] ["total added count"=0] ["start key"=] [2024/05/06 09:43:12.016 +00:00] [INFO] [reorg.go:642] ["get noop table range"] [category=ddl] [table="&{106 employees utf8mb4 utf8mb4_bin [0xc007412c60 0xc007412dc0 0xc007412f20 0xc007413080 0xc0074131e0 0xc007413340 0xc0074134a0] [] [] [] public false false 0 0 0 0 0 7 0 0 0 449573969460461568 0 0 0 0 0 0 0xc008fa8c00 5 false disable 3 104}"] ["table/partition ID"=110] ["start key"=] ["end key"=] ["is empty table"=true] [2024/05/06 09:43:12.016 +00:00] [INFO] [index.go:2351] ["job update reorgInfo"] [category=ddl] [jobID=124] [element=ID:1,TypeKey:_col_] [partitionTableID=110] [startKey=] [endKey=] [] [2024/05/06 09:43:12.017 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=110] ["start key"=] ["end key"=] [2024/05/06 09:43:12.017 +00:00] [INFO] [backfilling.go:421] ["split table range from PD, get noop table range"] [category=ddl] [physicalTableID=110] [2024/05/06 09:43:12.017 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp reorganize partition"] [jobID=124] [2024/05/06 09:43:12.017 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp reorganize partition"] [jobID=124] [2024/05/06 09:43:12.017 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp reorganize partition"] [jobID=124] [2024/05/06 09:43:12.017 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp reorganize partition"] [jobID=124] [2024/05/06 09:43:12.017 +00:00] [INFO] [backfilling.go:632] ["backfill workers successfully processed"] [category=ddl] [element=ID:1,TypeKey:_col_] ["total added count"=0] ["start key"=] [2024/05/06 09:43:12.017 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=0] [2024/05/06 09:43:12.019 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=56] [neededSchemaVersion=57] ["start time"=394.757µs] [gotSchemaVersion=57] [phyTblIDs="[106,112,113,114,115,116,117,118,119,120,121,122,123]"] [actionTypes="[64,64,64,64,64,64,64,64,64,64,64,64,64]"] [diffTypes="[\"alter table reorganize partition\"]"] [2024/05/06 09:43:12.020 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=124] [version=57] [2024/05/06 09:43:12.022 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=57] ["take time"=3.142106ms] [job="ID:124, Type:alter table reorganize partition, State:running, SchemaState:delete reorganization, SchemaID:104, TableID:106, RowCount:0, ArgLen:2, start time: 2024-05-06 09:43:11.907 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573969463607296, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:43:12.027 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=124] [conn=1] [category=ddl] [job="ID:124, Type:alter table reorganize partition, State:running, SchemaState:delete reorganization, SchemaID:104, TableID:106, RowCount:0, ArgLen:0, start time: 2024-05-06 09:43:11.907 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573969463607296, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:43:12.031 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=57] [neededSchemaVersion=58] ["start time"=423.786µs] [gotSchemaVersion=58] [phyTblIDs="[106,112,113,114,115,116,117,118,119,120,121,122,123]"] [actionTypes="[64,64,64,64,64,64,64,64,64,64,64,64,64]"] [diffTypes="[\"alter table reorganize partition\"]"] [2024/05/06 09:43:12.032 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=124] [version=58] [2024/05/06 09:43:12.032 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=58] ["take time"=2.21372ms] [job="ID:124, Type:alter table reorganize partition, State:done, SchemaState:none, SchemaID:104, TableID:106, RowCount:0, ArgLen:1, start time: 2024-05-06 09:43:11.907 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573969463607296, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:43:12.039 +00:00] [INFO] [delete_range.go:447] ["insert into delete-range table"] [category=ddl] [jobID=124] [tableIDs="[107,108,109,110]"] [comment="drop partition: physical table ID(s)"] [2024/05/06 09:43:12.040 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=124] [jobType="alter table reorganize partition"] [2024/05/06 09:43:12.040 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=124] [conn=1] [job="ID:124, Type:alter table reorganize partition, State:synced, SchemaState:none, SchemaID:104, TableID:106, RowCount:0, ArgLen:1, start time: 2024-05-06 09:43:11.907 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449573969463607296, LocalMode: false, UniqueWarnings:0"] [2024/05/06 09:43:12.043 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=124] [elementID=1] [startKey=74800000000000006b] [endKey=74800000000000006c] [2024/05/06 09:43:12.044 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=124] [elementID=2] [startKey=74800000000000006c] [endKey=74800000000000006d] [2024/05/06 09:43:12.046 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=124] [elementID=3] [startKey=74800000000000006d] [endKey=74800000000000006e] [2024/05/06 09:43:12.048 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=124] [elementID=4] [startKey=74800000000000006e] [endKey=74800000000000006f] [2024/05/06 09:43:12.049 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=124] [2024/05/06 09:43:12.049 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:43:12.049 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=1] [schemaVersion=58] [cur_db=test_db_with_partition] [sql="alter table employees add partition (partition pNew values less than (42))"] [user=] [2024/05/06 09:43:12.050 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 09:43:12.050 +00:00] [WARN] [session.go:2153] ["run statement failed"] [schemaVersion=58] [error="[ddl:1480]Only RANGE PARTITIONING can use VALUES LESS THAN in partition definition"] [errorVerbose="[ddl:1480]Only RANGE PARTITIONING can use VALUES LESS THAN in partition definition\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).hashPartitionManagement\n\tpkg/ddl/ddl_api.go:4932\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AddTablePartitions\n\tpkg/ddl/ddl_api.go:4440\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AlterTable\n\tpkg/ddl/ddl_api.go:3880\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeAlterTable\n\tpkg/executor/ddl.go:388\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:152\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1211\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:960\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:794\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:559\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2280\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecToErr\n\tpkg/testkit/testkit.go:436\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetDBError\n\tpkg/testkit/testkit.go:486\npkg/ddl/tests/partition/partition_test.TestPartitionErrorCode\n\tpkg/ddl/tests/partition/db_partition_test.go:2631\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test_db_with_partition\",\n \"id\": 1,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 09:43:12.050 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=1] [schemaVersion=58] [cur_db=test_db_with_partition] [sql="alter table employees add partition (partition pNew values in (42))"] [user=] [2024/05/06 09:43:12.050 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 09:43:12.050 +00:00] [WARN] [session.go:2153] ["run statement failed"] [schemaVersion=58] [error="[ddl:1480]Only LIST PARTITIONING can use VALUES IN in partition definition"] [errorVerbose="[ddl:1480]Only LIST PARTITIONING can use VALUES IN in partition definition\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).hashPartitionManagement\n\tpkg/ddl/ddl_api.go:4930\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AddTablePartitions\n\tpkg/ddl/ddl_api.go:4440\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AlterTable\n\tpkg/ddl/ddl_api.go:3880\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeAlterTable\n\tpkg/executor/ddl.go:388\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:152\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1211\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:960\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:794\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:559\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2280\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecToErr\n\tpkg/testkit/testkit.go:436\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetDBError\n\tpkg/testkit/testkit.go:486\npkg/ddl/tests/partition/partition_test.TestPartitionErrorCode\n\tpkg/ddl/tests/partition/db_partition_test.go:2632\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test_db_with_partition\",\n \"id\": 1,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 09:43:12.050 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=1] [schemaVersion=58] [cur_db=test_db_with_partition] [sql="create table clients (\n\t\tid int,\n\t\tfname varchar(30),\n\t\tlname varchar(30),\n\t\tsigned date\n\t)\n\tpartition by hash( month(signed) )\n\tpartitions 12"] [user=] [2024/05/06 09:43:12.057 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:138, Type:create table, State:queueing, SchemaState:none, SchemaID:104, TableID:125, RowCount:0, ArgLen:2, start time: 2024-05-06 09:43:12.052 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:43:12.057 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:138, Type:create table, State:queueing, SchemaState:none, SchemaID:104, TableID:125, RowCount:0, ArgLen:2, start time: 2024-05-06 09:43:12.052 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table clients (\n\t\tid int,\n\t\tfname varchar(30),\n\t\tlname varchar(30),\n\t\tsigned date\n\t)\n\tpartition by hash( month(signed) )\n\tpartitions 12"] [2024/05/06 09:43:12.062 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=138] [conn=1] [category=ddl] [job="ID:138, Type:create table, State:queueing, SchemaState:none, SchemaID:104, TableID:125, RowCount:0, ArgLen:0, start time: 2024-05-06 09:43:12.052 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:12.066 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=58] [neededSchemaVersion=59] ["start time"=613µs] [gotSchemaVersion=59] [phyTblIDs="[125,126,127,128,129,130,131,132,133,134,135,136,137]"] [actionTypes="[3,3,3,3,3,3,3,3,3,3,3,3,3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:43:12.067 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=138] [version=59] [2024/05/06 09:43:12.067 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=59] ["take time"=2.040697ms] [job="ID:138, Type:create table, State:done, SchemaState:public, SchemaID:104, TableID:125, RowCount:0, ArgLen:2, start time: 2024-05-06 09:43:12.052 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:12.071 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=138] [conn=1] [job="ID:138, Type:create table, State:synced, SchemaState:public, SchemaID:104, TableID:125, RowCount:0, ArgLen:0, start time: 2024-05-06 09:43:12.052 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:12.074 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=138] [2024/05/06 09:43:12.074 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:43:12.074 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=1] [schemaVersion=59] [cur_db=test_db_with_partition] [sql="alter table clients coalesce partition 12"] [user=] [2024/05/06 09:43:12.074 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 09:43:12.074 +00:00] [WARN] [session.go:2153] ["run statement failed"] [schemaVersion=59] [error="[ddl:1508]Cannot remove all partitions, use DROP TABLE instead"] [errorVerbose="[ddl:1508]Cannot remove all partitions, use DROP TABLE instead\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AlterTable\n\tpkg/ddl/ddl_api.go:4090\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeAlterTable\n\tpkg/executor/ddl.go:388\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:152\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1211\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:960\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:794\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:559\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2280\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecToErr\n\tpkg/testkit/testkit.go:436\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustContainErrMsg\n\tpkg/testkit/testkit.go:492\npkg/ddl/tests/partition/partition_test.TestPartitionErrorCode\n\tpkg/ddl/tests/partition/db_partition_test.go:2643\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test_db_with_partition\",\n \"id\": 1,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 09:43:12.074 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=1] [schemaVersion=59] [cur_db=test_db_with_partition] [sql="create table t_part (a int key)\n\t\tpartition by range(a) (\n\t\tpartition p0 values less than (10),\n\t\tpartition p1 values less than (20)\n\t\t);"] [user=] [2024/05/06 09:43:12.077 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:142, Type:create table, State:queueing, SchemaState:none, SchemaID:104, TableID:139, RowCount:0, ArgLen:2, start time: 2024-05-06 09:43:12.076 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:43:12.077 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:142, Type:create table, State:queueing, SchemaState:none, SchemaID:104, TableID:139, RowCount:0, ArgLen:2, start time: 2024-05-06 09:43:12.076 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table t_part (a int key)\n\t\tpartition by range(a) (\n\t\tpartition p0 values less than (10),\n\t\tpartition p1 values less than (20)\n\t\t);"] [2024/05/06 09:43:12.083 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=142] [conn=1] [category=ddl] [job="ID:142, Type:create table, State:queueing, SchemaState:none, SchemaID:104, TableID:139, RowCount:0, ArgLen:0, start time: 2024-05-06 09:43:12.076 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:12.086 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=59] [neededSchemaVersion=60] ["start time"=401.091µs] [gotSchemaVersion=60] [phyTblIDs="[139,140,141]"] [actionTypes="[3,3,3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:43:12.087 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=142] [version=60] [2024/05/06 09:43:12.088 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=60] ["take time"=2.009975ms] [job="ID:142, Type:create table, State:done, SchemaState:public, SchemaID:104, TableID:139, RowCount:0, ArgLen:2, start time: 2024-05-06 09:43:12.076 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:12.092 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=142] [conn=1] [job="ID:142, Type:create table, State:synced, SchemaState:public, SchemaID:104, TableID:139, RowCount:0, ArgLen:0, start time: 2024-05-06 09:43:12.076 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:12.094 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=142] [2024/05/06 09:43:12.094 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:43:12.095 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=1] [schemaVersion=60] [cur_db=test_db_with_partition] [sql="alter table t_part coalesce partition 4;"] [user=] [2024/05/06 09:43:12.095 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 09:43:12.095 +00:00] [WARN] [session.go:2153] ["run statement failed"] [schemaVersion=60] [error="[ddl:1509]COALESCE PARTITION can only be used on HASH/KEY partitions"] [errorVerbose="[ddl:1509]COALESCE PARTITION can only be used on HASH/KEY partitions\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CoalescePartitions\n\tpkg/ddl/ddl_api.go:4914\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AlterTable\n\tpkg/ddl/ddl_api.go:3882\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeAlterTable\n\tpkg/executor/ddl.go:388\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:152\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1211\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:960\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:794\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:559\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2280\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecToErr\n\tpkg/testkit/testkit.go:436\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetDBError\n\tpkg/testkit/testkit.go:486\npkg/ddl/tests/partition/partition_test.TestPartitionErrorCode\n\tpkg/ddl/tests/partition/db_partition_test.go:2650\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test_db_with_partition\",\n \"id\": 1,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 09:43:12.095 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=1] [schemaVersion=60] [cur_db=test_db_with_partition] [sql="alter table t_part check partition p0, p1;"] [user=] [2024/05/06 09:43:12.095 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 09:43:12.095 +00:00] [WARN] [session.go:2153] ["run statement failed"] [schemaVersion=60] [error="[ddl:8200]Unsupported check partition"] [errorVerbose="[ddl:8200]Unsupported check partition\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AlterTable\n\tpkg/ddl/ddl_api.go:3890\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeAlterTable\n\tpkg/executor/ddl.go:388\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:152\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1211\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:960\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:794\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:559\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2280\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:469\npkg/ddl/tests/partition/partition_test.TestPartitionErrorCode\n\tpkg/ddl/tests/partition/db_partition_test.go:2652\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test_db_with_partition\",\n \"id\": 1,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 09:43:12.095 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=1] [schemaVersion=60] [cur_db=test_db_with_partition] [sql="alter table t_part optimize partition p0,p1;"] [user=] [2024/05/06 09:43:12.096 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 09:43:12.096 +00:00] [WARN] [session.go:2153] ["run statement failed"] [schemaVersion=60] [error="[ddl:8200]Unsupported optimize partition"] [errorVerbose="[ddl:8200]Unsupported optimize partition\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AlterTable\n\tpkg/ddl/ddl_api.go:3894\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeAlterTable\n\tpkg/executor/ddl.go:388\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:152\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1211\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:960\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:794\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:559\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2280\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:469\npkg/ddl/tests/partition/partition_test.TestPartitionErrorCode\n\tpkg/ddl/tests/partition/db_partition_test.go:2653\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test_db_with_partition\",\n \"id\": 1,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 09:43:12.096 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=1] [schemaVersion=60] [cur_db=test_db_with_partition] [sql="alter table t_part rebuild partition p0,p1;"] [user=] [2024/05/06 09:43:12.096 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 09:43:12.096 +00:00] [WARN] [session.go:2153] ["run statement failed"] [schemaVersion=60] [error="[ddl:8200]Unsupported rebuild partition"] [errorVerbose="[ddl:8200]Unsupported rebuild partition\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AlterTable\n\tpkg/ddl/ddl_api.go:3892\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeAlterTable\n\tpkg/executor/ddl.go:388\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:152\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1211\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:960\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:794\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:559\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2280\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:469\npkg/ddl/tests/partition/partition_test.TestPartitionErrorCode\n\tpkg/ddl/tests/partition/db_partition_test.go:2654\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test_db_with_partition\",\n \"id\": 1,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 09:43:12.096 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=1] [schemaVersion=60] [cur_db=test_db_with_partition] [sql="alter table t_part repair partition p1;"] [user=] [2024/05/06 09:43:12.096 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 09:43:12.096 +00:00] [WARN] [session.go:2153] ["run statement failed"] [schemaVersion=60] [error="[ddl:8200]Unsupported repair partition"] [errorVerbose="[ddl:8200]Unsupported repair partition\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AlterTable\n\tpkg/ddl/ddl_api.go:3898\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeAlterTable\n\tpkg/executor/ddl.go:388\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:152\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1211\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:960\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:794\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:559\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2280\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:469\npkg/ddl/tests/partition/partition_test.TestPartitionErrorCode\n\tpkg/ddl/tests/partition/db_partition_test.go:2655\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test_db_with_partition\",\n \"id\": 1,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 09:43:12.099 +00:00] [INFO] [ddl.go:1406] ["switch metadata lock feature"] [category=ddl] [enable=false] [2024/05/06 09:43:12.103 +00:00] [INFO] [set.go:170] ["set global var"] [conn=2] [name=tidb_enable_metadata_lock] [val=0] [2024/05/06 09:43:12.103 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=60] [cur_db=test] [sql="drop table if exists t;"] [user=] [2024/05/06 09:43:12.103 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=60] [cur_db=test] [sql="create table t(id int primary key)\n\t\tpartition by hash(id) partitions 4;"] [user=] [2024/05/06 09:43:12.124 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:148, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:143, RowCount:0, ArgLen:2, start time: 2024-05-06 09:43:12.105 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:43:12.124 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:148, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:143, RowCount:0, ArgLen:2, start time: 2024-05-06 09:43:12.105 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table t(id int primary key)\n\t\tpartition by hash(id) partitions 4;"] [2024/05/06 09:43:12.154 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=148] [conn=2] [category=ddl] [job="ID:148, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:143, RowCount:0, ArgLen:0, start time: 2024-05-06 09:43:12.105 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:12.158 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=60] [neededSchemaVersion=61] ["start time"=612.3µs] [gotSchemaVersion=61] [phyTblIDs="[143,144,145,146,147]"] [actionTypes="[3,3,3,3,3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:43:12.160 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=61] ["take time"=3.063502ms] [job="ID:148, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:143, RowCount:0, ArgLen:2, start time: 2024-05-06 09:43:12.105 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:12.168 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=61] ["take time"=2.683073ms] [job="ID:148, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:143, RowCount:0, ArgLen:0, start time: 2024-05-06 09:43:12.105 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:12.168 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=148] [conn=2] [job="ID:148, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:143, RowCount:0, ArgLen:0, start time: 2024-05-06 09:43:12.105 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:12.173 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=148] [2024/05/06 09:43:12.174 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:43:12.178 +00:00] [INFO] [set.go:170] ["set global var"] [conn=3] [name=tidb_schema_cache_size] [val=1024] [2024/05/06 09:43:12.179 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=61] [cur_db=test] [sql="alter table t truncate partition p0;"] [user=] [2024/05/06 09:43:12.181 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:150, Type:truncate partition, State:queueing, SchemaState:public, SchemaID:2, TableID:143, RowCount:0, ArgLen:2, start time: 2024-05-06 09:43:12.18 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:43:12.181 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:150, Type:truncate partition, State:queueing, SchemaState:public, SchemaID:2, TableID:143, RowCount:0, ArgLen:2, start time: 2024-05-06 09:43:12.18 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t truncate partition p0;"] [2024/05/06 09:43:12.189 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=150] [conn=3] [category=ddl] [job="ID:150, Type:truncate partition, State:queueing, SchemaState:public, SchemaID:2, TableID:143, RowCount:0, ArgLen:0, start time: 2024-05-06 09:43:12.18 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:12.191 +00:00] [ERROR] [domain.go:291] ["failed to load schema diff"] [error="builder's (v2=true) infoschema mismatch, return error to trigger full reload"] [errorVerbose="builder's (v2=true) infoschema mismatch, return error to trigger full reload\ngithub.com/pingcap/tidb/pkg/infoschema.(*Builder).InitWithOldInfoSchema\n\tpkg/infoschema/builder.go:798\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).tryLoadSchemaDiffs\n\tpkg/domain/domain.go:459\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:276\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:606\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:919\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1287\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:99\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [stack="github.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:291\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:606\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:919\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1287\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:99"] [2024/05/06 09:43:12.213 +00:00] [INFO] [domain.go:315] ["full load InfoSchema success"] [currentSchemaVersion=61] [neededSchemaVersion=62] ["start time"=21.913782ms] [2024/05/06 09:43:12.218 +00:00] [INFO] [domain.go:635] ["full load and reset schema validator"] [2024/05/06 09:43:12.218 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=62] ["take time"=27.001147ms] [job="ID:150, Type:truncate partition, State:done, SchemaState:none, SchemaID:2, TableID:143, RowCount:0, ArgLen:1, start time: 2024-05-06 09:43:12.18 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:12.224 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=62] ["take time"=2.366679ms] [job="ID:150, Type:truncate partition, State:done, SchemaState:none, SchemaID:2, TableID:143, RowCount:0, ArgLen:0, start time: 2024-05-06 09:43:12.18 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:12.224 +00:00] [INFO] [delete_range.go:447] ["insert into delete-range table"] [category=ddl] [jobID=150] [tableIDs="[144]"] [comment="drop partition: physical table ID(s)"] [2024/05/06 09:43:12.226 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=150] [jobType="truncate partition"] [2024/05/06 09:43:12.227 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=150] [conn=3] [job="ID:150, Type:truncate partition, State:synced, SchemaState:none, SchemaID:2, TableID:143, RowCount:0, ArgLen:1, start time: 2024-05-06 09:43:12.18 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:43:12.229 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=150] [elementID=1] [startKey=748000000000000090] [endKey=748000000000000091] [2024/05/06 09:43:12.230 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=150] [2024/05/06 09:43:12.230 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:43:12.231 +00:00] [INFO] [schema_validator.go:187] ["the schema version is much older than the latest version"] [currVer=61] [latestSchemaVer=62] [deltas="[{},{}]"] [2024/05/06 09:43:12.231 +00:00] [WARN] [session.go:813] ["can not retry txn"] [label=general] [error="[domain:8028]Information schema is changed during the execution of the statement(for example, table definition may be updated by other DDL ran in parallel). If you see this error often, try increasing `tidb_max_delta_schema_count`. [try again later]"] [errorVerbose="[domain:8028]Information schema is changed during the execution of the statement(for example, table definition may be updated by other DDL ran in parallel). If you see this error often, try increasing `tidb_max_delta_schema_count`. [try again later]\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).checkSchemaValid\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1871\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).execute\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1694\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*KVTxn).Commit\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/txn.go:714\ngithub.com/pingcap/tidb/pkg/store/driver/txn.(*tikvTxn).Commit\n\tpkg/store/driver/txn/txn_driver.go:113\ngithub.com/pingcap/tidb/pkg/session.(*LazyTxn).Commit\n\tpkg/session/txn.go:441\ngithub.com/pingcap/tidb/pkg/session.(*session).commitTxnWithTemporaryData\n\tpkg/session/session.go:665\ngithub.com/pingcap/tidb/pkg/session.(*session).doCommit\n\tpkg/session/session.go:545\ngithub.com/pingcap/tidb/pkg/session.(*session).doCommitWithRetry\n\tpkg/session/session.go:787\ngithub.com/pingcap/tidb/pkg/session.(*session).CommitTxn\n\tpkg/session/session.go:917\ngithub.com/pingcap/tidb/pkg/session.autoCommitAfterStmt\n\tpkg/session/tidb.go:281\ngithub.com/pingcap/tidb/pkg/session.finishStmt\n\tpkg/session/tidb.go:243\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2311\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExecWithContext\n\tpkg/testkit/testkit.go:162\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExec\n\tpkg/testkit/testkit.go:157\npkg/ddl/tests/partition/partition_test.TestPartitionErrorCode\n\tpkg/ddl/tests/partition/db_partition_test.go:2670\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/store/driver/error.ToTiDBErr\n\tpkg/store/driver/error/error.go:200\ngithub.com/pingcap/tidb/pkg/store/driver/txn.extractKeyErr\n\tpkg/store/driver/txn/error.go:164\ngithub.com/pingcap/tidb/pkg/store/driver/txn.(*tikvTxn).extractKeyErr\n\tpkg/store/driver/txn/txn_driver.go:340\ngithub.com/pingcap/tidb/pkg/store/driver/txn.(*tikvTxn).Commit\n\tpkg/store/driver/txn/txn_driver.go:114\ngithub.com/pingcap/tidb/pkg/session.(*LazyTxn).Commit\n\tpkg/session/txn.go:441\ngithub.com/pingcap/tidb/pkg/session.(*session).commitTxnWithTemporaryData\n\tpkg/session/session.go:665\ngithub.com/pingcap/tidb/pkg/session.(*session).doCommit\n\tpkg/session/session.go:545\ngithub.com/pingcap/tidb/pkg/session.(*session).doCommitWithRetry\n\tpkg/session/session.go:787\ngithub.com/pingcap/tidb/pkg/session.(*session).CommitTxn\n\tpkg/session/session.go:917\ngithub.com/pingcap/tidb/pkg/session.autoCommitAfterStmt\n\tpkg/session/tidb.go:281\ngithub.com/pingcap/tidb/pkg/session.finishStmt\n\tpkg/session/tidb.go:243\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2311\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExecWithContext\n\tpkg/testkit/testkit.go:162\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExec\n\tpkg/testkit/testkit.go:157\npkg/ddl/tests/partition/partition_test.TestPartitionErrorCode\n\tpkg/ddl/tests/partition/db_partition_test.go:2670\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [IsBatchInsert=false] [IsPessimistic=true] [InRestrictedSQL=false] [tidb_retry_limit=10] [tidb_disable_txn_auto_retry=true] [2024/05/06 09:43:12.231 +00:00] [WARN] [session.go:829] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[domain:8028]Information schema is changed during the execution of the statement(for example, table definition may be updated by other DDL ran in parallel). If you see this error often, try increasing `tidb_max_delta_schema_count`. [try again later]"] [errorVerbose="[domain:8028]Information schema is changed during the execution of the statement(for example, table definition may be updated by other DDL ran in parallel). If you see this error often, try increasing `tidb_max_delta_schema_count`. [try again later]\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).checkSchemaValid\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1871\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).execute\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1694\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*KVTxn).Commit\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/txn.go:714\ngithub.com/pingcap/tidb/pkg/store/driver/txn.(*tikvTxn).Commit\n\tpkg/store/driver/txn/txn_driver.go:113\ngithub.com/pingcap/tidb/pkg/session.(*LazyTxn).Commit\n\tpkg/session/txn.go:441\ngithub.com/pingcap/tidb/pkg/session.(*session).commitTxnWithTemporaryData\n\tpkg/session/session.go:665\ngithub.com/pingcap/tidb/pkg/session.(*session).doCommit\n\tpkg/session/session.go:545\ngithub.com/pingcap/tidb/pkg/session.(*session).doCommitWithRetry\n\tpkg/session/session.go:787\ngithub.com/pingcap/tidb/pkg/session.(*session).CommitTxn\n\tpkg/session/session.go:917\ngithub.com/pingcap/tidb/pkg/session.autoCommitAfterStmt\n\tpkg/session/tidb.go:281\ngithub.com/pingcap/tidb/pkg/session.finishStmt\n\tpkg/session/tidb.go:243\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2311\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExecWithContext\n\tpkg/testkit/testkit.go:162\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExec\n\tpkg/testkit/testkit.go:157\npkg/ddl/tests/partition/partition_test.TestPartitionErrorCode\n\tpkg/ddl/tests/partition/db_partition_test.go:2670\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/store/driver/error.ToTiDBErr\n\tpkg/store/driver/error/error.go:200\ngithub.com/pingcap/tidb/pkg/store/driver/txn.extractKeyErr\n\tpkg/store/driver/txn/error.go:164\ngithub.com/pingcap/tidb/pkg/store/driver/txn.(*tikvTxn).extractKeyErr\n\tpkg/store/driver/txn/txn_driver.go:340\ngithub.com/pingcap/tidb/pkg/store/driver/txn.(*tikvTxn).Commit\n\tpkg/store/driver/txn/txn_driver.go:114\ngithub.com/pingcap/tidb/pkg/session.(*LazyTxn).Commit\n\tpkg/session/txn.go:441\ngithub.com/pingcap/tidb/pkg/session.(*session).commitTxnWithTemporaryData\n\tpkg/session/session.go:665\ngithub.com/pingcap/tidb/pkg/session.(*session).doCommit\n\tpkg/session/session.go:545\ngithub.com/pingcap/tidb/pkg/session.(*session).doCommitWithRetry\n\tpkg/session/session.go:787\ngithub.com/pingcap/tidb/pkg/session.(*session).CommitTxn\n\tpkg/session/session.go:917\ngithub.com/pingcap/tidb/pkg/session.autoCommitAfterStmt\n\tpkg/session/tidb.go:281\ngithub.com/pingcap/tidb/pkg/session.finishStmt\n\tpkg/session/tidb.go:243\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2311\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExecWithContext\n\tpkg/testkit/testkit.go:162\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExec\n\tpkg/testkit/testkit.go:157\npkg/ddl/tests/partition/partition_test.TestPartitionErrorCode\n\tpkg/ddl/tests/partition/db_partition_test.go:2670\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [2024/05/06 09:43:12.231 +00:00] [WARN] [session.go:2153] ["run statement failed"] [schemaVersion=61] [error="previous statement: insert into t values(1);: [domain:8028]Information schema is changed during the execution of the statement(for example, table definition may be updated by other DDL ran in parallel). If you see this error often, try increasing `tidb_max_delta_schema_count`. [try again later]"] [errorVerbose="[domain:8028]Information schema is changed during the execution of the statement(for example, table definition may be updated by other DDL ran in parallel). If you see this error often, try increasing `tidb_max_delta_schema_count`. [try again later]\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).checkSchemaValid\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1871\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).execute\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1694\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*KVTxn).Commit\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/txn.go:714\ngithub.com/pingcap/tidb/pkg/store/driver/txn.(*tikvTxn).Commit\n\tpkg/store/driver/txn/txn_driver.go:113\ngithub.com/pingcap/tidb/pkg/session.(*LazyTxn).Commit\n\tpkg/session/txn.go:441\ngithub.com/pingcap/tidb/pkg/session.(*session).commitTxnWithTemporaryData\n\tpkg/session/session.go:665\ngithub.com/pingcap/tidb/pkg/session.(*session).doCommit\n\tpkg/session/session.go:545\ngithub.com/pingcap/tidb/pkg/session.(*session).doCommitWithRetry\n\tpkg/session/session.go:787\ngithub.com/pingcap/tidb/pkg/session.(*session).CommitTxn\n\tpkg/session/session.go:917\ngithub.com/pingcap/tidb/pkg/session.autoCommitAfterStmt\n\tpkg/session/tidb.go:281\ngithub.com/pingcap/tidb/pkg/session.finishStmt\n\tpkg/session/tidb.go:243\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2311\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExecWithContext\n\tpkg/testkit/testkit.go:162\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExec\n\tpkg/testkit/testkit.go:157\npkg/ddl/tests/partition/partition_test.TestPartitionErrorCode\n\tpkg/ddl/tests/partition/db_partition_test.go:2670\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/store/driver/error.ToTiDBErr\n\tpkg/store/driver/error/error.go:200\ngithub.com/pingcap/tidb/pkg/store/driver/txn.extractKeyErr\n\tpkg/store/driver/txn/error.go:164\ngithub.com/pingcap/tidb/pkg/store/driver/txn.(*tikvTxn).extractKeyErr\n\tpkg/store/driver/txn/txn_driver.go:340\ngithub.com/pingcap/tidb/pkg/store/driver/txn.(*tikvTxn).Commit\n\tpkg/store/driver/txn/txn_driver.go:114\ngithub.com/pingcap/tidb/pkg/session.(*LazyTxn).Commit\n\tpkg/session/txn.go:441\ngithub.com/pingcap/tidb/pkg/session.(*session).commitTxnWithTemporaryData\n\tpkg/session/session.go:665\ngithub.com/pingcap/tidb/pkg/session.(*session).doCommit\n\tpkg/session/session.go:545\ngithub.com/pingcap/tidb/pkg/session.(*session).doCommitWithRetry\n\tpkg/session/session.go:787\ngithub.com/pingcap/tidb/pkg/session.(*session).CommitTxn\n\tpkg/session/session.go:917\ngithub.com/pingcap/tidb/pkg/session.autoCommitAfterStmt\n\tpkg/session/tidb.go:281\ngithub.com/pingcap/tidb/pkg/session.finishStmt\n\tpkg/session/tidb.go:243\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2311\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExecWithContext\n\tpkg/testkit/testkit.go:162\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExec\n\tpkg/testkit/testkit.go:157\npkg/ddl/tests/partition/partition_test.TestPartitionErrorCode\n\tpkg/ddl/tests/partition/db_partition_test.go:2670\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650\nprevious statement: insert into t values(1);"] [session="{\n \"currDBName\": \"test\",\n \"id\": 2,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] testkit.go:164: Error Trace: pkg/testkit/testkit.go:164 pkg/testkit/testkit.go:157 pkg/ddl/tests/partition/db_partition_test.go:2670 Error: Received unexpected error: [domain:8028]Information schema is changed during the execution of the statement(for example, table definition may be updated by other DDL ran in parallel). If you see this error often, try increasing `tidb_max_delta_schema_count`. [try again later] github.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).checkSchemaValid external/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1871 github.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).execute external/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1694 github.com/tikv/client-go/v2/txnkv/transaction.(*KVTxn).Commit external/com_github_tikv_client_go_v2/txnkv/transaction/txn.go:714 github.com/pingcap/tidb/pkg/store/driver/txn.(*tikvTxn).Commit pkg/store/driver/txn/txn_driver.go:113 github.com/pingcap/tidb/pkg/session.(*LazyTxn).Commit pkg/session/txn.go:441 github.com/pingcap/tidb/pkg/session.(*session).commitTxnWithTemporaryData pkg/session/session.go:665 github.com/pingcap/tidb/pkg/session.(*session).doCommit pkg/session/session.go:545 github.com/pingcap/tidb/pkg/session.(*session).doCommitWithRetry pkg/session/session.go:787 github.com/pingcap/tidb/pkg/session.(*session).CommitTxn pkg/session/session.go:917 github.com/pingcap/tidb/pkg/session.autoCommitAfterStmt pkg/session/tidb.go:281 github.com/pingcap/tidb/pkg/session.finishStmt pkg/session/tidb.go:243 github.com/pingcap/tidb/pkg/session.runStmt pkg/session/session.go:2311 github.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt pkg/session/session.go:2141 github.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext pkg/testkit/testkit.go:390 github.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExecWithContext pkg/testkit/testkit.go:162 github.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExec pkg/testkit/testkit.go:157 pkg/ddl/tests/partition/partition_test.TestPartitionErrorCode pkg/ddl/tests/partition/db_partition_test.go:2670 testing.tRunner GOROOT/src/testing/testing.go:1595 runtime.goexit src/runtime/asm_amd64.s:1650 github.com/pingcap/errors.AddStack external/com_github_pingcap_errors/errors.go:178 github.com/pingcap/errors.Trace external/com_github_pingcap_errors/juju_adaptor.go:15 github.com/pingcap/tidb/pkg/store/driver/error.ToTiDBErr pkg/store/driver/error/error.go:200 github.com/pingcap/tidb/pkg/store/driver/txn.extractKeyErr pkg/store/driver/txn/error.go:164 github.com/pingcap/tidb/pkg/store/driver/txn.(*tikvTxn).extractKeyErr pkg/store/driver/txn/txn_driver.go:340 github.com/pingcap/tidb/pkg/store/driver/txn.(*tikvTxn).Commit pkg/store/driver/txn/txn_driver.go:114 github.com/pingcap/tidb/pkg/session.(*LazyTxn).Commit pkg/session/txn.go:441 github.com/pingcap/tidb/pkg/session.(*session).commitTxnWithTemporaryData pkg/session/session.go:665 github.com/pingcap/tidb/pkg/session.(*session).doCommit pkg/session/session.go:545 github.com/pingcap/tidb/pkg/session.(*session).doCommitWithRetry pkg/session/session.go:787 github.com/pingcap/tidb/pkg/session.(*session).CommitTxn pkg/session/session.go:917 github.com/pingcap/tidb/pkg/session.autoCommitAfterStmt pkg/session/tidb.go:281 github.com/pingcap/tidb/pkg/session.finishStmt pkg/session/tidb.go:243 github.com/pingcap/tidb/pkg/session.runStmt pkg/session/session.go:2311 github.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt pkg/session/session.go:2141 github.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext pkg/testkit/testkit.go:390 github.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExecWithContext pkg/testkit/testkit.go:162 github.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExec pkg/testkit/testkit.go:157 pkg/ddl/tests/partition/partition_test.TestPartitionErrorCode pkg/ddl/tests/partition/db_partition_test.go:2670 testing.tRunner GOROOT/src/testing/testing.go:1595 runtime.goexit src/runtime/asm_amd64.s:1650 previous statement: insert into t values(1); Test: TestPartitionErrorCode Messages: sql:commit, [], error stack [domain:8028]Information schema is changed during the execution of the statement(for example, table definition may be updated by other DDL ran in parallel). If you see this error often, try increasing `tidb_max_delta_schema_count`. [try again later] github.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).checkSchemaValid external/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1871 github.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).execute external/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1694 github.com/tikv/client-go/v2/txnkv/transaction.(*KVTxn).Commit external/com_github_tikv_client_go_v2/txnkv/transaction/txn.go:714 github.com/pingcap/tidb/pkg/store/driver/txn.(*tikvTxn).Commit pkg/store/driver/txn/txn_driver.go:113 github.com/pingcap/tidb/pkg/session.(*LazyTxn).Commit pkg/session/txn.go:441 github.com/pingcap/tidb/pkg/session.(*session).commitTxnWithTemporaryData pkg/session/session.go:665 github.com/pingcap/tidb/pkg/session.(*session).doCommit pkg/session/session.go:545 github.com/pingcap/tidb/pkg/session.(*session).doCommitWithRetry pkg/session/session.go:787 github.com/pingcap/tidb/pkg/session.(*session).CommitTxn pkg/session/session.go:917 github.com/pingcap/tidb/pkg/session.autoCommitAfterStmt pkg/session/tidb.go:281 github.com/pingcap/tidb/pkg/session.finishStmt pkg/session/tidb.go:243 github.com/pingcap/tidb/pkg/session.runStmt pkg/session/session.go:2311 github.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt pkg/session/session.go:2141 github.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext pkg/testkit/testkit.go:390 github.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExecWithContext pkg/testkit/testkit.go:162 github.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExec pkg/testkit/testkit.go:157 pkg/ddl/tests/partition/partition_test.TestPartitionErrorCode pkg/ddl/tests/partition/db_partition_test.go:2670 testing.tRunner GOROOT/src/testing/testing.go:1595 runtime.goexit src/runtime/asm_amd64.s:1650 github.com/pingcap/errors.AddStack external/com_github_pingcap_errors/errors.go:178 github.com/pingcap/errors.Trace external/com_github_pingcap_errors/juju_adaptor.go:15 github.com/pingcap/tidb/pkg/store/driver/error.ToTiDBErr pkg/store/driver/error/error.go:200 github.com/pingcap/tidb/pkg/store/driver/txn.extractKeyErr pkg/store/driver/txn/error.go:164 github.com/pingcap/tidb/pkg/store/driver/txn.(*tikvTxn).extractKeyErr pkg/store/driver/txn/txn_driver.go:340 github.com/pingcap/tidb/pkg/store/driver/txn.(*tikvTxn).Commit pkg/store/driver/txn/txn_driver.go:114 github.com/pingcap/tidb/pkg/session.(*LazyTxn).Commit pkg/session/txn.go:441 github.com/pingcap/tidb/pkg/session.(*session).commitTxnWithTemporaryData pkg/session/session.go:665 github.com/pingcap/tidb/pkg/session.(*session).doCommit pkg/session/session.go:545 github.com/pingcap/tidb/pkg/session.(*session).doCommitWithRetry pkg/session/session.go:787 github.com/pingcap/tidb/pkg/session.(*session).CommitTxn pkg/session/session.go:917 github.com/pingcap/tidb/pkg/session.autoCommitAfterStmt pkg/session/tidb.go:281 github.com/pingcap/tidb/pkg/session.finishStmt pkg/session/tidb.go:243 github.com/pingcap/tidb/pkg/session.runStmt pkg/session/session.go:2311 github.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt pkg/session/session.go:2141 github.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext pkg/testkit/testkit.go:390 github.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExecWithContext pkg/testkit/testkit.go:162 github.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExec pkg/testkit/testkit.go:157 pkg/ddl/tests/partition/partition_test.TestPartitionErrorCode pkg/ddl/tests/partition/db_partition_test.go:2670 testing.tRunner GOROOT/src/testing/testing.go:1595 runtime.goexit src/runtime/asm_amd64.s:1650 previous statement: insert into t values(1); [2024/05/06 09:43:12.236 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=cfc872cc-6dc5-4282-a391-fe662d07022c] [ownerKey=/tidb/ddl/fg/owner] [2024/05/06 09:43:12.236 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/06 09:43:12.236 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 10, tp add index"] [category=ddl] ["take time"=2.022µs] [2024/05/06 09:43:12.236 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 8, tp add index"] [category=ddl] ["take time"=1.32µs] [2024/05/06 09:43:12.236 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 7, tp add index"] [category=ddl] ["take time"=1.311µs] [2024/05/06 09:43:12.236 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 9, tp add index"] [category=ddl] ["take time"=1.053µs] [2024/05/06 09:43:12.236 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/06 09:43:12.236 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 6, tp general"] [category=ddl] ["take time"=1.679µs] [2024/05/06 09:43:12.236 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/06 09:43:12.236 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2024/05/06 09:43:12.236 +00:00] [INFO] [session_pool.go:99] ["closing session pool"] [category=ddl] [2024/05/06 09:43:12.237 +00:00] [INFO] [ddl.go:951] ["DDL closed"] [category=ddl] [ID=cfc872cc-6dc5-4282-a391-fe662d07022c] ["take time"=5.011573ms] [2024/05/06 09:43:12.237 +00:00] [INFO] [ddl.go:769] ["stop DDL"] [category=ddl] [ID=cfc872cc-6dc5-4282-a391-fe662d07022c] [2024/05/06 09:43:12.237 +00:00] [INFO] [domain.go:1026] ["stopping ttlJobManager"] [2024/05/06 09:43:12.237 +00:00] [INFO] [task_manager.go:194] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=4] [newCount=0] [2024/05/06 09:43:12.237 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/06 09:43:12.237 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/06 09:43:12.237 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/06 09:43:12.237 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/06 09:43:12.237 +00:00] [INFO] [task_manager.go:194] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=4] [newCount=0] [2024/05/06 09:43:12.237 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/06 09:43:12.237 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/06 09:43:12.237 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/06 09:43:12.237 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/06 09:43:12.238 +00:00] [INFO] [job_manager.go:174] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [2024/05/06 09:43:12.238 +00:00] [INFO] [domain.go:1037] ["ttlJobManager exited."] [2024/05/06 09:43:12.238 +00:00] [INFO] [manager.go:280] ["recoverMetaLoop done"] [server-id=:4000] [2024/05/06 09:43:12.238 +00:00] [INFO] [stats_syncload.go:202] ["SubLoadWorker exited."] [2024/05/06 09:43:12.238 +00:00] [INFO] [stats_syncload.go:202] ["SubLoadWorker exited."] [2024/05/06 09:43:12.238 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=cfc872cc-6dc5-4282-a391-fe662d07022c] [ownerKey=/tidb/stats/owner] [2024/05/06 09:43:12.238 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=quitStatsOwner] [2024/05/06 09:43:12.238 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2024/05/06 09:43:12.238 +00:00] [INFO] [domain.go:2352] ["indexUsageWorker exited."] [2024/05/06 09:43:12.238 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=indexUsageWorker] [2024/05/06 09:43:12.238 +00:00] [INFO] [domain.go:907] ["loadSchemaInLoop exited."] [2024/05/06 09:43:12.238 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2024/05/06 09:43:12.238 +00:00] [INFO] [domain.go:1527] ["stopping dist task executor manager"] [2024/05/06 09:43:12.238 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2024/05/06 09:43:12.238 +00:00] [INFO] [domain.go:2074] ["dumpFileGcChecker exited."] [2024/05/06 09:43:12.238 +00:00] [INFO] [stats_syncload.go:202] ["SubLoadWorker exited."] [2024/05/06 09:43:12.238 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2024/05/06 09:43:12.238 +00:00] [INFO] [stats_syncload.go:202] ["SubLoadWorker exited."] [2024/05/06 09:43:12.238 +00:00] [INFO] [stats_syncload.go:202] ["SubLoadWorker exited."] [2024/05/06 09:43:12.238 +00:00] [INFO] [domain.go:1750] ["LoadSysVarCacheLoop exited."] [2024/05/06 09:43:12.238 +00:00] [INFO] [domain.go:711] ["infoSyncerKeeper exited."] [2024/05/06 09:43:12.238 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2024/05/06 09:43:12.238 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2024/05/06 09:43:12.238 +00:00] [INFO] [domain.go:683] ["topNSlowQueryLoop exited."] [2024/05/06 09:43:12.238 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2024/05/06 09:43:12.238 +00:00] [INFO] [domain.go:1700] ["loadPrivilegeInLoop exited."] [2024/05/06 09:43:12.238 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2024/05/06 09:43:12.238 +00:00] [INFO] [domain.go:1361] ["closestReplicaReadCheckLoop exited."] [2024/05/06 09:43:12.238 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/06 09:43:12.238 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=cfc872cc-6dc5-4282-a391-fe662d07022c] [ownerKey=/tidb/bindinfo/owner] [2024/05/06 09:43:12.238 +00:00] [INFO] [domain.go:1889] ["globalBindHandleWorkerLoop exited."] [2024/05/06 09:43:12.238 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2024/05/06 09:43:12.238 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayStartLoop] [2024/05/06 09:43:12.238 +00:00] [INFO] [domain.go:737] ["globalConfigSyncerKeeper exited."] [2024/05/06 09:43:12.238 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/06 09:43:12.238 +00:00] [INFO] [manager.go:179] ["handle tasks loop done"] [server-id=:4000] [2024/05/06 09:43:12.238 +00:00] [INFO] [domain.go:761] ["topologySyncerKeeper exited."] [2024/05/06 09:43:12.238 +00:00] [INFO] [domain.go:1529] ["dist task executor manager stopped"] [2024/05/06 09:43:12.238 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2024/05/06 09:43:12.238 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2024/05/06 09:43:12.239 +00:00] [INFO] [domain.go:1074] ["domain closed"] ["take time"=6.592828ms] [2024/05/06 09:43:12.240 +00:00] [INFO] [db.go:567] ["Closing database"] [2024/05/06 09:43:12.240 +00:00] [INFO] [db.go:592] ["Memtable flushed"] [2024/05/06 09:43:12.240 +00:00] [INFO] [db.go:596] ["Compaction finished"] [2024/05/06 09:43:12.240 +00:00] [INFO] [db.go:615] ["BlobManager finished"] [2024/05/06 09:43:12.240 +00:00] [INFO] [db.go:619] ["ResourceManager finished"] [2024/05/06 09:43:12.240 +00:00] [INFO] [db.go:625] ["Waiting for closer"] --- FAIL: TestPartitionErrorCode (2.16s) FAIL coverage: 10.5% of statements -- Coverage runner: Not collecting coverage for failed test. The following commands failed with status 1 /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/sandbox/linux-sandbox/12693/execroot/__main__/bazel-out/k8-fastbuild/bin/pkg/ddl/tests/partition/partition_test_/partition_test.runfiles/__main__/pkg/ddl/tests/partition/partition_test_/partition_test ================================================================================ [13,713 / 14,083] 357 / 411 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 18 of 33); 66s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,721 / 14,135] 357 / 411 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 18 of 33); 67s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,732 / 14,150] 357 / 411 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 18 of 33); 69s remote-cache, linux-sandbox ... (70 actions running) [13,740 / 14,152] 358 / 411 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 18 of 33); 70s remote-cache, linux-sandbox ... (68 actions, 66 running) [13,747 / 14,152] 359 / 411 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 18 of 33); 71s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,758 / 14,152] 361 / 411 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 18 of 33); 72s remote-cache, linux-sandbox ... (68 actions, 66 running) [13,764 / 14,160] 362 / 411 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 18 of 33); 73s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,778 / 14,160] 363 / 411 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 18 of 33); 74s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,784 / 14,160] 363 / 411 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 18 of 33); 75s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,795 / 14,173] 363 / 411 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 18 of 33); 77s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,804 / 14,173] 363 / 411 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 18 of 33); 78s remote-cache, linux-sandbox ... (70 actions running) [13,808 / 14,173] 363 / 411 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 18 of 33); 79s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,814 / 14,173] 364 / 411 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 18 of 33); 81s remote-cache, linux-sandbox ... (70 actions running) [13,826 / 14,173] 364 / 411 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 18 of 33); 82s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,835 / 14,195] 364 / 411 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 18 of 33); 83s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,841 / 14,197] 365 / 411 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 18 of 33); 84s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,848 / 14,207] 365 / 411 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 18 of 33); 86s remote-cache, linux-sandbox ... (70 actions running) [13,850 / 14,207] 365 / 411 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 18 of 33); 87s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,878 / 14,213] 367 / 411 tests; Testing //pkg/ddl/tests/tiflash:tiflash_test (shard 27 of 32); 21s remote-cache, linux-sandbox ... (69 actions running) [13,881 / 14,213] 368 / 411 tests; Testing //pkg/ddl/tests/tiflash:tiflash_test (shard 27 of 32); 22s remote-cache, linux-sandbox ... (70 actions running) [13,882 / 14,213] 369 / 411 tests; Testing //pkg/ddl/tests/tiflash:tiflash_test (shard 27 of 32); 23s remote-cache, linux-sandbox ... (70 actions running) [13,886 / 14,213] 369 / 411 tests; Testing //pkg/ddl/tests/tiflash:tiflash_test (shard 27 of 32); 24s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,904 / 14,220] 369 / 411 tests; Testing //pkg/ddl/tests/tiflash:tiflash_test (shard 27 of 32); 25s remote-cache, linux-sandbox ... (68 actions, 66 running) [13,916 / 14,220] 370 / 411 tests; Testing //pkg/ddl/tests/tiflash:tiflash_test (shard 27 of 32); 27s remote-cache, linux-sandbox ... (70 actions running) [13,919 / 14,220] 370 / 411 tests; Testing //pkg/extension/enterprise/audit:audit_test (shard 18 of 21); 14s remote-cache, linux-sandbox ... (70 actions running) [13,923 / 14,220] 370 / 411 tests; Testing //pkg/extension/enterprise/audit:audit_test (shard 18 of 21); 16s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,925 / 14,220] 370 / 411 tests; Testing //pkg/extension/enterprise/audit:audit_test (shard 18 of 21); 17s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,937 / 14,220] 370 / 411 tests; Testing //pkg/extension/enterprise/audit:audit_test (shard 18 of 21); 18s remote-cache, linux-sandbox ... (70 actions running) [13,953 / 14,228] 370 / 411 tests; Testing //pkg/extension/enterprise/audit:audit_test (shard 18 of 21); 20s remote-cache, linux-sandbox ... (70 actions running) [13,954 / 14,228] 370 / 411 tests; Testing //pkg/extension/enterprise/audit:audit_test (shard 18 of 21); 21s remote-cache, linux-sandbox ... (70 actions running) [13,958 / 14,234] 370 / 411 tests; Testing //pkg/extension/enterprise/audit:audit_test (shard 18 of 21); 23s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,972 / 14,234] 371 / 411 tests; Testing //pkg/extension/enterprise/audit:audit_test (shard 18 of 21); 24s remote-cache, linux-sandbox ... (68 actions, 66 running) [13,986 / 14,234] 373 / 411 tests; Testing //pkg/extension/enterprise/audit:audit_test (shard 18 of 21); 25s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,995 / 14,247] 373 / 411 tests; Testing //pkg/extension/enterprise/audit:audit_test (shard 18 of 21); 26s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,003 / 14,247] 373 / 411 tests; Testing //pkg/extension/enterprise/audit:audit_test (shard 18 of 21); 27s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,009 / 14,247] 374 / 411 tests; Testing //pkg/extension/enterprise/audit:audit_test (shard 18 of 21); 28s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,021 / 14,247] 374 / 411 tests; Testing //pkg/extension/enterprise/audit:audit_test (shard 18 of 21); 29s remote-cache, linux-sandbox ... (69 actions running) [14,034 / 14,247] 374 / 411 tests; Testing //pkg/extension/enterprise/audit:audit_test (shard 18 of 21); 30s remote-cache, linux-sandbox ... (70 actions running) [14,039 / 14,247] 375 / 411 tests; Testing //pkg/extension/enterprise/audit:audit_test (shard 18 of 21); 32s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,046 / 14,247] 376 / 411 tests; Testing //pkg/extension/enterprise/audit:audit_test (shard 18 of 21); 33s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,049 / 14,247] 376 / 411 tests; Testing //pkg/extension/enterprise/audit:audit_test (shard 18 of 21); 34s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,070 / 14,247] 377 / 411 tests; Testing //pkg/extension/enterprise/audit:audit_test (shard 18 of 21); 35s remote-cache, linux-sandbox ... (70 actions running) [14,083 / 14,249] 377 / 411 tests; Testing //pkg/server:server_test (shard 21 of 50); 24s remote-cache, linux-sandbox ... (70 actions running) [14,101 / 14,278] 377 / 411 tests; Testing //pkg/server:server_test (shard 21 of 50); 25s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,106 / 14,290] 378 / 411 tests; Testing //pkg/server:server_test (shard 21 of 50); 26s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,114 / 14,292] 379 / 411 tests; Testing //pkg/server:server_test (shard 21 of 50); 27s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,116 / 14,292] 379 / 411 tests; Testing //pkg/server:server_test (shard 21 of 50); 28s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,137 / 14,292] 382 / 411 tests; Testing //pkg/ddl/tests/partition:partition_test (shard 28 of 45); 23s remote-cache, linux-sandbox ... (67 actions, 66 running) [14,146 / 14,292] 385 / 411 tests; Testing //pkg/ddl/tests/partition:partition_test (shard 28 of 45); 24s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,152 / 14,292] 385 / 411 tests; Testing //pkg/ddl/tests/partition:partition_test (shard 28 of 45); 25s remote-cache, linux-sandbox ... (70 actions running) [14,154 / 14,292] 385 / 411 tests; Testing //pkg/ddl/tests/partition:partition_test (shard 28 of 45); 26s remote-cache, linux-sandbox ... (70 actions running) [14,160 / 14,296] 385 / 411 tests; Testing //pkg/ddl/tests/partition:partition_test (shard 28 of 45); 27s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,176 / 14,305] 386 / 411 tests; Testing //pkg/ddl/tests/partition:partition_test (shard 28 of 45); 28s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,179 / 14,313] 386 / 411 tests; Testing //pkg/ddl/tests/partition:partition_test (shard 28 of 45); 30s remote-cache, linux-sandbox ... (68 actions, 66 running) [14,179 / 14,313] 386 / 411 tests; Testing //pkg/ddl/tests/partition:partition_test (shard 28 of 45); 31s remote-cache, linux-sandbox ... (68 actions, 66 running) [14,180 / 14,340] 386 / 411 tests; Testing //pkg/ddl/tests/partition:partition_test (shard 28 of 45); 33s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,205 / 14,392] 387 / 411 tests; Testing //pkg/extension/enterprise/audit:audit_test (shard 17 of 21); 17s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,209 / 14,394] 387 / 411 tests; Testing //pkg/extension/enterprise/audit:audit_test (shard 17 of 21); 18s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,220 / 14,448] 387 / 411 tests; Testing //pkg/extension/enterprise/audit:audit_test (shard 17 of 21); 19s remote-cache, linux-sandbox ... (70 actions running) [14,225 / 14,457] 387 / 411 tests; Testing //pkg/extension/enterprise/audit:audit_test (shard 17 of 21); 21s remote-cache, linux-sandbox ... (70 actions running) [14,240 / 14,457] 388 / 411 tests; Testing //pkg/session/bootstraptest:bootstraptest_test (shard 11 of 11); 20s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,243 / 14,457] 388 / 411 tests; Testing //pkg/session/bootstraptest:bootstraptest_test (shard 11 of 11); 21s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,257 / 14,457] 390 / 411 tests; Testing //pkg/session/bootstraptest:bootstraptest_test (shard 11 of 11); 23s remote-cache, linux-sandbox ... (70 actions running) [14,261 / 14,457] 390 / 411 tests; Testing //pkg/planner/core/casetest/enforcempp:enforcempp_test (shard 2 of 12); 4s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,270 / 14,457] 391 / 411 tests; Testing //pkg/planner/core/tests/prepare:prepare_test (shard 2 of 24); 5s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,276 / 14,457] 391 / 411 tests; Testing //pkg/extension/enterprise/audit:audit_test (shard 16 of 21); 6s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,284 / 14,457] 391 / 411 tests; Testing //pkg/extension/enterprise/audit:audit_test (shard 16 of 21); 7s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,289 / 14,457] 391 / 411 tests; Testing //pkg/extension/enterprise/audit:audit_test (shard 16 of 21); 8s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,301 / 14,457] 392 / 411 tests; Testing //pkg/extension/enterprise/audit:audit_test (shard 16 of 21); 9s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,305 / 14,457] 392 / 411 tests; Testing //pkg/extension/enterprise/audit:audit_test (shard 16 of 21); 10s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,311 / 14,457] 393 / 411 tests; Testing //pkg/extension/enterprise/audit:audit_test (shard 16 of 21); 11s remote-cache, linux-sandbox ... (70 actions running) [14,317 / 14,457] 393 / 411 tests; Testing //pkg/extension/enterprise/audit:audit_test (shard 16 of 21); 12s remote-cache, linux-sandbox ... (70 actions running) [14,329 / 14,457] 394 / 411 tests; Testing //pkg/extension/enterprise/audit:audit_test (shard 16 of 21); 13s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,330 / 14,457] 394 / 411 tests; Testing //pkg/extension/enterprise/audit:audit_test (shard 16 of 21); 14s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,345 / 14,457] 395 / 411 tests; Testing //pkg/extension/enterprise/audit:audit_test (shard 16 of 21); 16s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,347 / 14,457] 395 / 411 tests; Testing //pkg/extension/enterprise/audit:audit_test (shard 16 of 21); 17s remote-cache, linux-sandbox ... (70 actions running) [14,359 / 14,457] 396 / 411 tests; Testing //pkg/extension/enterprise/audit:audit_test (shard 16 of 21); 18s remote-cache, linux-sandbox ... (70 actions running) [14,361 / 14,457] 396 / 411 tests; Testing //pkg/extension/enterprise/audit:audit_test (shard 16 of 21); 19s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,370 / 14,457] 396 / 411 tests; Testing //pkg/extension/enterprise/audit:audit_test (shard 16 of 21); 20s remote-cache, linux-sandbox ... (68 actions, 66 running) [14,381 / 14,457] 398 / 411 tests; Testing //pkg/extension/enterprise/audit:audit_test (shard 16 of 21); 21s remote-cache, linux-sandbox ... (69 actions, 68 running) FLAKY: //pkg/ddl/tests/partition:partition_test (Summary) /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/tests/partition/partition_test/shard_32_of_45/test_attempts/attempt_1.log [14,390 / 14,459] 399 / 411 tests; Testing //pkg/extension/enterprise/audit:audit_test (shard 16 of 21); 23s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,397 / 14,459] 400 / 411 tests; Testing //pkg/extension/enterprise/audit:audit_test (shard 16 of 21); 24s remote-cache, linux-sandbox ... (70 actions running) [14,399 / 14,459] 400 / 411 tests; Testing //pkg/extension/enterprise/audit:audit_test (shard 16 of 21); 25s remote-cache, linux-sandbox ... (70 actions running) [14,406 / 14,459] 400 / 411 tests; Testing //pkg/extension/enterprise/audit:audit_test (shard 16 of 21); 27s remote-cache, linux-sandbox ... (67 actions, 66 running) [14,424 / 14,459] 402 / 411 tests; Testing //pkg/extension/enterprise/audit:audit_test (shard 16 of 21); 28s remote-cache, linux-sandbox ... (70 actions running) [14,432 / 14,459] 404 / 411 tests; Testing //pkg/extension/enterprise/audit:audit_test (shard 16 of 21); 29s remote-cache, linux-sandbox ... (54 actions running) [14,434 / 14,459] 404 / 411 tests; Testing //pkg/extension/enterprise/audit:audit_test (shard 16 of 21); 31s remote-cache, linux-sandbox ... (50 actions running) [14,439 / 14,459] 405 / 411 tests; Testing //pkg/extension/enterprise/audit:audit_test (shard 16 of 21); 32s remote-cache, linux-sandbox ... (40 actions running) [14,455 / 14,471] 406 / 411 tests; Testing //pkg/server/handler/tests:tests_test (shard 5 of 39); 26s remote-cache, linux-sandbox ... (9 actions, 8 running) [14,456 / 14,471] 406 / 411 tests; Testing //pkg/server/handler/tests:tests_test (shard 5 of 39); 27s remote-cache, linux-sandbox ... (30 actions running) [14,457 / 14,471] 407 / 411 tests; Testing //pkg/server/handler/tests:tests_test (shard 5 of 39); 29s remote-cache, linux-sandbox ... (28 actions running) [14,459 / 14,522] 407 / 411 tests; Testing //pkg/server/handler/tests:tests_test (shard 5 of 39); 31s remote-cache, linux-sandbox ... (70 actions running) [14,471 / 14,522] 409 / 411 tests; Testing //pkg/server/handler/tests:tests_test (shard 5 of 39); 33s remote-cache, linux-sandbox ... (70 actions running) [14,471 / 14,522] 409 / 411 tests; Testing //pkg/server/handler/tests:tests_test (shard 5 of 39); 35s remote-cache, linux-sandbox ... (70 actions running) [14,498 / 14,522] 409 / 411 tests; Testing //pkg/server/handler/tests:tests_test (shard 5 of 39); 36s remote-cache, linux-sandbox ... (48 actions running) FAIL: //pkg/server/tests/commontest:commontest_test (shard 43 of 50) (see /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/server/tests/commontest/commontest_test/shard_43_of_50/test_attempts/attempt_1.log) [14,502 / 14,522] 409 / 411 tests; Testing //pkg/server/handler/tests:tests_test (shard 5 of 39); 38s remote-cache, linux-sandbox ... (40 actions running) [14,503 / 14,522] 409 / 411 tests; Testing //pkg/server/handler/tests:tests_test (shard 5 of 39); 39s remote-cache, linux-sandbox ... (38 actions running) [14,517 / 14,522] 409 / 411 tests; Testing //pkg/server/handler/tests:tests_test (shard 5 of 39); 41s remote-cache, linux-sandbox ... (10 actions running) [14,517 / 14,522] 409 / 411 tests; Testing //pkg/server/handler/tests:tests_test (shard 5 of 39); 42s remote-cache, linux-sandbox ... (10 actions running) INFO: From Testing //pkg/server/tests/commontest:commontest_test (shard 43 of 50): ==================== Test output for //pkg/server/tests/commontest:commontest_test (shard 43 of 50): === RUN TestTiDBIdleTransactionTimeout [2024/05/06 09:45:17.139 +00:00] [INFO] [store_cache.go:510] ["change store resolve state"] [store=1] [addr=store1] [from=unresolved] [to=resolved] [liveness-state=reachable] [2024/05/06 09:45:17.139 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 09:45:17.139 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 09:45:17.140 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 09:45:17.140 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 09:45:17.140 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 09:45:17.141 +00:00] [INFO] [tidb.go:80] ["new domain"] [store=7619f7f9-79fe-4a31-8fea-03cc254617e0] ["ddl lease"=0s] ["stats lease"=-1ns] [2024/05/06 09:45:17.150 +00:00] [WARN] [controller.go:198] ["[resource group controller] server does not save config, load config failed"] [2024/05/06 09:45:17.150 +00:00] [INFO] [controller.go:185] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":10,\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\"}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":10,\"DegradedModeWaitDuration\":0}"] [2024/05/06 09:45:17.150 +00:00] [WARN] [domain.go:245] ["failed to get schema version"] [error="There is no Write MVCC info for the schema version"] [errorVerbose="There is no Write MVCC info for the schema version\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:335\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:242\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:606\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init\n\tpkg/domain/domain.go:1260\ngithub.com/pingcap/tidb/pkg/session.(*domainMap).Get.func1\n\tpkg/session/tidb.go:92\ngithub.com/pingcap/tidb/pkg/util.RunWithRetry\n\tpkg/util/misc.go:70\ngithub.com/pingcap/tidb/pkg/session.(*domainMap).Get\n\tpkg/session/tidb.go:79\ngithub.com/pingcap/tidb/pkg/session.createSessionWithOpt\n\tpkg/session/session.go:3620\ngithub.com/pingcap/tidb/pkg/session.createSession\n\tpkg/session/session.go:3612\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3562\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3346\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3312\ngithub.com/pingcap/tidb/pkg/server/tests/servertestkit.CreateTidbTestSuiteWithCfg\n\tpkg/server/tests/servertestkit/testkit.go:69\ngithub.com/pingcap/tidb/pkg/server/tests/servertestkit.CreateTidbTestSuite\n\tpkg/server/tests/servertestkit/testkit.go:57\ngithub.com/pingcap/tidb/pkg/server/tests/servertestkit.CreateTidbTestTopSQLSuite\n\tpkg/server/tests/servertestkit/testkit.go:109\npkg/server/tests/commontest/commontest_test.TestTiDBIdleTransactionTimeout\n\tpkg/server/tests/commontest/tidb_test.go:2544\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=0] [2024/05/06 09:45:17.153 +00:00] [INFO] [domain.go:315] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=0] ["start time"=2.48549ms] [2024/05/06 09:45:17.153 +00:00] [INFO] [domain.go:635] ["full load and reset schema validator"] [2024/05/06 09:45:17.153 +00:00] [INFO] [ddl.go:818] ["start DDL"] [category=ddl] [ID=46fc23c7-4aec-4b6f-b54b-f01c225b4b7d] [runWorker=true] [2024/05/06 09:45:17.153 +00:00] [INFO] [ddl.go:777] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=true] [2024/05/06 09:45:17.154 +00:00] [WARN] [env.go:51] ["initialize environment failed"] [category=ddl-ingest] ["storage limitation"="only support TiKV storage"] ["current storage"=unistore] ["lightning is initialized"=false] [2024/05/06 09:45:17.154 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=mdlCheckLoop] [2024/05/06 09:45:17.154 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2024/05/06 09:45:17.154 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2024/05/06 09:45:17.154 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/06 09:45:17.154 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayStartLoop] [2024/05/06 09:45:17.154 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/06 09:45:17.154 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2024/05/06 09:45:17.154 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/06 09:45:17.154 +00:00] [INFO] [delete_range.go:172] ["start delRange emulator"] [category=ddl] [2024/05/06 09:45:17.154 +00:00] [WARN] [domain.go:1326] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/06 09:45:17.154 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/06 09:45:17.154 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/06 09:45:17.154 +00:00] [INFO] [job_table.go:349] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2024/05/06 09:45:17.154 +00:00] [INFO] [runaway.go:149] ["try to start runaway manager loop"] [2024/05/06 09:45:17.155 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=0] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS test"] [user=] [2024/05/06 09:45:17.158 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:45:17.157 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:45:17.158 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:45:17.157 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE DATABASE IF NOT EXISTS test"] [2024/05/06 09:45:17.163 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=3] [category=ddl] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:45:17.157 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:45:17.171 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=3] [job="ID:3, Type:create schema, State:synced, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:45:17.157 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:45:17.172 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=3] [2024/05/06 09:45:17.173 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:45:17.176 +00:00] [INFO] [domain.go:315] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=1] ["start time"=3.075999ms] [2024/05/06 09:45:17.176 +00:00] [INFO] [domain.go:635] ["full load and reset schema validator"] [2024/05/06 09:45:17.176 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS `mysql`"] [user=] [2024/05/06 09:45:17.177 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.user (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tauthentication_string\tTEXT,\n\t\tplugin\t\t\t\t\tCHAR(64),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tProcess_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_db_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tSuper_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_user_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_slave_priv\t \tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_client_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_role_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_role_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAccount_locked\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShutdown_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReload_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tFILE_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tConfig_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_reuse_history smallint unsigned DEFAULT NULL,\n\t\tPassword_reuse_time smallint unsigned DEFAULT NULL,\n\t\tUser_attributes\t\t\tjson,\n\t\tToken_issuer\t\t\tVARCHAR(255),\n\t\tPassword_expired\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_last_changed\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP(),\n\t\tPassword_lifetime\t\tSMALLINT UNSIGNED DEFAULT NULL,\n\t\tPRIMARY KEY (Host, User));"] [user=] [2024/05/06 09:45:17.182 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-06 09:45:17.178 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:45:17.182 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-06 09:45:17.178 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.user (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tauthentication_string\tTEXT,\n\t\tplugin\t\t\t\t\tCHAR(64),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tProcess_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_db_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tSuper_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_user_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_slave_priv\t \tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_client_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_role_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_role_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAccount_locked\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShutdown_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReload_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tFILE_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tConfig_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_reuse_history smallint unsigned DEFAULT NULL,\n\t\tPassword_reuse_time smallint unsigned DEFAULT NULL,\n\t\tUser_attributes\t\t\tjson,\n\t\tToken_issuer\t\t\tVARCHAR(255),\n\t\tPassword_expired\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_last_changed\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP(),\n\t\tPassword_lifetime\t\tSMALLINT UNSIGNED DEFAULT NULL,\n\t\tPRIMARY KEY (Host, User));"] [2024/05/06 09:45:17.188 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=5] [category=ddl] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2024-05-06 09:45:17.178 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:45:17.200 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=5] [job="ID:5, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2024-05-06 09:45:17.178 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:45:17.207 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=5] [2024/05/06 09:45:17.207 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:45:17.208 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=1] [neededSchemaVersion=2] ["start time"=670.784µs] [gotSchemaVersion=2] [phyTblIDs="[4]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:45:17.208 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=2] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.password_history (\n Host char(255) NOT NULL DEFAULT '',\n User char(32) NOT NULL DEFAULT '',\n Password_timestamp timestamp(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n Password text,\n PRIMARY KEY (Host,User,Password_timestamp )\n ) COMMENT='Password history for user accounts' "] [user=] [2024/05/06 09:45:17.211 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-06 09:45:17.209 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:45:17.211 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-06 09:45:17.209 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.password_history (\n Host char(255) NOT NULL DEFAULT '',\n User char(32) NOT NULL DEFAULT '',\n Password_timestamp timestamp(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n Password text,\n PRIMARY KEY (Host,User,Password_timestamp )\n ) COMMENT='Password history for user accounts' "] [2024/05/06 09:45:17.216 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=7] [category=ddl] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2024-05-06 09:45:17.209 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:45:17.223 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=7] [job="ID:7, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2024-05-06 09:45:17.209 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:45:17.225 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=7] [2024/05/06 09:45:17.225 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:45:17.225 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=2] [neededSchemaVersion=3] ["start time"=210.276µs] [gotSchemaVersion=3] [phyTblIDs="[6]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:45:17.226 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=3] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.global_priv (Host CHAR(255) NOT NULL DEFAULT '',User CHAR(80) NOT NULL DEFAULT '',Priv LONGTEXT NOT NULL DEFAULT '',PRIMARY KEY (Host, User))"] [user=] [2024/05/06 09:45:17.228 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-06 09:45:17.227 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:45:17.228 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-06 09:45:17.227 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.global_priv (Host CHAR(255) NOT NULL DEFAULT '',User CHAR(80) NOT NULL DEFAULT '',Priv LONGTEXT NOT NULL DEFAULT '',PRIMARY KEY (Host, User))"] [2024/05/06 09:45:17.233 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=9] [category=ddl] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2024-05-06 09:45:17.227 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:45:17.239 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=9] [job="ID:9, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2024-05-06 09:45:17.227 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:45:17.242 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=9] [2024/05/06 09:45:17.242 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:45:17.243 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=3] [neededSchemaVersion=4] ["start time"=156.432µs] [gotSchemaVersion=4] [phyTblIDs="[8]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:45:17.243 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=4] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.db (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tDB\t\t\t\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv \t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (Host, DB, User));"] [user=] [2024/05/06 09:45:17.247 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-06 09:45:17.244 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:45:17.247 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-06 09:45:17.244 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.db (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tDB\t\t\t\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv \t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (Host, DB, User));"] [2024/05/06 09:45:17.254 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=11] [category=ddl] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2024-05-06 09:45:17.244 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:45:17.263 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=11] [job="ID:11, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2024-05-06 09:45:17.244 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:45:17.267 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=11] [2024/05/06 09:45:17.267 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:45:17.268 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=4] [neededSchemaVersion=5] ["start time"=578.107µs] [gotSchemaVersion=5] [phyTblIDs="[10]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:45:17.268 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=5] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tables_priv (\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tGrantor\t\tCHAR(77),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tTable_priv\tSET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'),\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name));"] [user=] [2024/05/06 09:45:17.271 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-06 09:45:17.269 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:45:17.271 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-06 09:45:17.269 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tables_priv (\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tGrantor\t\tCHAR(77),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tTable_priv\tSET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'),\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name));"] [2024/05/06 09:45:17.277 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=13] [category=ddl] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2024-05-06 09:45:17.269 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:45:17.284 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=13] [job="ID:13, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2024-05-06 09:45:17.269 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:45:17.287 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=13] [2024/05/06 09:45:17.287 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:45:17.287 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=5] [neededSchemaVersion=6] ["start time"=233.985µs] [gotSchemaVersion=6] [phyTblIDs="[12]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:45:17.287 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=6] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.columns_priv(\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tColumn_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name, Column_name));"] [user=] [2024/05/06 09:45:17.290 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-06 09:45:17.289 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:45:17.290 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-06 09:45:17.289 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.columns_priv(\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tColumn_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name, Column_name));"] [2024/05/06 09:45:17.294 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=15] [category=ddl] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2024-05-06 09:45:17.289 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:45:17.300 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=15] [job="ID:15, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2024-05-06 09:45:17.289 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:45:17.303 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=15] [2024/05/06 09:45:17.303 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:45:17.303 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=7] ["start time"=241.116µs] [gotSchemaVersion=7] [phyTblIDs="[14]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:45:17.303 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=7] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.GLOBAL_VARIABLES(\n\t\tVARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE VARCHAR(16383) DEFAULT NULL);"] [user=] [2024/05/06 09:45:17.305 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-06 09:45:17.304 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:45:17.305 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-06 09:45:17.304 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.GLOBAL_VARIABLES(\n\t\tVARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE VARCHAR(16383) DEFAULT NULL);"] [2024/05/06 09:45:17.311 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=17] [category=ddl] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2024-05-06 09:45:17.304 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:45:17.317 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=17] [job="ID:17, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2024-05-06 09:45:17.304 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:45:17.319 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=17] [2024/05/06 09:45:17.319 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:45:17.320 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=7] [neededSchemaVersion=8] ["start time"=192.454µs] [gotSchemaVersion=8] [phyTblIDs="[16]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:45:17.320 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=8] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb(\n\t\tVARIABLE_NAME \tVARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE \tVARCHAR(1024) DEFAULT NULL,\n\t\tCOMMENT \t\tVARCHAR(1024));"] [user=] [2024/05/06 09:45:17.323 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-06 09:45:17.321 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:45:17.323 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-06 09:45:17.321 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb(\n\t\tVARIABLE_NAME \tVARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE \tVARCHAR(1024) DEFAULT NULL,\n\t\tCOMMENT \t\tVARCHAR(1024));"] [2024/05/06 09:45:17.327 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=19] [category=ddl] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2024-05-06 09:45:17.321 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:45:17.335 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=19] [job="ID:19, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2024-05-06 09:45:17.321 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:45:17.337 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=19] [2024/05/06 09:45:17.337 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:45:17.337 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=8] [neededSchemaVersion=9] ["start time"=184.982µs] [gotSchemaVersion=9] [phyTblIDs="[18]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:45:17.338 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=9] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.help_topic (\n \t\thelp_topic_id \t\tINT(10) UNSIGNED NOT NULL,\n \t\tname \t\t\t\tCHAR(64) NOT NULL,\n \t\thelp_category_id \tSMALLINT(5) UNSIGNED NOT NULL,\n \t\tdescription \t\tTEXT NOT NULL,\n \t\texample \t\t\tTEXT NOT NULL,\n \t\turl \t\t\t\tTEXT NOT NULL,\n \t\tPRIMARY KEY (help_topic_id) clustered,\n \t\tUNIQUE KEY name (name)\n\t\t) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] [user=] [2024/05/06 09:45:17.340 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-06 09:45:17.339 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:45:17.340 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-06 09:45:17.339 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.help_topic (\n \t\thelp_topic_id \t\tINT(10) UNSIGNED NOT NULL,\n \t\tname \t\t\t\tCHAR(64) NOT NULL,\n \t\thelp_category_id \tSMALLINT(5) UNSIGNED NOT NULL,\n \t\tdescription \t\tTEXT NOT NULL,\n \t\texample \t\t\tTEXT NOT NULL,\n \t\turl \t\t\t\tTEXT NOT NULL,\n \t\tPRIMARY KEY (help_topic_id) clustered,\n \t\tUNIQUE KEY name (name)\n\t\t) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] [2024/05/06 09:45:17.345 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=21] [category=ddl] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2024-05-06 09:45:17.339 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:45:17.351 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=21] [job="ID:21, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2024-05-06 09:45:17.339 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:45:17.354 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=21] [2024/05/06 09:45:17.354 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:45:17.354 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=9] [neededSchemaVersion=10] ["start time"=248.75µs] [gotSchemaVersion=10] [phyTblIDs="[20]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:45:17.354 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=10] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_meta (\n\t\tversion \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\ttable_id \t\tBIGINT(64) NOT NULL,\n\t\tmodify_count\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcount \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tsnapshot BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tINDEX idx_ver(version),\n\t\tUNIQUE INDEX tbl(table_id)\n\t);"] [user=] [2024/05/06 09:45:17.356 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-06 09:45:17.355 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:45:17.356 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-06 09:45:17.355 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_meta (\n\t\tversion \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\ttable_id \t\tBIGINT(64) NOT NULL,\n\t\tmodify_count\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcount \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tsnapshot BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tINDEX idx_ver(version),\n\t\tUNIQUE INDEX tbl(table_id)\n\t);"] [2024/05/06 09:45:17.362 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=23] [category=ddl] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2024-05-06 09:45:17.355 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:45:17.369 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=23] [job="ID:23, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2024-05-06 09:45:17.355 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:45:17.371 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=23] [2024/05/06 09:45:17.371 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:45:17.372 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=10] [neededSchemaVersion=11] ["start time"=229.869µs] [gotSchemaVersion=11] [phyTblIDs="[22]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:45:17.372 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=11] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_histograms (\n\t\ttable_id \t\t\tBIGINT(64) NOT NULL,\n\t\tis_index \t\t\tTINYINT(2) NOT NULL,\n\t\thist_id \t\t\tBIGINT(64) NOT NULL,\n\t\tdistinct_count \t\tBIGINT(64) NOT NULL,\n\t\tnull_count \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\ttot_col_size \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tmodify_count \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tversion \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tcm_sketch \t\t\tBLOB(6291456),\n\t\tstats_ver \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tflag \t\t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcorrelation \t\tDOUBLE NOT NULL DEFAULT 0,\n\t\tlast_analyze_pos \tLONGBLOB DEFAULT NULL,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] [2024/05/06 09:45:17.372 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(6291456) to MEDIUMBLOB"] [category=ddl] [2024/05/06 09:45:17.375 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-06 09:45:17.373 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:45:17.375 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-06 09:45:17.373 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_histograms (\n\t\ttable_id \t\t\tBIGINT(64) NOT NULL,\n\t\tis_index \t\t\tTINYINT(2) NOT NULL,\n\t\thist_id \t\t\tBIGINT(64) NOT NULL,\n\t\tdistinct_count \t\tBIGINT(64) NOT NULL,\n\t\tnull_count \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\ttot_col_size \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tmodify_count \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tversion \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tcm_sketch \t\t\tBLOB(6291456),\n\t\tstats_ver \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tflag \t\t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcorrelation \t\tDOUBLE NOT NULL DEFAULT 0,\n\t\tlast_analyze_pos \tLONGBLOB DEFAULT NULL,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id)\n\t);"] [2024/05/06 09:45:17.379 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=25] [category=ddl] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2024-05-06 09:45:17.373 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:45:17.387 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=25] [job="ID:25, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2024-05-06 09:45:17.373 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:45:17.390 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=25] [2024/05/06 09:45:17.390 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:45:17.390 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=11] [neededSchemaVersion=12] ["start time"=371.571µs] [gotSchemaVersion=12] [phyTblIDs="[24]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:45:17.390 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=12] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_buckets (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tbucket_id \tBIGINT(64) NOT NULL,\n\t\tcount \t\tBIGINT(64) NOT NULL,\n\t\trepeats \tBIGINT(64) NOT NULL,\n\t\tupper_bound LONGBLOB NOT NULL,\n\t\tlower_bound LONGBLOB ,\n\t\tndv BIGINT NOT NULL DEFAULT 0,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id)\n\t);"] [user=] [2024/05/06 09:45:17.393 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-06 09:45:17.391 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:45:17.393 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-06 09:45:17.391 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_buckets (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tbucket_id \tBIGINT(64) NOT NULL,\n\t\tcount \t\tBIGINT(64) NOT NULL,\n\t\trepeats \tBIGINT(64) NOT NULL,\n\t\tupper_bound LONGBLOB NOT NULL,\n\t\tlower_bound LONGBLOB ,\n\t\tndv BIGINT NOT NULL DEFAULT 0,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id)\n\t);"] [2024/05/06 09:45:17.398 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=27] [category=ddl] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2024-05-06 09:45:17.391 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:45:17.405 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=27] [job="ID:27, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2024-05-06 09:45:17.391 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:45:17.407 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=27] [2024/05/06 09:45:17.407 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:45:17.408 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=12] [neededSchemaVersion=13] ["start time"=213.247µs] [gotSchemaVersion=13] [phyTblIDs="[26]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:45:17.408 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=13] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_index (job_id, element_id)\n\t);"] [user=] [2024/05/06 09:45:17.410 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-06 09:45:17.409 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:45:17.410 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-06 09:45:17.409 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_index (job_id, element_id)\n\t);"] [2024/05/06 09:45:17.418 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=29] [category=ddl] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2024-05-06 09:45:17.409 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:45:17.424 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=29] [job="ID:29, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2024-05-06 09:45:17.409 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:45:17.426 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=29] [2024/05/06 09:45:17.426 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:45:17.427 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=13] [neededSchemaVersion=14] ["start time"=179.466µs] [gotSchemaVersion=14] [phyTblIDs="[28]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:45:17.427 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=14] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_done_index (job_id, element_id)\n\t);"] [user=] [2024/05/06 09:45:17.429 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-06 09:45:17.428 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:45:17.429 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-06 09:45:17.428 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_done_index (job_id, element_id)\n\t);"] [2024/05/06 09:45:17.434 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=31] [category=ddl] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2024-05-06 09:45:17.428 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:45:17.440 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=31] [job="ID:31, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2024-05-06 09:45:17.428 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:45:17.443 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=31] [2024/05/06 09:45:17.443 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:45:17.443 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=14] [neededSchemaVersion=15] ["start time"=217.547µs] [gotSchemaVersion=15] [phyTblIDs="[30]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:45:17.444 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=15] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_feedback (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tfeedback \tBLOB NOT NULL,\n\t\tINDEX hist(table_id, is_index, hist_id)\n\t);"] [user=] [2024/05/06 09:45:17.446 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-06 09:45:17.445 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:45:17.446 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-06 09:45:17.445 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_feedback (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tfeedback \tBLOB NOT NULL,\n\t\tINDEX hist(table_id, is_index, hist_id)\n\t);"] [2024/05/06 09:45:17.453 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=33] [category=ddl] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2024-05-06 09:45:17.445 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:45:17.461 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=33] [job="ID:33, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2024-05-06 09:45:17.445 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:45:17.463 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=33] [2024/05/06 09:45:17.463 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:45:17.463 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=15] [neededSchemaVersion=16] ["start time"=161.255µs] [gotSchemaVersion=16] [phyTblIDs="[32]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:45:17.464 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=16] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.role_edges (\n\t\tFROM_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tFROM_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tWITH_ADMIN_OPTION \tENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER)\n\t);"] [user=] [2024/05/06 09:45:17.466 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-06 09:45:17.465 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:45:17.466 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-06 09:45:17.465 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.role_edges (\n\t\tFROM_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tFROM_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tWITH_ADMIN_OPTION \tENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER)\n\t);"] [2024/05/06 09:45:17.471 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=35] [category=ddl] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2024-05-06 09:45:17.465 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:45:17.477 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=35] [job="ID:35, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2024-05-06 09:45:17.465 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:45:17.479 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=35] [2024/05/06 09:45:17.479 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:45:17.479 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=16] [neededSchemaVersion=17] ["start time"=186.103µs] [gotSchemaVersion=17] [phyTblIDs="[34]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:45:17.480 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=17] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.default_roles (\n\t\tHOST \t\t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tUSER \t\t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tDEFAULT_ROLE_HOST \tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%',\n\t\tDEFAULT_ROLE_USER \tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tPRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER)\n\t)"] [user=] [2024/05/06 09:45:17.482 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-06 09:45:17.481 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:45:17.482 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-06 09:45:17.481 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.default_roles (\n\t\tHOST \t\t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tUSER \t\t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tDEFAULT_ROLE_HOST \tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%',\n\t\tDEFAULT_ROLE_USER \tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tPRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER)\n\t)"] [2024/05/06 09:45:17.487 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=37] [category=ddl] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2024-05-06 09:45:17.481 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:45:17.492 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=37] [job="ID:37, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2024-05-06 09:45:17.481 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:45:17.507 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=37] [2024/05/06 09:45:17.507 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:45:17.508 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=18] ["start time"=675.727µs] [gotSchemaVersion=18] [phyTblIDs="[36]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:45:17.509 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=18] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql TEXT NOT NULL,\n\t\tbind_sql TEXT NOT NULL,\n\t\tdefault_db TEXT NOT NULL,\n\t\tstatus TEXT NOT NULL,\n\t\tcreate_time TIMESTAMP(3) NOT NULL,\n\t\tupdate_time TIMESTAMP(3) NOT NULL,\n\t\tcharset TEXT NOT NULL,\n\t\tcollation TEXT NOT NULL,\n\t\tsource VARCHAR(10) NOT NULL DEFAULT 'unknown',\n\t\tsql_digest varchar(64),\n\t\tplan_digest varchar(64),\n\t\tINDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\",\n\t\tINDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2024/05/06 09:45:17.512 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-06 09:45:17.511 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:45:17.512 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-06 09:45:17.511 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql TEXT NOT NULL,\n\t\tbind_sql TEXT NOT NULL,\n\t\tdefault_db TEXT NOT NULL,\n\t\tstatus TEXT NOT NULL,\n\t\tcreate_time TIMESTAMP(3) NOT NULL,\n\t\tupdate_time TIMESTAMP(3) NOT NULL,\n\t\tcharset TEXT NOT NULL,\n\t\tcollation TEXT NOT NULL,\n\t\tsource VARCHAR(10) NOT NULL DEFAULT 'unknown',\n\t\tsql_digest varchar(64),\n\t\tplan_digest varchar(64),\n\t\tINDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\",\n\t\tINDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2024/05/06 09:45:17.518 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=39] [category=ddl] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2024-05-06 09:45:17.511 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:45:17.525 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=39] [job="ID:39, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2024-05-06 09:45:17.511 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:45:17.529 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=39] [2024/05/06 09:45:17.529 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:45:17.529 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=18] [neededSchemaVersion=19] ["start time"=311.579µs] [gotSchemaVersion=19] [phyTblIDs="[38]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:45:17.530 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=19] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_top_n (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tcount \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] [2024/05/06 09:45:17.533 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-06 09:45:17.531 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:45:17.533 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-06 09:45:17.531 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_top_n (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tcount \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [2024/05/06 09:45:17.537 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=41] [category=ddl] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2024-05-06 09:45:17.531 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:45:17.544 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=41] [job="ID:41, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2024-05-06 09:45:17.531 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:45:17.546 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=41] [2024/05/06 09:45:17.546 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:45:17.547 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=19] [neededSchemaVersion=20] ["start time"=245.636µs] [gotSchemaVersion=20] [phyTblIDs="[40]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:45:17.547 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=20] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.expr_pushdown_blacklist (\n\t\tname \t\tCHAR(100) NOT NULL,\n\t\tstore_type \tCHAR(100) NOT NULL DEFAULT 'tikv,tiflash,tidb',\n\t\treason \t\tVARCHAR(200)\n\t);"] [user=] [2024/05/06 09:45:17.549 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-06 09:45:17.548 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:45:17.549 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-06 09:45:17.548 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.expr_pushdown_blacklist (\n\t\tname \t\tCHAR(100) NOT NULL,\n\t\tstore_type \tCHAR(100) NOT NULL DEFAULT 'tikv,tiflash,tidb',\n\t\treason \t\tVARCHAR(200)\n\t);"] [2024/05/06 09:45:17.554 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=43] [category=ddl] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2024-05-06 09:45:17.548 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:45:17.560 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=43] [job="ID:43, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2024-05-06 09:45:17.548 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:45:17.562 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=43] [2024/05/06 09:45:17.562 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:45:17.562 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=20] [neededSchemaVersion=21] ["start time"=145.416µs] [gotSchemaVersion=21] [phyTblIDs="[42]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:45:17.563 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=21] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] [user=] [2024/05/06 09:45:17.564 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-06 09:45:17.563 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:45:17.564 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-06 09:45:17.563 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] [2024/05/06 09:45:17.570 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=45] [category=ddl] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2024-05-06 09:45:17.563 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:45:17.575 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=45] [job="ID:45, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2024-05-06 09:45:17.563 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:45:17.577 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=45] [2024/05/06 09:45:17.577 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:45:17.577 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=21] [neededSchemaVersion=22] ["start time"=109.143µs] [gotSchemaVersion=22] [phyTblIDs="[44]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:45:17.577 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=22] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_extended (\n\t\tname varchar(32) NOT NULL,\n\t\ttype tinyint(4) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcolumn_ids varchar(32) NOT NULL,\n\t\tstats blob DEFAULT NULL,\n\t\tversion bigint(64) unsigned NOT NULL,\n\t\tstatus tinyint(4) NOT NULL,\n\t\tPRIMARY KEY(name, table_id),\n\t\tKEY idx_1 (table_id, status, version),\n\t\tKEY idx_2 (status, version)\n\t);"] [user=] [2024/05/06 09:45:17.581 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-06 09:45:17.578 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:45:17.581 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-06 09:45:17.578 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_extended (\n\t\tname varchar(32) NOT NULL,\n\t\ttype tinyint(4) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcolumn_ids varchar(32) NOT NULL,\n\t\tstats blob DEFAULT NULL,\n\t\tversion bigint(64) unsigned NOT NULL,\n\t\tstatus tinyint(4) NOT NULL,\n\t\tPRIMARY KEY(name, table_id),\n\t\tKEY idx_1 (table_id, status, version),\n\t\tKEY idx_2 (status, version)\n\t);"] [2024/05/06 09:45:17.586 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=47] [category=ddl] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2024-05-06 09:45:17.578 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:45:17.591 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=47] [job="ID:47, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2024-05-06 09:45:17.578 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:45:17.594 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=47] [2024/05/06 09:45:17.594 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:45:17.594 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=22] [neededSchemaVersion=23] ["start time"=249.442µs] [gotSchemaVersion=23] [phyTblIDs="[46]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:45:17.595 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=23] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] [2024/05/06 09:45:17.597 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-06 09:45:17.596 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:45:17.597 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-06 09:45:17.596 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [2024/05/06 09:45:17.601 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=49] [category=ddl] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2024-05-06 09:45:17.596 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:45:17.606 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=49] [job="ID:49, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2024-05-06 09:45:17.596 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:45:17.609 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=49] [2024/05/06 09:45:17.609 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:45:17.609 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=23] [neededSchemaVersion=24] ["start time"=149.275µs] [gotSchemaVersion=24] [phyTblIDs="[48]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:45:17.609 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=24] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.global_grants (\n\t\tUSER char(32) NOT NULL DEFAULT '',\n\t\tHOST char(255) NOT NULL DEFAULT '',\n\t\tPRIV char(32) NOT NULL DEFAULT '',\n\t\tWITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (USER,HOST,PRIV)\n\t);"] [user=] [2024/05/06 09:45:17.611 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-06 09:45:17.61 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:45:17.612 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-06 09:45:17.61 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.global_grants (\n\t\tUSER char(32) NOT NULL DEFAULT '',\n\t\tHOST char(255) NOT NULL DEFAULT '',\n\t\tPRIV char(32) NOT NULL DEFAULT '',\n\t\tWITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (USER,HOST,PRIV)\n\t);"] [2024/05/06 09:45:17.618 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=51] [category=ddl] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2024-05-06 09:45:17.61 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:45:17.624 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=51] [job="ID:51, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2024-05-06 09:45:17.61 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:45:17.627 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=51] [2024/05/06 09:45:17.627 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:45:17.627 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=24] [neededSchemaVersion=25] ["start time"=199.102µs] [gotSchemaVersion=25] [phyTblIDs="[50]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:45:17.627 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=25] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist (\n\t\tid bigint(64) auto_increment,\n\t\tfilter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\",\n\t\tfilter_value varchar(32) NOT NULL,\n\t\tkey idx(filter_type),\n\t\tprimary key(id)\n\t);"] [user=] [2024/05/06 09:45:17.630 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-06 09:45:17.629 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:45:17.630 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-06 09:45:17.629 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist (\n\t\tid bigint(64) auto_increment,\n\t\tfilter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\",\n\t\tfilter_value varchar(32) NOT NULL,\n\t\tkey idx(filter_type),\n\t\tprimary key(id)\n\t);"] [2024/05/06 09:45:17.636 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=53] [category=ddl] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2024-05-06 09:45:17.629 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:45:17.642 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=53] [job="ID:53, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2024-05-06 09:45:17.629 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:45:17.644 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=53] [2024/05/06 09:45:17.644 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:45:17.645 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=25] [neededSchemaVersion=26] ["start time"=166.592µs] [gotSchemaVersion=26] [phyTblIDs="[52]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:45:17.645 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=26] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.column_stats_usage (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tcolumn_id BIGINT(64) NOT NULL,\n\t\tlast_used_at TIMESTAMP,\n\t\tlast_analyzed_at TIMESTAMP,\n\t\tPRIMARY KEY (table_id, column_id) CLUSTERED\n\t);"] [user=] [2024/05/06 09:45:17.647 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-06 09:45:17.646 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:45:17.647 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-06 09:45:17.646 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.column_stats_usage (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tcolumn_id BIGINT(64) NOT NULL,\n\t\tlast_used_at TIMESTAMP,\n\t\tlast_analyzed_at TIMESTAMP,\n\t\tPRIMARY KEY (table_id, column_id) CLUSTERED\n\t);"] [2024/05/06 09:45:17.652 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=55] [category=ddl] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2024-05-06 09:45:17.646 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:45:17.659 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=55] [job="ID:55, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2024-05-06 09:45:17.646 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:45:17.661 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=55] [2024/05/06 09:45:17.661 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:45:17.661 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=26] [neededSchemaVersion=27] ["start time"=178.949µs] [gotSchemaVersion=27] [phyTblIDs="[54]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:45:17.661 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=27] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.table_cache_meta (\n\t\ttid bigint(11) NOT NULL DEFAULT 0,\n\t\tlock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE',\n\t\tlease bigint(20) NOT NULL DEFAULT 0,\n\t\toldReadLease bigint(20) NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (tid)\n\t);"] [user=] [2024/05/06 09:45:17.663 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-06 09:45:17.662 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:45:17.663 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-06 09:45:17.662 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.table_cache_meta (\n\t\ttid bigint(11) NOT NULL DEFAULT 0,\n\t\tlock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE',\n\t\tlease bigint(20) NOT NULL DEFAULT 0,\n\t\toldReadLease bigint(20) NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (tid)\n\t);"] [2024/05/06 09:45:17.670 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=57] [category=ddl] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2024-05-06 09:45:17.662 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:45:17.679 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=57] [job="ID:57, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2024-05-06 09:45:17.662 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:45:17.681 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=57] [2024/05/06 09:45:17.681 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:45:17.682 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=27] [neededSchemaVersion=28] ["start time"=158.302µs] [gotSchemaVersion=28] [phyTblIDs="[56]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:45:17.682 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=28] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_options (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tsample_num BIGINT(64) NOT NULL DEFAULT 0,\n\t\tsample_rate DOUBLE NOT NULL DEFAULT -1,\n\t\tbuckets BIGINT(64) NOT NULL DEFAULT 0,\n\t\ttopn BIGINT(64) NOT NULL DEFAULT -1,\n\t\tcolumn_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT',\n\t\tcolumn_ids TEXT(19372),\n\t\tPRIMARY KEY (table_id) CLUSTERED\n\t);"] [user=] [2024/05/06 09:45:17.682 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(19372) to MEDIUMBLOB"] [category=ddl] [2024/05/06 09:45:17.684 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-06 09:45:17.683 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:45:17.684 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-06 09:45:17.683 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.analyze_options (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tsample_num BIGINT(64) NOT NULL DEFAULT 0,\n\t\tsample_rate DOUBLE NOT NULL DEFAULT -1,\n\t\tbuckets BIGINT(64) NOT NULL DEFAULT 0,\n\t\ttopn BIGINT(64) NOT NULL DEFAULT -1,\n\t\tcolumn_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT',\n\t\tcolumn_ids TEXT(19372),\n\t\tPRIMARY KEY (table_id) CLUSTERED\n\t);"] [2024/05/06 09:45:17.690 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=59] [category=ddl] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2024-05-06 09:45:17.683 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:45:17.696 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=59] [job="ID:59, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2024-05-06 09:45:17.683 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:45:17.699 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=59] [2024/05/06 09:45:17.699 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:45:17.700 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=28] [neededSchemaVersion=29] ["start time"=225.707µs] [gotSchemaVersion=29] [phyTblIDs="[58]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:45:17.700 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=29] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tstats_data longblob NOT NULL,\n\t\tseq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice',\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version_seq (table_id, version, seq_no),\n\t\tKEY table_create_time (table_id, create_time, seq_no),\n \tKEY idx_create_time (create_time)\n\t);"] [user=] [2024/05/06 09:45:17.702 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-06 09:45:17.701 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:45:17.702 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-06 09:45:17.701 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tstats_data longblob NOT NULL,\n\t\tseq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice',\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version_seq (table_id, version, seq_no),\n\t\tKEY table_create_time (table_id, create_time, seq_no),\n \tKEY idx_create_time (create_time)\n\t);"] [2024/05/06 09:45:17.707 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=61] [category=ddl] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2024-05-06 09:45:17.701 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:45:17.714 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=61] [job="ID:61, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2024-05-06 09:45:17.701 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:45:17.716 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=61] [2024/05/06 09:45:17.716 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:45:17.717 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=29] [neededSchemaVersion=30] ["start time"=265.753µs] [gotSchemaVersion=30] [phyTblIDs="[60]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:45:17.717 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=30] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_meta_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL,\n\t\tcount bigint(64) NOT NULL,\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n \tsource varchar(40) NOT NULL,\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version (table_id, version),\n\t\tKEY table_create_time (table_id, create_time),\n \tKEY idx_create_time (create_time)\n\t);"] [user=] [2024/05/06 09:45:17.719 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-06 09:45:17.718 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:45:17.719 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-06 09:45:17.718 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_meta_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL,\n\t\tcount bigint(64) NOT NULL,\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n \tsource varchar(40) NOT NULL,\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version (table_id, version),\n\t\tKEY table_create_time (table_id, create_time),\n \tKEY idx_create_time (create_time)\n\t);"] [2024/05/06 09:45:17.724 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=63] [category=ddl] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2024-05-06 09:45:17.718 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:45:17.729 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=63] [job="ID:63, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2024-05-06 09:45:17.718 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:45:17.732 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=63] [2024/05/06 09:45:17.732 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:45:17.732 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=30] [neededSchemaVersion=31] ["start time"=278.065µs] [gotSchemaVersion=31] [phyTblIDs="[62]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:45:17.733 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=31] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_jobs (\n\t\tid BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\ttable_schema CHAR(64) NOT NULL DEFAULT '',\n\t\ttable_name CHAR(64) NOT NULL DEFAULT '',\n\t\tpartition_name CHAR(64) NOT NULL DEFAULT '',\n\t\tjob_info TEXT NOT NULL,\n\t\tprocessed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tstart_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tstate ENUM('pending', 'running', 'finished', 'failed') NOT NULL,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job',\n\t\tprocess_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job',\n\t\tPRIMARY KEY (id),\n\t\tKEY (update_time)\n\t);"] [user=] [2024/05/06 09:45:17.735 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-06 09:45:17.734 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:45:17.735 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-06 09:45:17.734 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.analyze_jobs (\n\t\tid BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\ttable_schema CHAR(64) NOT NULL DEFAULT '',\n\t\ttable_name CHAR(64) NOT NULL DEFAULT '',\n\t\tpartition_name CHAR(64) NOT NULL DEFAULT '',\n\t\tjob_info TEXT NOT NULL,\n\t\tprocessed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tstart_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tstate ENUM('pending', 'running', 'finished', 'failed') NOT NULL,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job',\n\t\tprocess_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job',\n\t\tPRIMARY KEY (id),\n\t\tKEY (update_time)\n\t);"] [2024/05/06 09:45:17.739 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=65] [category=ddl] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2024-05-06 09:45:17.734 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:45:17.745 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=65] [job="ID:65, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2024-05-06 09:45:17.734 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:45:17.748 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=65] [2024/05/06 09:45:17.749 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:45:17.749 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=31] [neededSchemaVersion=32] ["start time"=368.753µs] [gotSchemaVersion=32] [phyTblIDs="[64]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:45:17.749 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=32] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] [user=] [2024/05/06 09:45:17.751 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-06 09:45:17.75 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:45:17.751 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-06 09:45:17.75 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] [2024/05/06 09:45:17.755 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=67] [category=ddl] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2024-05-06 09:45:17.75 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:45:17.759 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=67] [job="ID:67, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2024-05-06 09:45:17.75 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:45:17.761 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=67] [2024/05/06 09:45:17.761 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:45:17.762 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=135.42µs] [gotSchemaVersion=33] [phyTblIDs="[66]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:45:17.765 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2024-05-06 09:45:17.763 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:45:17.765 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2024-05-06 09:45:17.763 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE OR REPLACE VIEW mysql.tidb_mdl_view as (\n\t\tSELECT tidb_mdl_info.job_id,\n\t\t\tJSON_UNQUOTE(JSON_EXTRACT(cast(cast(job_meta as char) as json), \"$.schema_name\")) as db_name,\n\t\t\tJSON_UNQUOTE(JSON_EXTRACT(cast(cast(job_meta as char) as json), \"$.table_name\")) as table_name,\n\t\t\tJSON_UNQUOTE(JSON_EXTRACT(cast(cast(job_meta as char) as json), \"$.query\")) as query,\n\t\t\tsession_id,\n\t\t\tcluster_tidb_trx.start_time,\n\t\t\ttidb_decode_sql_digests(all_sql_digests, 4096) AS SQL_DIGESTS\n\t\tFROM mysql.tidb_ddl_job,\n\t\t\tmysql.tidb_mdl_info,\n\t\t\tinformation_schema.cluster_tidb_trx\n\t\tWHERE tidb_ddl_job.job_id=tidb_mdl_info.job_id\n\t\t\tAND CONCAT(',', tidb_mdl_info.table_ids, ',') REGEXP CONCAT(',', REPLACE(cluster_tidb_trx.related_table_ids, ',', '|'), ',') != 0\n\t);"] [2024/05/06 09:45:17.771 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=69] [category=ddl] [job="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2024-05-06 09:45:17.763 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:45:17.777 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=69] [job="ID:69, Type:create view, State:synced, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2024-05-06 09:45:17.763 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:45:17.780 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=69] [2024/05/06 09:45:17.780 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:45:17.780 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=33] [neededSchemaVersion=34] ["start time"=277.928µs] [gotSchemaVersion=34] [phyTblIDs="[68]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2024/05/06 09:45:17.780 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=34] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_status (\n\t\tsql_digest VARCHAR(128),\n\t\tplan_digest VARCHAR(128),\n\t\torigin_sql TEXT,\n\t\ttoken VARCHAR(128),\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the plan replayer job');"] [user=] [2024/05/06 09:45:17.786 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:2, start time: 2024-05-06 09:45:17.785 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:45:17.786 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:2, start time: 2024-05-06 09:45:17.785 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_status (\n\t\tsql_digest VARCHAR(128),\n\t\tplan_digest VARCHAR(128),\n\t\torigin_sql TEXT,\n\t\ttoken VARCHAR(128),\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the plan replayer job');"] [2024/05/06 09:45:17.790 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=71] [category=ddl] [job="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:0, start time: 2024-05-06 09:45:17.785 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:45:17.797 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=71] [job="ID:71, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:0, start time: 2024-05-06 09:45:17.785 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:45:17.799 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=71] [2024/05/06 09:45:17.799 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:45:17.799 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=34] [neededSchemaVersion=35] ["start time"=162.526µs] [gotSchemaVersion=35] [phyTblIDs="[70]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:45:17.800 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=35] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_task (\n\t\tsql_digest VARCHAR(128) NOT NULL,\n\t\tplan_digest VARCHAR(128) NOT NULL,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tPRIMARY KEY (sql_digest,plan_digest));"] [user=] [2024/05/06 09:45:17.802 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-06 09:45:17.801 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:45:17.802 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-06 09:45:17.801 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_task (\n\t\tsql_digest VARCHAR(128) NOT NULL,\n\t\tplan_digest VARCHAR(128) NOT NULL,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tPRIMARY KEY (sql_digest,plan_digest));"] [2024/05/06 09:45:17.807 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=73] [category=ddl] [job="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:0, start time: 2024-05-06 09:45:17.801 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:45:17.813 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=73] [job="ID:73, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:0, start time: 2024-05-06 09:45:17.801 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:45:17.815 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=73] [2024/05/06 09:45:17.816 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:45:17.816 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=35] [neededSchemaVersion=36] ["start time"=160.199µs] [gotSchemaVersion=36] [phyTblIDs="[72]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:45:17.816 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=36] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_table_locked(\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL DEFAULT 0,\n\t\tcount bigint(64) NOT NULL DEFAULT 0,\n\t\tversion bigint(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (table_id));"] [user=] [2024/05/06 09:45:17.818 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-06 09:45:17.817 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:45:17.818 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-06 09:45:17.817 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_table_locked(\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL DEFAULT 0,\n\t\tcount bigint(64) NOT NULL DEFAULT 0,\n\t\tversion bigint(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (table_id));"] [2024/05/06 09:45:17.823 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=75] [category=ddl] [job="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:0, start time: 2024-05-06 09:45:17.817 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:45:17.828 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=75] [job="ID:75, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:0, start time: 2024-05-06 09:45:17.817 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:45:17.830 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=75] [2024/05/06 09:45:17.831 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:45:17.831 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=36] [neededSchemaVersion=37] ["start time"=201.827µs] [gotSchemaVersion=37] [phyTblIDs="[74]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:45:17.831 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=37] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_table_status (\n\t\ttable_id bigint(64) PRIMARY KEY,\n parent_table_id bigint(64),\n table_statistics text DEFAULT NULL,\n\t\tlast_job_id varchar(64) DEFAULT NULL,\n\t\tlast_job_start_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_finish_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_ttl_expire timestamp NULL DEFAULT NULL,\n last_job_summary text DEFAULT NULL,\n\t\tcurrent_job_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_addr varchar(256) DEFAULT NULL,\n\t\tcurrent_job_owner_hb_time timestamp,\n\t\tcurrent_job_start_time timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_ttl_expire timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_state text DEFAULT NULL,\n\t\tcurrent_job_status varchar(64) DEFAULT NULL,\n \t\tcurrent_job_status_update_time timestamp NULL DEFAULT NULL);"] [user=] [2024/05/06 09:45:17.838 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-06 09:45:17.832 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:45:17.838 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-06 09:45:17.832 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_table_status (\n\t\ttable_id bigint(64) PRIMARY KEY,\n parent_table_id bigint(64),\n table_statistics text DEFAULT NULL,\n\t\tlast_job_id varchar(64) DEFAULT NULL,\n\t\tlast_job_start_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_finish_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_ttl_expire timestamp NULL DEFAULT NULL,\n last_job_summary text DEFAULT NULL,\n\t\tcurrent_job_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_addr varchar(256) DEFAULT NULL,\n\t\tcurrent_job_owner_hb_time timestamp,\n\t\tcurrent_job_start_time timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_ttl_expire timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_state text DEFAULT NULL,\n\t\tcurrent_job_status varchar(64) DEFAULT NULL,\n \t\tcurrent_job_status_update_time timestamp NULL DEFAULT NULL);"] [2024/05/06 09:45:17.845 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=77] [category=ddl] [job="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:0, start time: 2024-05-06 09:45:17.832 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:45:17.852 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=77] [job="ID:77, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:0, start time: 2024-05-06 09:45:17.832 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:45:17.855 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=77] [2024/05/06 09:45:17.855 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:45:17.855 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=37] [neededSchemaVersion=38] ["start time"=254.099µs] [gotSchemaVersion=38] [phyTblIDs="[76]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:45:17.855 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=38] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_task (\n\t\tjob_id varchar(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tscan_id int NOT NULL,\n\t\tscan_range_start BLOB,\n\t\tscan_range_end BLOB,\n\t\texpire_time timestamp NOT NULL,\n\t\towner_id varchar(64) DEFAULT NULL,\n\t\towner_addr varchar(64) DEFAULT NULL,\n\t\towner_hb_time timestamp DEFAULT NULL,\n\t\tstatus varchar(64) DEFAULT 'waiting',\n\t\tstatus_update_time timestamp NULL DEFAULT NULL,\n\t\tstate text,\n\t\tcreated_time timestamp NOT NULL,\n\t\tprimary key(job_id, scan_id),\n\t\tkey(created_time));"] [user=] [2024/05/06 09:45:17.858 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-06 09:45:17.856 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:45:17.858 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-06 09:45:17.856 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_task (\n\t\tjob_id varchar(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tscan_id int NOT NULL,\n\t\tscan_range_start BLOB,\n\t\tscan_range_end BLOB,\n\t\texpire_time timestamp NOT NULL,\n\t\towner_id varchar(64) DEFAULT NULL,\n\t\towner_addr varchar(64) DEFAULT NULL,\n\t\towner_hb_time timestamp DEFAULT NULL,\n\t\tstatus varchar(64) DEFAULT 'waiting',\n\t\tstatus_update_time timestamp NULL DEFAULT NULL,\n\t\tstate text,\n\t\tcreated_time timestamp NOT NULL,\n\t\tprimary key(job_id, scan_id),\n\t\tkey(created_time));"] [2024/05/06 09:45:17.864 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=79] [category=ddl] [job="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:0, start time: 2024-05-06 09:45:17.856 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:45:17.870 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=79] [job="ID:79, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:0, start time: 2024-05-06 09:45:17.856 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:45:17.874 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=79] [2024/05/06 09:45:17.874 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:45:17.874 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=38] [neededSchemaVersion=39] ["start time"=353.601µs] [gotSchemaVersion=39] [phyTblIDs="[78]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:45:17.874 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=39] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_job_history (\n\t\tjob_id varchar(64) PRIMARY KEY,\n\t\ttable_id bigint(64) NOT NULL,\n parent_table_id bigint(64) NOT NULL,\n \ttable_schema varchar(64) NOT NULL,\n\t\ttable_name varchar(64) NOT NULL,\n \tpartition_name varchar(64) DEFAULT NULL,\n\t\tcreate_time timestamp NOT NULL,\n\t\tfinish_time timestamp NOT NULL,\n\t\tttl_expire timestamp NOT NULL,\n summary_text text,\n\t\texpired_rows bigint(64) DEFAULT NULL,\n \tdeleted_rows bigint(64) DEFAULT NULL,\n \terror_delete_rows bigint(64) DEFAULT NULL,\n \tstatus varchar(64) NOT NULL,\n \tkey(table_schema, table_name, create_time),\n \tkey(parent_table_id, create_time),\n \tkey(create_time)\n\t);"] [user=] [2024/05/06 09:45:17.877 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-06 09:45:17.876 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:45:17.877 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-06 09:45:17.876 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_job_history (\n\t\tjob_id varchar(64) PRIMARY KEY,\n\t\ttable_id bigint(64) NOT NULL,\n parent_table_id bigint(64) NOT NULL,\n \ttable_schema varchar(64) NOT NULL,\n\t\ttable_name varchar(64) NOT NULL,\n \tpartition_name varchar(64) DEFAULT NULL,\n\t\tcreate_time timestamp NOT NULL,\n\t\tfinish_time timestamp NOT NULL,\n\t\tttl_expire timestamp NOT NULL,\n summary_text text,\n\t\texpired_rows bigint(64) DEFAULT NULL,\n \tdeleted_rows bigint(64) DEFAULT NULL,\n \terror_delete_rows bigint(64) DEFAULT NULL,\n \tstatus varchar(64) NOT NULL,\n \tkey(table_schema, table_name, create_time),\n \tkey(parent_table_id, create_time),\n \tkey(create_time)\n\t);"] [2024/05/06 09:45:17.882 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=81] [category=ddl] [job="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:80, RowCount:0, ArgLen:0, start time: 2024-05-06 09:45:17.876 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:45:17.890 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=81] [job="ID:81, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:80, RowCount:0, ArgLen:0, start time: 2024-05-06 09:45:17.876 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:45:17.893 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=81] [2024/05/06 09:45:17.893 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:45:17.894 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=39] [neededSchemaVersion=40] ["start time"=419.593µs] [gotSchemaVersion=40] [phyTblIDs="[80]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:45:17.894 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=40] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(261),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tpriority INT DEFAULT 1,\n\t\tcreate_time TIMESTAMP,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\ttarget_scope VARCHAR(256) DEFAULT \"\",\n\t\terror BLOB,\n\t\tkey(state),\n \tUNIQUE KEY task_key(task_key)\n\t);"] [user=] [2024/05/06 09:45:17.896 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-06 09:45:17.895 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:45:17.897 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-06 09:45:17.895 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(261),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tpriority INT DEFAULT 1,\n\t\tcreate_time TIMESTAMP,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\ttarget_scope VARCHAR(256) DEFAULT \"\",\n\t\terror BLOB,\n\t\tkey(state),\n \tUNIQUE KEY task_key(task_key)\n\t);"] [2024/05/06 09:45:17.901 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=83] [category=ddl] [job="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:82, RowCount:0, ArgLen:0, start time: 2024-05-06 09:45:17.895 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:45:17.909 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=83] [job="ID:83, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:82, RowCount:0, ArgLen:0, start time: 2024-05-06 09:45:17.895 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:45:17.912 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=83] [2024/05/06 09:45:17.912 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:45:17.912 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=40] [neededSchemaVersion=41] ["start time"=262.053µs] [gotSchemaVersion=41] [phyTblIDs="[82]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:45:17.913 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=41] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task_history (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(261),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tpriority INT DEFAULT 1,\n\t\tcreate_time TIMESTAMP,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\ttarget_scope VARCHAR(256) DEFAULT \"\",\n\t\terror BLOB,\n\t\tkey(state),\n \tUNIQUE KEY task_key(task_key)\n\t);"] [user=] [2024/05/06 09:45:17.915 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:85, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:84, RowCount:0, ArgLen:2, start time: 2024-05-06 09:45:17.914 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:45:17.915 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:85, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:84, RowCount:0, ArgLen:2, start time: 2024-05-06 09:45:17.914 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task_history (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(261),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tpriority INT DEFAULT 1,\n\t\tcreate_time TIMESTAMP,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\ttarget_scope VARCHAR(256) DEFAULT \"\",\n\t\terror BLOB,\n\t\tkey(state),\n \tUNIQUE KEY task_key(task_key)\n\t);"] [2024/05/06 09:45:17.919 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=85] [category=ddl] [job="ID:85, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:84, RowCount:0, ArgLen:0, start time: 2024-05-06 09:45:17.914 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:45:17.926 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=85] [job="ID:85, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:84, RowCount:0, ArgLen:0, start time: 2024-05-06 09:45:17.914 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:45:17.929 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=85] [2024/05/06 09:45:17.929 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:45:17.929 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=41] [neededSchemaVersion=42] ["start time"=343.423µs] [gotSchemaVersion=42] [phyTblIDs="[84]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:45:17.930 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=42] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_import_jobs (\n\t\tid bigint(64) NOT NULL AUTO_INCREMENT,\n\t\tcreate_time TIMESTAMP(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n\t\tstart_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tupdate_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tend_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\ttable_schema VARCHAR(64) NOT NULL,\n\t\ttable_name VARCHAR(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcreated_by VARCHAR(300) NOT NULL,\n\t\tparameters text NOT NULL,\n\t\tsource_file_size bigint(64) NOT NULL,\n\t\tstatus VARCHAR(64) NOT NULL,\n\t\tstep VARCHAR(64) NOT NULL,\n\t\tsummary text DEFAULT NULL,\n\t\terror_message TEXT DEFAULT NULL,\n\t\tPRIMARY KEY (id),\n\t\tKEY (created_by),\n\t\tKEY (status));"] [user=] [2024/05/06 09:45:17.932 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:87, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:86, RowCount:0, ArgLen:2, start time: 2024-05-06 09:45:17.931 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:45:17.932 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:87, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:86, RowCount:0, ArgLen:2, start time: 2024-05-06 09:45:17.931 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_import_jobs (\n\t\tid bigint(64) NOT NULL AUTO_INCREMENT,\n\t\tcreate_time TIMESTAMP(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n\t\tstart_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tupdate_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tend_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\ttable_schema VARCHAR(64) NOT NULL,\n\t\ttable_name VARCHAR(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcreated_by VARCHAR(300) NOT NULL,\n\t\tparameters text NOT NULL,\n\t\tsource_file_size bigint(64) NOT NULL,\n\t\tstatus VARCHAR(64) NOT NULL,\n\t\tstep VARCHAR(64) NOT NULL,\n\t\tsummary text DEFAULT NULL,\n\t\terror_message TEXT DEFAULT NULL,\n\t\tPRIMARY KEY (id),\n\t\tKEY (created_by),\n\t\tKEY (status));"] [2024/05/06 09:45:17.937 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=87] [category=ddl] [job="ID:87, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:86, RowCount:0, ArgLen:0, start time: 2024-05-06 09:45:17.931 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:45:17.944 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=87] [job="ID:87, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:86, RowCount:0, ArgLen:0, start time: 2024-05-06 09:45:17.931 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:45:17.947 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=87] [2024/05/06 09:45:17.947 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:45:17.947 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=42] [neededSchemaVersion=43] ["start time"=325.475µs] [gotSchemaVersion=43] [phyTblIDs="[86]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:45:17.947 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=43] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tINDEX sql_index(resource_group_name,watch_text(700)) COMMENT \"accelerate the speed when select quarantined query\",\n\t\tINDEX time_index(end_time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2024/05/06 09:45:17.949 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:89, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:88, RowCount:0, ArgLen:2, start time: 2024-05-06 09:45:17.948 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:45:17.949 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:89, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:88, RowCount:0, ArgLen:2, start time: 2024-05-06 09:45:17.948 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tINDEX sql_index(resource_group_name,watch_text(700)) COMMENT \"accelerate the speed when select quarantined query\",\n\t\tINDEX time_index(end_time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2024/05/06 09:45:17.953 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=89] [category=ddl] [job="ID:89, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:88, RowCount:0, ArgLen:0, start time: 2024-05-06 09:45:17.948 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:45:17.959 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=89] [job="ID:89, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:88, RowCount:0, ArgLen:0, start time: 2024-05-06 09:45:17.948 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:45:17.962 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=89] [2024/05/06 09:45:17.962 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:45:17.962 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=43] [neededSchemaVersion=44] ["start time"=309.895µs] [gotSchemaVersion=44] [phyTblIDs="[88]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:45:17.963 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=44] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_queries (\n\t\tresource_group_name varchar(32) not null,\n\t\ttime TIMESTAMP NOT NULL,\n\t\tmatch_type varchar(12) NOT NULL,\n\t\taction varchar(12) NOT NULL,\n\t\toriginal_sql TEXT NOT NULL,\n\t\tplan_digest TEXT NOT NULL,\n\t\ttidb_server varchar(512),\n\t\tINDEX plan_index(plan_digest(64)) COMMENT \"accelerate the speed when select runaway query\",\n\t\tINDEX time_index(time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2024/05/06 09:45:17.965 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:91, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:90, RowCount:0, ArgLen:2, start time: 2024-05-06 09:45:17.964 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:45:17.965 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:91, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:90, RowCount:0, ArgLen:2, start time: 2024-05-06 09:45:17.964 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_queries (\n\t\tresource_group_name varchar(32) not null,\n\t\ttime TIMESTAMP NOT NULL,\n\t\tmatch_type varchar(12) NOT NULL,\n\t\taction varchar(12) NOT NULL,\n\t\toriginal_sql TEXT NOT NULL,\n\t\tplan_digest TEXT NOT NULL,\n\t\ttidb_server varchar(512),\n\t\tINDEX plan_index(plan_digest(64)) COMMENT \"accelerate the speed when select runaway query\",\n\t\tINDEX time_index(time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2024/05/06 09:45:17.969 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=91] [category=ddl] [job="ID:91, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:90, RowCount:0, ArgLen:0, start time: 2024-05-06 09:45:17.964 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:45:17.975 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=91] [job="ID:91, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:90, RowCount:0, ArgLen:0, start time: 2024-05-06 09:45:17.964 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:45:17.977 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=91] [2024/05/06 09:45:17.977 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:45:17.977 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=44] [neededSchemaVersion=45] ["start time"=225.645µs] [gotSchemaVersion=45] [phyTblIDs="[90]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:45:17.978 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=45] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS `mysql`.`tidb_timers` (\n\t\tID BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tNAMESPACE VARCHAR(256) NOT NULL,\n\t\tTIMER_KEY VARCHAR(256) NOT NULL,\n\t\tTIMER_DATA BLOB,\n\t\tTIMEZONE VARCHAR(64) NOT NULL,\n\t\tSCHED_POLICY_TYPE VARCHAR(32) NOT NULL,\n\t\tSCHED_POLICY_EXPR VARCHAR(256) NOT NULL,\n\t\tHOOK_CLASS VARCHAR(64) NOT NULL,\n\t\tWATERMARK TIMESTAMP DEFAULT NULL,\n\t\tENABLE TINYINT(2) NOT NULL,\n\t\tTIMER_EXT JSON NOT NULL,\n\t\tEVENT_STATUS VARCHAR(32) NOT NULL,\n\t\tEVENT_ID VARCHAR(64) NOT NULL,\n\t\tEVENT_DATA BLOB,\n\t\tEVENT_START TIMESTAMP DEFAULT NULL,\n\t\tSUMMARY_DATA BLOB,\n\t\tCREATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,\n\t\tUPDATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tVERSION BIGINT(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (ID),\n\t\tUNIQUE KEY timer_key(NAMESPACE, TIMER_KEY),\n\t\tKEY hook_class(HOOK_CLASS)\n\t)"] [user=] [2024/05/06 09:45:17.981 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:93, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:92, RowCount:0, ArgLen:2, start time: 2024-05-06 09:45:17.979 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:45:17.981 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:93, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:92, RowCount:0, ArgLen:2, start time: 2024-05-06 09:45:17.979 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS `mysql`.`tidb_timers` (\n\t\tID BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tNAMESPACE VARCHAR(256) NOT NULL,\n\t\tTIMER_KEY VARCHAR(256) NOT NULL,\n\t\tTIMER_DATA BLOB,\n\t\tTIMEZONE VARCHAR(64) NOT NULL,\n\t\tSCHED_POLICY_TYPE VARCHAR(32) NOT NULL,\n\t\tSCHED_POLICY_EXPR VARCHAR(256) NOT NULL,\n\t\tHOOK_CLASS VARCHAR(64) NOT NULL,\n\t\tWATERMARK TIMESTAMP DEFAULT NULL,\n\t\tENABLE TINYINT(2) NOT NULL,\n\t\tTIMER_EXT JSON NOT NULL,\n\t\tEVENT_STATUS VARCHAR(32) NOT NULL,\n\t\tEVENT_ID VARCHAR(64) NOT NULL,\n\t\tEVENT_DATA BLOB,\n\t\tEVENT_START TIMESTAMP DEFAULT NULL,\n\t\tSUMMARY_DATA BLOB,\n\t\tCREATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,\n\t\tUPDATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tVERSION BIGINT(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (ID),\n\t\tUNIQUE KEY timer_key(NAMESPACE, TIMER_KEY),\n\t\tKEY hook_class(HOOK_CLASS)\n\t)"] [2024/05/06 09:45:17.986 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=93] [category=ddl] [job="ID:93, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:92, RowCount:0, ArgLen:0, start time: 2024-05-06 09:45:17.979 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:45:17.993 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=93] [job="ID:93, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:0, start time: 2024-05-06 09:45:17.979 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:45:17.996 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=93] [2024/05/06 09:45:17.996 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:45:17.997 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=45] [neededSchemaVersion=46] ["start time"=343.751µs] [gotSchemaVersion=46] [phyTblIDs="[92]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:45:17.997 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=46] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch_done (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\trecord_id BIGINT(20) not null,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tdone_time TIMESTAMP(6) NOT NULL\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2024/05/06 09:45:18.000 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:95, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:94, RowCount:0, ArgLen:2, start time: 2024-05-06 09:45:17.998 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:45:18.000 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:95, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:94, RowCount:0, ArgLen:2, start time: 2024-05-06 09:45:17.998 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch_done (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\trecord_id BIGINT(20) not null,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tdone_time TIMESTAMP(6) NOT NULL\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2024/05/06 09:45:18.007 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=95] [category=ddl] [job="ID:95, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:94, RowCount:0, ArgLen:0, start time: 2024-05-06 09:45:17.998 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:45:18.016 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=95] [job="ID:95, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:94, RowCount:0, ArgLen:0, start time: 2024-05-06 09:45:17.998 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:45:18.019 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=95] [2024/05/06 09:45:18.019 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:45:18.019 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=46] [neededSchemaVersion=47] ["start time"=214.787µs] [gotSchemaVersion=47] [phyTblIDs="[94]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:45:18.019 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=47] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.dist_framework_meta (\n host VARCHAR(261) NOT NULL PRIMARY KEY,\n role VARCHAR(64),\n cpu_count int default 0,\n keyspace_id bigint(8) NOT NULL DEFAULT -1\n );"] [user=] [2024/05/06 09:45:18.024 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:97, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:96, RowCount:0, ArgLen:2, start time: 2024-05-06 09:45:18.022 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:45:18.024 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:97, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:96, RowCount:0, ArgLen:2, start time: 2024-05-06 09:45:18.022 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.dist_framework_meta (\n host VARCHAR(261) NOT NULL PRIMARY KEY,\n role VARCHAR(64),\n cpu_count int default 0,\n keyspace_id bigint(8) NOT NULL DEFAULT -1\n );"] [2024/05/06 09:45:18.028 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=97] [category=ddl] [job="ID:97, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:96, RowCount:0, ArgLen:0, start time: 2024-05-06 09:45:18.022 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:45:18.033 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=97] [job="ID:97, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:96, RowCount:0, ArgLen:0, start time: 2024-05-06 09:45:18.022 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:45:18.035 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=97] [2024/05/06 09:45:18.035 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:45:18.035 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=47] [neededSchemaVersion=48] ["start time"=163.886µs] [gotSchemaVersion=48] [phyTblIDs="[96]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:45:18.035 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=48] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.request_unit_by_group (\n\t\tstart_time TIMESTAMP(6) NOT NULL,\n\t\tend_time TIMESTAMP(6) NOT NULL,\n\t\tresource_group VARCHAR(32) NOT null,\n\t\ttotal_ru bigint(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (start_time, end_time, resource_group),\n\t\tKEY (resource_group)\n\t);"] [user=] [2024/05/06 09:45:18.038 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:99, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:98, RowCount:0, ArgLen:2, start time: 2024-05-06 09:45:18.036 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:45:18.038 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:99, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:98, RowCount:0, ArgLen:2, start time: 2024-05-06 09:45:18.036 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.request_unit_by_group (\n\t\tstart_time TIMESTAMP(6) NOT NULL,\n\t\tend_time TIMESTAMP(6) NOT NULL,\n\t\tresource_group VARCHAR(32) NOT null,\n\t\ttotal_ru bigint(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (start_time, end_time, resource_group),\n\t\tKEY (resource_group)\n\t);"] [2024/05/06 09:45:18.043 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=99] [category=ddl] [job="ID:99, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:98, RowCount:0, ArgLen:0, start time: 2024-05-06 09:45:18.036 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:45:18.048 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=99] [job="ID:99, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:98, RowCount:0, ArgLen:0, start time: 2024-05-06 09:45:18.036 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:45:18.051 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=99] [2024/05/06 09:45:18.051 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:45:18.051 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=48] [neededSchemaVersion=49] ["start time"=246.018µs] [gotSchemaVersion=49] [phyTblIDs="[98]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 09:45:18.051 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=49] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS sys;"] [user=] [2024/05/06 09:45:18.053 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:101, Type:create schema, State:queueing, SchemaState:none, SchemaID:100, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:45:18.052 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:45:18.053 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:101, Type:create schema, State:queueing, SchemaState:none, SchemaID:100, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 09:45:18.052 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE DATABASE IF NOT EXISTS sys;"] [2024/05/06 09:45:18.058 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=101] [category=ddl] [job="ID:101, Type:create schema, State:queueing, SchemaState:none, SchemaID:100, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:45:18.052 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:45:18.062 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=101] [job="ID:101, Type:create schema, State:synced, SchemaState:public, SchemaID:100, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 09:45:18.052 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:45:18.064 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=101] [2024/05/06 09:45:18.064 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:45:18.064 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=49] [neededSchemaVersion=50] ["start time"=51.679µs] [gotSchemaVersion=50] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2024/05/06 09:45:18.066 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:103, Type:create view, State:queueing, SchemaState:none, SchemaID:100, TableID:102, RowCount:0, ArgLen:3, start time: 2024-05-06 09:45:18.065 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 09:45:18.066 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:103, Type:create view, State:queueing, SchemaState:none, SchemaID:100, TableID:102, RowCount:0, ArgLen:3, start time: 2024-05-06 09:45:18.065 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE OR REPLACE VIEW sys.schema_unused_indexes AS\n\t\tSELECT\n\t\t\ttable_schema as object_schema,\n\t\t\ttable_name as object_name,\n\t\t\tindex_name\n\t\tFROM information_schema.cluster_tidb_index_usage\n\t\tWHERE\n\t\t\ttable_schema not in ('sys', 'mysql', 'INFORMATION_SCHEMA', 'PERFORMANCE_SCHEMA') and\n\t\t\tindex_name != 'PRIMARY'\n\t\tGROUP BY table_schema, table_name, index_name\n\t\tHAVING\n\t\t\tsum(last_access_time) is null;"] [2024/05/06 09:45:18.072 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=103] [category=ddl] [job="ID:103, Type:create view, State:queueing, SchemaState:none, SchemaID:100, TableID:102, RowCount:0, ArgLen:0, start time: 2024-05-06 09:45:18.065 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:45:18.077 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=103] [job="ID:103, Type:create view, State:synced, SchemaState:public, SchemaID:100, TableID:102, RowCount:0, ArgLen:0, start time: 2024-05-06 09:45:18.065 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 09:45:18.080 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=103] [2024/05/06 09:45:18.080 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 09:45:18.080 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=50] [neededSchemaVersion=51] ["start time"=156.509µs] [gotSchemaVersion=51] [phyTblIDs="[102]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2024/05/06 09:45:18.108 +00:00] [INFO] [bootstrap.go:745] ["bootstrap successful"] ["take time"=953.838028ms] [2024/05/06 09:45:18.108 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=46fc23c7-4aec-4b6f-b54b-f01c225b4b7d] [ownerKey=/tidb/ddl/fg/owner] [2024/05/06 09:45:18.108 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/06 09:45:18.108 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 2, tp add index"] [category=ddl] ["take time"=944ns] [2024/05/06 09:45:18.108 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 3, tp add index"] [category=ddl] ["take time"=907ns] [2024/05/06 09:45:18.108 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 4, tp add index"] [category=ddl] ["take time"=569ns] [2024/05/06 09:45:18.108 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 5, tp add index"] [category=ddl] ["take time"=805ns] [2024/05/06 09:45:18.108 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/06 09:45:18.108 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 1, tp general"] [category=ddl] ["take time"=844ns] [2024/05/06 09:45:18.108 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/06 09:45:18.108 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2024/05/06 09:45:18.108 +00:00] [INFO] [session_pool.go:99] ["closing session pool"] [category=ddl] [2024/05/06 09:45:18.110 +00:00] [INFO] [ddl.go:951] ["DDL closed"] [category=ddl] [ID=46fc23c7-4aec-4b6f-b54b-f01c225b4b7d] ["take time"=2.107972ms] [2024/05/06 09:45:18.110 +00:00] [INFO] [ddl.go:769] ["stop DDL"] [category=ddl] [ID=46fc23c7-4aec-4b6f-b54b-f01c225b4b7d] [2024/05/06 09:45:18.110 +00:00] [INFO] [domain.go:761] ["topologySyncerKeeper exited."] [2024/05/06 09:45:18.110 +00:00] [INFO] [domain.go:711] ["infoSyncerKeeper exited."] [2024/05/06 09:45:18.110 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2024/05/06 09:45:18.110 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2024/05/06 09:45:18.110 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2024/05/06 09:45:18.110 +00:00] [INFO] [domain.go:737] ["globalConfigSyncerKeeper exited."] [2024/05/06 09:45:18.110 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayStartLoop] [2024/05/06 09:45:18.110 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/06 09:45:18.110 +00:00] [INFO] [domain.go:683] ["topNSlowQueryLoop exited."] [2024/05/06 09:45:18.110 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2024/05/06 09:45:18.110 +00:00] [INFO] [domain.go:1361] ["closestReplicaReadCheckLoop exited."] [2024/05/06 09:45:18.110 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/06 09:45:18.110 +00:00] [INFO] [domain.go:1074] ["domain closed"] ["take time"=2.249031ms] [2024/05/06 09:45:18.110 +00:00] [INFO] [tidb.go:80] ["new domain"] [store=7619f7f9-79fe-4a31-8fea-03cc254617e0] ["ddl lease"=0s] ["stats lease"=-1ns] [2024/05/06 09:45:18.115 +00:00] [WARN] [controller.go:198] ["[resource group controller] server does not save config, load config failed"] [2024/05/06 09:45:18.115 +00:00] [INFO] [controller.go:185] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":10,\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\"}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":10,\"DegradedModeWaitDuration\":0}"] [2024/05/06 09:45:18.123 +00:00] [INFO] [domain.go:315] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=51] ["start time"=7.64816ms] [2024/05/06 09:45:18.123 +00:00] [INFO] [domain.go:635] ["full load and reset schema validator"] [2024/05/06 09:45:18.123 +00:00] [INFO] [ddl.go:818] ["start DDL"] [category=ddl] [ID=a3a3db9f-bbe1-49b8-8bb0-4835c656dd67] [runWorker=true] [2024/05/06 09:45:18.123 +00:00] [INFO] [ddl.go:777] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=true] [2024/05/06 09:45:18.123 +00:00] [WARN] [env.go:51] ["initialize environment failed"] [category=ddl-ingest] ["storage limitation"="only support TiKV storage"] ["current storage"=unistore] ["lightning is initialized"=false] [2024/05/06 09:45:18.123 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=mdlCheckLoop] [2024/05/06 09:45:18.123 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2024/05/06 09:45:18.123 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2024/05/06 09:45:18.123 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/06 09:45:18.123 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayStartLoop] [2024/05/06 09:45:18.123 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/06 09:45:18.123 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2024/05/06 09:45:18.123 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/06 09:45:18.123 +00:00] [WARN] [domain.go:1326] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/06 09:45:18.123 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/06 09:45:18.123 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/06 09:45:18.123 +00:00] [INFO] [runaway.go:149] ["try to start runaway manager loop"] [2024/05/06 09:45:18.123 +00:00] [INFO] [job_table.go:349] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2024/05/06 09:45:18.123 +00:00] [INFO] [delete_range.go:172] ["start delRange emulator"] [category=ddl] [2024/05/06 09:45:18.125 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2024/05/06 09:45:18.125 +00:00] [WARN] [sysvar_cache.go:49] ["sysvar cache is empty, triggering rebuild"] [2024/05/06 09:45:18.127 +00:00] [INFO] [sysvar.go:2748] ["set resource control"] [enable=true] [2024/05/06 09:45:18.127 +00:00] [INFO] [controller.go:447] ["[resource group controller] create resource group cost controller"] [name=default] [2024/05/06 09:45:18.135 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2024/05/06 09:45:18.136 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2024/05/06 09:45:18.137 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2024/05/06 09:45:18.137 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2024/05/06 09:45:18.137 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2024/05/06 09:45:18.137 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2024/05/06 09:45:18.137 +00:00] [INFO] [domain.go:2070] ["dumpFileGcChecker started"] [2024/05/06 09:45:18.137 +00:00] [INFO] [domain.go:2103] ["HistoricalStatsWorker started"] [2024/05/06 09:45:18.137 +00:00] [INFO] [domain.go:2016] ["PlanReplayerTaskCollectHandle started"] [2024/05/06 09:45:18.137 +00:00] [INFO] [domain.go:2038] ["PlanReplayerTaskDumpHandle started"] [2024/05/06 09:45:18.137 +00:00] [INFO] [plan_replayer.go:409] ["planReplayerTaskDumpWorker started."] [2024/05/06 09:45:18.138 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=indexUsageWorker] [2024/05/06 09:45:18.138 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=quitStatsOwner] [2024/05/06 09:45:18.138 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2024/05/06 09:45:18.138 +00:00] [INFO] [manager.go:113] ["build task executor manager"] [server-id=:4000] [total-cpu=16] [total-mem=342.3GiB] [2024/05/06 09:45:18.139 +00:00] [INFO] [task_manager.go:217] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=0] [newCount=4] [2024/05/06 09:45:18.139 +00:00] [INFO] [task_manager.go:217] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=0] [newCount=4] [2024/05/06 09:45:18.139 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2024/05/06 09:45:18.139 +00:00] [WARN] [misc.go:464] ["Automatic TLS Certificate creation is disabled"] [] [2024/05/06 09:45:18.139 +00:00] [INFO] [http_status.go:101] ["for status and metrics report"] ["listening on addr"=127.0.0.1:0] [2024/05/06 09:45:18.139 +00:00] [INFO] [manager.go:146] ["task executor manager start"] [server-id=:4000] [2024/05/06 09:45:18.139 +00:00] [INFO] [domain.go:1525] ["dist task executor manager started"] [2024/05/06 09:45:18.140 +00:00] [INFO] [server.go:308] ["server is running MySQL protocol"] [addr=127.0.0.1:0] [2024/05/06 09:45:19.125 +00:00] [INFO] [runaway.go:158] ["preparations for the runaway manager are finished and start runaway manager loop"] [2024/05/06 09:45:19.125 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2024/05/06 09:45:19.125 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2024/05/06 09:45:19.125 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayStartLoop] [2024/05/06 09:45:19.139 +00:00] [INFO] [runtime.go:160] ["TimerGroupRuntime loop started"] [groupID=ttl] [2024/05/06 09:45:19.139 +00:00] [INFO] [runtime.go:402] ["create watch chan if possible for timer runtime"] [groupID=ttl] [storeSupportWatch=true] [2024/05/06 09:45:19.140 +00:00] [INFO] [slots.go:205] ["initialize slot capacity"] [capacity=16] [2024/05/06 09:45:19.141 +00:00] [INFO] [scheduler_manager.go:200] ["schedule task loop start"] [server-id=:4000] [2024/05/06 09:45:19.141 +00:00] [INFO] [scheduler_manager.go:453] ["collect loop start"] [server-id=:4000] [2024/05/06 09:45:19.141 +00:00] [INFO] [scheduler_manager.go:312] ["subtask table gc loop start"] [server-id=:4000] [2024/05/06 09:45:19.141 +00:00] [INFO] [scheduler_manager.go:373] ["cleanup loop start"] [server-id=:4000] [2024/05/06 09:45:19.317 +00:00] [FATAL] [server_client.go:2512] ["failed to connect HTTP status in every 10 ms"] [retryTime=100] [stack="github.com/pingcap/tidb/pkg/server/internal/testserverclient.(*TestServerClient).WaitUntilServerOnline\n\tpkg/server/internal/testserverclient/server_client.go:2512\ngithub.com/pingcap/tidb/pkg/server/tests/servertestkit.CreateTidbTestSuiteWithCfg\n\tpkg/server/tests/servertestkit/testkit.go:86\ngithub.com/pingcap/tidb/pkg/server/tests/servertestkit.CreateTidbTestSuite\n\tpkg/server/tests/servertestkit/testkit.go:57\ngithub.com/pingcap/tidb/pkg/server/tests/servertestkit.CreateTidbTestTopSQLSuite\n\tpkg/server/tests/servertestkit/testkit.go:109\npkg/server/tests/commontest/commontest_test.TestTiDBIdleTransactionTimeout\n\tpkg/server/tests/commontest/tidb_test.go:2544\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595"] -- Coverage runner: Not collecting coverage for failed test. The following commands failed with status 1 /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/sandbox/linux-sandbox/13481/execroot/__main__/bazel-out/k8-fastbuild/bin/pkg/server/tests/commontest/commontest_test_/commontest_test.runfiles/__main__/pkg/server/tests/commontest/commontest_test_/commontest_test ================================================================================ [14,519 / 14,522] 409 / 411 tests; Testing //pkg/server/handler/tests:tests_test (shard 5 of 39); 44s remote-cache, linux-sandbox ... (6 actions running) [14,520 / 14,522] 409 / 411 tests; Testing //pkg/server/handler/tests:tests_test (shard 5 of 39); 46s remote-cache, linux-sandbox ... (4 actions running) FLAKY: //pkg/server/tests/commontest:commontest_test (Summary) /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/server/tests/commontest/commontest_test/shard_43_of_50/test_attempts/attempt_1.log [14,521 / 14,522] 410 / 411 tests; Testing //pkg/server/handler/tests:tests_test (shard 5 of 39); 49s remote-cache, linux-sandbox [14,521 / 14,522] 410 / 411 tests; Testing //pkg/server/handler/tests:tests_test (shard 5 of 39); 61s remote-cache, linux-sandbox [14,521 / 14,522] 411 / 411 tests; Testing //pkg/server/handler/tests:tests_test (shard 5 of 39); 67s remote-cache, linux-sandbox INFO: Elapsed time: 1487.131s, Critical Path: 521.69s INFO: 14510 processes: 4568 remote cache hit, 1657 internal, 8285 linux-sandbox. INFO: Build completed successfully, 14510 total actions //pkg/ddl/tests/partition:partition_test FLAKY, failed in 1 out of 46 in 33.6s Stats over 46 runs: max = 33.6s, min = 1.8s, avg = 5.4s, dev = 5.0s /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/tests/partition/partition_test/shard_45_of_45/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/tests/partition/partition_test/shard_44_of_45/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/tests/partition/partition_test/shard_43_of_45/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/tests/partition/partition_test/shard_42_of_45/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/tests/partition/partition_test/shard_41_of_45/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/tests/partition/partition_test/shard_40_of_45/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/tests/partition/partition_test/shard_39_of_45/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/tests/partition/partition_test/shard_38_of_45/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/tests/partition/partition_test/shard_37_of_45/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/tests/partition/partition_test/shard_36_of_45/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/tests/partition/partition_test/shard_35_of_45/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/tests/partition/partition_test/shard_34_of_45/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/tests/partition/partition_test/shard_33_of_45/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/tests/partition/partition_test/shard_32_of_45/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/tests/partition/partition_test/shard_31_of_45/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/tests/partition/partition_test/shard_1_of_45/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/tests/partition/partition_test/shard_30_of_45/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/tests/partition/partition_test/shard_2_of_45/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/tests/partition/partition_test/shard_29_of_45/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/tests/partition/partition_test/shard_3_of_45/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/tests/partition/partition_test/shard_4_of_45/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/tests/partition/partition_test/shard_5_of_45/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/tests/partition/partition_test/shard_6_of_45/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/tests/partition/partition_test/shard_7_of_45/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/tests/partition/partition_test/shard_8_of_45/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/tests/partition/partition_test/shard_28_of_45/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/tests/partition/partition_test/shard_9_of_45/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/tests/partition/partition_test/shard_27_of_45/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/tests/partition/partition_test/shard_10_of_45/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/tests/partition/partition_test/shard_26_of_45/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/tests/partition/partition_test/shard_11_of_45/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/tests/partition/partition_test/shard_12_of_45/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/tests/partition/partition_test/shard_25_of_45/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/tests/partition/partition_test/shard_13_of_45/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/tests/partition/partition_test/shard_14_of_45/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/tests/partition/partition_test/shard_15_of_45/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/tests/partition/partition_test/shard_16_of_45/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/tests/partition/partition_test/shard_17_of_45/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/tests/partition/partition_test/shard_18_of_45/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/tests/partition/partition_test/shard_19_of_45/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/tests/partition/partition_test/shard_24_of_45/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/tests/partition/partition_test/shard_20_of_45/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/tests/partition/partition_test/shard_22_of_45/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/tests/partition/partition_test/shard_21_of_45/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/tests/partition/partition_test/shard_23_of_45/coverage.dat //pkg/server/tests/commontest:commontest_test FLAKY, failed in 1 out of 51 in 17.3s Stats over 51 runs: max = 17.3s, min = 2.6s, avg = 4.8s, dev = 2.3s /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/server/tests/commontest/commontest_test/shard_7_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/server/tests/commontest/commontest_test/shard_5_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/server/tests/commontest/commontest_test/shard_4_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/server/tests/commontest/commontest_test/shard_23_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/server/tests/commontest/commontest_test/shard_17_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/server/tests/commontest/commontest_test/shard_8_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/server/tests/commontest/commontest_test/shard_13_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/server/tests/commontest/commontest_test/shard_44_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/server/tests/commontest/commontest_test/shard_15_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/server/tests/commontest/commontest_test/shard_21_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/server/tests/commontest/commontest_test/shard_22_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/server/tests/commontest/commontest_test/shard_2_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/server/tests/commontest/commontest_test/shard_24_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/server/tests/commontest/commontest_test/shard_18_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/server/tests/commontest/commontest_test/shard_50_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/server/tests/commontest/commontest_test/shard_9_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/server/tests/commontest/commontest_test/shard_14_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/server/tests/commontest/commontest_test/shard_10_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/server/tests/commontest/commontest_test/shard_6_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/server/tests/commontest/commontest_test/shard_16_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/server/tests/commontest/commontest_test/shard_1_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/server/tests/commontest/commontest_test/shard_3_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/server/tests/commontest/commontest_test/shard_19_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/server/tests/commontest/commontest_test/shard_27_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/server/tests/commontest/commontest_test/shard_26_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/server/tests/commontest/commontest_test/shard_37_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/server/tests/commontest/commontest_test/shard_20_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/server/tests/commontest/commontest_test/shard_25_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/server/tests/commontest/commontest_test/shard_34_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/server/tests/commontest/commontest_test/shard_33_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/server/tests/commontest/commontest_test/shard_29_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/server/tests/commontest/commontest_test/shard_11_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/server/tests/commontest/commontest_test/shard_12_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/server/tests/commontest/commontest_test/shard_40_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/server/tests/commontest/commontest_test/shard_42_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/server/tests/commontest/commontest_test/shard_38_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/server/tests/commontest/commontest_test/shard_45_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/server/tests/commontest/commontest_test/shard_47_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/server/tests/commontest/commontest_test/shard_48_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/server/tests/commontest/commontest_test/shard_41_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/server/tests/commontest/commontest_test/shard_35_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/server/tests/commontest/commontest_test/shard_30_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/server/tests/commontest/commontest_test/shard_39_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/server/tests/commontest/commontest_test/shard_46_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/server/tests/commontest/commontest_test/shard_28_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/server/tests/commontest/commontest_test/shard_49_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/server/tests/commontest/commontest_test/shard_36_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/server/tests/commontest/commontest_test/shard_43_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/server/tests/commontest/commontest_test/shard_32_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/server/tests/commontest/commontest_test/shard_31_of_50/coverage.dat //pkg/ddl:ddl_test FLAKY, failed in 2 out of 52 in 300.3s Stats over 52 runs: max = 300.3s, min = 16.2s, avg = 28.5s, dev = 38.8s /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_50_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_49_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_48_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_1_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_47_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_2_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_4_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_46_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_5_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_3_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_6_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_45_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_8_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_44_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_9_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_7_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_10_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_43_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_11_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_12_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_13_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_42_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_14_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_15_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_16_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_41_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_18_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_19_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_20_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_21_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_40_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_22_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_39_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_24_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_23_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_38_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_25_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_26_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_37_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_27_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_29_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_28_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_31_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_36_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_30_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_32_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_34_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_33_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_35_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_17_of_50/coverage.dat Test cases: finished with 7966 passing and 0 failing out of 7966 test cases Executed 294 out of 411 tests: 411 tests pass. root: /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs complete to collect bazel result.